crossing: Introduce @templates/crossing/defaults

This way we have the same fields in all crossing presets:
- "crossing"
- "tactile_paving"
- "crossing/island"

This change the order of things slightly for some footway, cycleway crossing where `surface` is now a bit lower, but that should not be a problem.
This commit is contained in:
Tobias 2024-04-24 16:26:55 +02:00
parent 89a1671c3f
commit ca2b2e5f7a
19 changed files with 42 additions and 55 deletions

View file

@ -0,0 +1,24 @@
{
"fields": [
"crossing",
"tactile_paving",
"crossing/island"
],
"geometry": [
"point",
"line"
],
"tags": {
"@template": "crossing/defaults"
},
"searchable": false,
"locationSet": {
"include": [
"999"
],
"exclude": [
"999"
]
},
"name": "{point}"
}

View file

@ -1,8 +1,6 @@
{
"fields": [
"crossing",
"tactile_paving",
"crossing/island",
"{@templates/crossing/defaults}",
"{@templates/crossing/markings}",
"crossing_raised"
],

View file

@ -1,9 +1,7 @@
{
"icon": "temaki-pedestrian_crosswalk",
"fields": [
"crossing",
"tactile_paving",
"crossing/island",
"{@templates/crossing/defaults}",
"{@templates/crossing/markings}",
"crossing_raised"
],

View file

@ -1,9 +1,7 @@
{
"icon": "temaki-pedestrian_crosswalk",
"fields": [
"crossing",
"tactile_paving",
"crossing/island",
"{@templates/crossing/defaults}",
"{@templates/crossing/markings}",
"crossing_raised"
],

View file

@ -1,9 +1,7 @@
{
"icon": "temaki-railway_signals",
"fields": [
"crossing",
"tactile_paving",
"crossing/island",
"{@templates/crossing/defaults}",
"{@templates/crossing/markings}",
"crossing_raised",
"button_operated",

View file

@ -1,9 +1,7 @@
{
"icon": "temaki-pedestrian_crosswalk",
"fields": [
"crossing",
"tactile_paving",
"crossing/island",
"{@templates/crossing/defaults}",
"{@templates/crossing/markings_yes}",
"crossing_raised"
],

View file

@ -1,9 +1,7 @@
{
"icon": "temaki-pedestrian",
"fields": [
"crossing",
"tactile_paving",
"crossing/island",
"{@templates/crossing/defaults}",
"crossing_raised"
],
"geometry": [

View file

@ -1,10 +1,8 @@
{
"icon": "temaki-cyclist_crosswalk",
"fields": [
"crossing",
"{@templates/crossing/defaults}",
"surface",
"tactile_paving",
"crossing/island",
"{@templates/crossing/markings}",
"access"
],

View file

@ -1,10 +1,8 @@
{
"icon": "temaki-cyclist_crosswalk",
"fields": [
"crossing",
"{@templates/crossing/defaults}",
"surface",
"tactile_paving",
"crossing/island",
"{@templates/crossing/markings}",
"crossing_raised",
"access"

View file

@ -11,11 +11,9 @@
"icon": "temaki-ped_cyclist_crosswalk",
"fields": [
"oneway",
"crossing",
"{@templates/crossing/defaults}",
"surface",
"smoothness",
"tactile_paving",
"crossing/island",
"{@templates/crossing/markings}",
"crossing_raised",
"access"

View file

@ -2,10 +2,8 @@
"icon": "fas-biking",
"fields": [
"oneway",
"crossing",
"{@templates/crossing/defaults}",
"surface",
"tactile_paving",
"crossing/island",
"{@templates/crossing/markings}",
"crossing_raised",
"button_operated",
@ -14,7 +12,6 @@
"access"
],
"moreFields": [
"tactile_paving"
],
"geometry": [
"line"

View file

@ -2,10 +2,8 @@
"icon": "temaki-cyclist_crosswalk",
"fields": [
"oneway",
"crossing",
"{@templates/crossing/defaults}",
"surface",
"tactile_paving",
"crossing/island",
"{@templates/crossing/markings_yes}",
"crossing_raised",
"access"

View file

@ -2,10 +2,8 @@
"icon": "fas-biking",
"fields": [
"oneway",
"crossing",
"{@templates/crossing/defaults}",
"surface",
"tactile_paving",
"crossing/island",
"crossing_raised",
"access"
],

View file

@ -1,9 +1,7 @@
{
"fields": [
"crossing",
"{@templates/crossing/defaults}",
"surface",
"tactile_paving",
"crossing/island",
"{@templates/crossing/markings}",
"crossing_raised",
"access"

View file

@ -1,10 +1,8 @@
{
"icon": "temaki-pedestrian_crosswalk",
"fields": [
"crossing",
"{@templates/crossing/defaults}",
"surface",
"tactile_paving",
"crossing/island",
"{@templates/crossing/markings}",
"crossing_raised",
"access"

View file

@ -1,10 +1,8 @@
{
"icon": "temaki-pedestrian_crosswalk",
"fields": [
"crossing",
"{@templates/crossing/defaults}",
"surface",
"tactile_paving",
"crossing/island",
"{@templates/crossing/markings}",
"crossing_raised",
"access"

View file

@ -1,10 +1,8 @@
{
"icon": "temaki-railway_signals",
"fields": [
"crossing",
"{@templates/crossing/defaults}",
"surface",
"tactile_paving",
"crossing/island",
"{@templates/crossing/markings}",
"crossing_raised",
"button_operated",

View file

@ -1,10 +1,8 @@
{
"icon": "temaki-pedestrian",
"fields": [
"crossing",
"{@templates/crossing/defaults}",
"surface",
"tactile_paving",
"crossing/island",
"{@templates/crossing/markings_yes}",
"crossing_raised",
"access"

View file

@ -1,10 +1,8 @@
{
"icon": "temaki-pedestrian",
"fields": [
"crossing",
"{@templates/crossing/defaults}",
"surface",
"tactile_paving",
"crossing/island",
"crossing_raised",
"access"
],