crossing: Introduce @templates/crossing/geometry_line

This streamlines the fields on all line geometry crossings.
- "oneway"
- "surface"
- "smoothness"
- "crossing_raised"
- "access"

Those fields are always the last in the list. For traffic signal those specific fields are put above. Which is also the only change for one vertex preset in this commit, to have the "crossing_raised" come after the traffic signal specific fields and so the order is the same across presets.

This will roll out the smoothness field for all crossings; it was previously only present in some. But given the importance of smoothness for accessibility I think that is OK. This commit also moves the surface (and smoothness where present) fields further down the list which reduces the priority a bit.

The biggest change in priority is the oneway-field which had the first position before and now is below the defaults- and markings-field.
This commit is contained in:
Tobias 2024-04-24 16:54:32 +02:00
parent ca2b2e5f7a
commit e47e4d6325
14 changed files with 39 additions and 42 deletions

View file

@ -0,0 +1,25 @@
{
"fields": [
"oneway",
"surface",
"smoothness",
"crossing_raised",
"access"
],
"geometry": [
"point"
],
"tags": {
"@template": "crossing/geometry_line"
},
"searchable": false,
"locationSet": {
"include": [
"999"
],
"exclude": [
"999"
]
},
"name": "{point}"
}

View file

@ -3,10 +3,10 @@
"fields": [
"{@templates/crossing/defaults}",
"{@templates/crossing/markings}",
"crossing_raised",
"button_operated",
"traffic_signals/sound",
"traffic_signals/vibration"
"traffic_signals/vibration",
"crossing_raised"
],
"moreFields": [
"kerb",

View file

@ -2,9 +2,8 @@
"icon": "temaki-cyclist_crosswalk",
"fields": [
"{@templates/crossing/defaults}",
"surface",
"{@templates/crossing/markings}",
"access"
"{@templates/crossing/geometry_line}"
],
"geometry": [
"line"

View file

@ -2,10 +2,8 @@
"icon": "temaki-cyclist_crosswalk",
"fields": [
"{@templates/crossing/defaults}",
"surface",
"{@templates/crossing/markings}",
"crossing_raised",
"access"
"{@templates/crossing/geometry_line}"
],
"geometry": [
"line"

View file

@ -10,13 +10,9 @@
},
"icon": "temaki-ped_cyclist_crosswalk",
"fields": [
"oneway",
"{@templates/crossing/defaults}",
"surface",
"smoothness",
"{@templates/crossing/markings}",
"crossing_raised",
"access"
"{@templates/crossing/geometry_line}"
],
"geometry": [
"line"

View file

@ -1,15 +1,12 @@
{
"icon": "fas-biking",
"fields": [
"oneway",
"{@templates/crossing/defaults}",
"surface",
"{@templates/crossing/markings}",
"crossing_raised",
"button_operated",
"traffic_signals/sound",
"traffic_signals/vibration",
"access"
"{@templates/crossing/geometry_line}"
],
"moreFields": [
],

View file

@ -1,12 +1,9 @@
{
"icon": "temaki-cyclist_crosswalk",
"fields": [
"oneway",
"{@templates/crossing/defaults}",
"surface",
"{@templates/crossing/markings_yes}",
"crossing_raised",
"access"
"{@templates/crossing/geometry_line}"
],
"geometry": [
"line"

View file

@ -1,11 +1,8 @@
{
"icon": "fas-biking",
"fields": [
"oneway",
"{@templates/crossing/defaults}",
"surface",
"crossing_raised",
"access"
"{@templates/crossing/geometry_line}"
],
"geometry": [
"line"

View file

@ -1,10 +1,8 @@
{
"fields": [
"{@templates/crossing/defaults}",
"surface",
"{@templates/crossing/markings}",
"crossing_raised",
"access"
"{@templates/crossing/geometry_line}"
],
"moreFields": [
"flashing_lights"

View file

@ -2,10 +2,8 @@
"icon": "temaki-pedestrian_crosswalk",
"fields": [
"{@templates/crossing/defaults}",
"surface",
"{@templates/crossing/markings}",
"crossing_raised",
"access"
"{@templates/crossing/geometry_line}"
],
"moreFields": [
"flashing_lights"

View file

@ -2,10 +2,8 @@
"icon": "temaki-pedestrian_crosswalk",
"fields": [
"{@templates/crossing/defaults}",
"surface",
"{@templates/crossing/markings}",
"crossing_raised",
"access"
"{@templates/crossing/geometry_line}"
],
"geometry": [
"line"

View file

@ -2,13 +2,11 @@
"icon": "temaki-railway_signals",
"fields": [
"{@templates/crossing/defaults}",
"surface",
"{@templates/crossing/markings}",
"crossing_raised",
"button_operated",
"traffic_signals/sound",
"traffic_signals/vibration",
"access"
"{@templates/crossing/geometry_line}"
],
"moreFields": [
"traffic_signals/arrow",

View file

@ -2,10 +2,8 @@
"icon": "temaki-pedestrian",
"fields": [
"{@templates/crossing/defaults}",
"surface",
"{@templates/crossing/markings_yes}",
"crossing_raised",
"access"
"{@templates/crossing/geometry_line}"
],
"moreFields": [
"flashing_lights"

View file

@ -2,9 +2,7 @@
"icon": "temaki-pedestrian",
"fields": [
"{@templates/crossing/defaults}",
"surface",
"crossing_raised",
"access"
"{@templates/crossing/geometry_line}"
],
"moreFields": [
"flashing_lights"