crossing: New approach with @templates/crossing/bicycle_more, adding segregated

The fields `oneway` and `access` are important for `highway=cycleway|path` crossings but not essential. They are more of a advanced user setup which should be visible when prev filled in but only added by users that read more about it before. They are moved to the `moreFields` for that reason.

The `segregated` is added here for the same reasons and because of it's importance for highway types that likely have bike traffic.
Ping https://github.com/openstreetmap/id-tagging-schema/issues/317

The `surface` and `smoothness` is extracted from the `@template` because it makes more sense to split them up in `fields` and `moreFields`. A templates adds too much abstraction in this case.
This commit is contained in:
Tobias 2024-04-25 05:39:41 +02:00
parent 8ca0db555c
commit 46ac97189c
18 changed files with 66 additions and 28 deletions

View file

@ -1,13 +1,14 @@
{
"fields": [
"moreFields": [
"oneway",
"access"
"access",
"segregated"
],
"geometry": [
"line"
],
"tags": {
"@template": "crossing/bicycle_relevance"
"@template": "crossing/bicycle_more"
},
"searchable": false,
"locationSet": {

View file

@ -4,7 +4,11 @@
"crossing",
"{@templates/crossing/markings}",
"{@templates/crossing/defaults}",
"{@templates/crossing/surfacequality}"
"surface"
],
"moreFields": [
"smoothness",
"{@templates/crossing/bicycle_more}"
],
"geometry": [
"line"

View file

@ -4,7 +4,11 @@
"crossing",
"{@templates/crossing/markings}",
"{@templates/crossing/defaults}",
"{@templates/crossing/surfacequality}"
"surface"
],
"moreFields": [
"smoothness",
"{@templates/crossing/bicycle_more}"
],
"geometry": [
"line"

View file

@ -13,7 +13,11 @@
"crossing",
"{@templates/crossing/markings}",
"{@templates/crossing/defaults}",
"{@templates/crossing/surfacequality}"
"surface"
],
"moreFields": [
"smoothness",
"{@templates/crossing/bicycle_more}"
],
"geometry": [
"line"

View file

@ -5,10 +5,12 @@
"{@templates/crossing/traffic_signal}",
"{@templates/crossing/markings}",
"{@templates/crossing/defaults}",
"{@templates/crossing/surfacequality}"
"surface"
],
"moreFields": [
"{@templates/crossing/traffic_signal_more}"
"{@templates/crossing/traffic_signal_more}",
"smoothness",
"{@templates/crossing/bicycle_more}"
],
"geometry": [
"line"

View file

@ -4,7 +4,11 @@
"crossing",
"{@templates/crossing/defaults}",
"{@templates/crossing/markings_yes}",
"{@templates/crossing/surfacequality}"
"surface"
],
"moreFields": [
"smoothness",
"{@templates/crossing/bicycle_more}"
],
"geometry": [
"line"

View file

@ -3,7 +3,11 @@
"fields": [
"crossing",
"{@templates/crossing/defaults}",
"{@templates/crossing/surfacequality}"
"surface"
],
"moreFields": [
"smoothness",
"{@templates/crossing/bicycle_more}"
],
"geometry": [
"line"

View file

@ -3,9 +3,10 @@
"crossing",
"{@templates/crossing/markings}",
"{@templates/crossing/defaults}",
"{@templates/crossing/surfacequality}"
"surface"
],
"moreFields": [
"smoothness",
"flashing_lights"
],
"geometry": [

View file

@ -4,9 +4,10 @@
"crossing",
"{@templates/crossing/markings}",
"{@templates/crossing/defaults}",
"{@templates/crossing/surfacequality}"
"surface"
],
"moreFields": [
"smoothness",
"flashing_lights"
],
"geometry": [

View file

@ -4,7 +4,10 @@
"crossing",
"{@templates/crossing/markings}",
"{@templates/crossing/defaults}",
"{@templates/crossing/surfacequality}"
"surface"
],
"moreFields": [
"smoothness",
],
"geometry": [
"line"

View file

@ -5,10 +5,11 @@
"{@templates/crossing/traffic_signal}",
"{@templates/crossing/markings}",
"{@templates/crossing/defaults}",
"{@templates/crossing/surfacequality}"
"surface"
],
"moreFields": [
"{@templates/crossing/traffic_signal_more}"
"{@templates/crossing/traffic_signal_more}",
"smoothness",
],
"geometry": [
"line"

View file

@ -4,9 +4,10 @@
"crossing",
"{@templates/crossing/markings_yes}",
"{@templates/crossing/defaults}",
"{@templates/crossing/surfacequality}"
"surface"
],
"moreFields": [
"smoothness",
"flashing_lights"
],
"geometry": [

View file

@ -3,9 +3,10 @@
"fields": [
"crossing",
"{@templates/crossing/defaults}",
"{@templates/crossing/surfacequality}"
"surface"
],
"moreFields": [
"smoothness",
"flashing_lights"
],
"geometry": [

View file

@ -4,8 +4,11 @@
"crossing",
"{@templates/crossing/markings}",
"{@templates/crossing/defaults}",
"{@templates/crossing/surfacequality}",
"{@templates/crossing/bicycle_relevance}"
"surface"
],
"moreFields": [
"smoothness",
"{@templates/crossing/bicycle_more}",
],
"geometry": [
"line"

View file

@ -4,10 +4,11 @@
"crossing",
"{@templates/crossing/markings}",
"{@templates/crossing/defaults}",
"{@templates/crossing/surfacequality}",
"{@templates/crossing/bicycle_relevance}"
"surface"
],
"moreFields": [
"smoothness",
"{@templates/crossing/bicycle_more}",
"flashing_lights"
],
"geometry": [

View file

@ -5,11 +5,12 @@
"{@templates/crossing/traffic_signal}",
"{@templates/crossing/markings}",
"{@templates/crossing/defaults}",
"{@templates/crossing/surfacequality}",
"{@templates/crossing/bicycle_relevance}"
"surface"
],
"moreFields": [
"{@templates/crossing/traffic_signal_more}"
"{@templates/crossing/traffic_signal_more}",
"smoothness",
"{@templates/crossing/bicycle_more}",
],
"geometry": [
"line"

View file

@ -4,10 +4,11 @@
"crossing",
"{@templates/crossing/markings_yes}",
"{@templates/crossing/defaults}",
"{@templates/crossing/surfacequality}",
"{@templates/crossing/bicycle_relevance}"
"surface"
],
"moreFields": [
"smoothness",
"{@templates/crossing/bicycle_more}",
"flashing_lights"
],
"geometry": [

View file

@ -3,10 +3,11 @@
"fields": [
"crossing",
"{@templates/crossing/defaults}",
"{@templates/crossing/surfacequality}",
"{@templates/crossing/bicycle_relevance}"
"surface"
],
"moreFields": [
"smoothness",
"{@templates/crossing/bicycle_more}",
"flashing_lights"
],
"geometry": [