Refine the zebra crossing preset as per recent proposal
Some checks failed
Code Style Checks / Check file endings (push) Has been cancelled
Code Style Checks / Check for code formatting mistakes (push) Has been cancelled
Code Style Checks / Check for spelling errors (push) Has been cancelled

This commit is contained in:
Kyle Hensel 2025-05-25 09:26:50 +08:00
parent 7a3ca38093
commit 6b307dc279
No known key found for this signature in database
GPG key ID: A6481E3E38D544EC
3 changed files with 106 additions and 12 deletions

View file

@ -0,0 +1,15 @@
{
"key": "crossing:markings",
"type": "combo",
"label": "{crossing/markings}",
"autoSuggestions": false,
"default": "zebra",
"stringsCrossReference": "{crossing/markings}",
"iconsCrossReference": "{crossing/markings}",
"options": [
"zebra",
"zebra:double",
"zebra:paired",
"zebra:bicolour"
]
}

View file

@ -1,8 +1,7 @@
{
"icon": "temaki-pedestrian_crosswalk",
"fields": [
"crossing",
"{@templates/crossing/markings}",
"crossing/markings_zebra",
"{@templates/crossing/defaults}",
"tactile_paving"
],
@ -15,12 +14,74 @@
],
"tags": {
"highway": "crossing",
"crossing": "zebra"
"crossing": "uncontrolled",
"crossing_ref": "zebra"
},
"addTags": {
"highway": "crossing",
"crossing": "uncontrolled",
"crossing_ref": "zebra",
"crossing:markings": "zebra"
},
"reference": {
"key": "crossing",
"key": "crossing_ref",
"value": "zebra"
},
"name": "{highway/crossing/uncontrolled}",
"searchable": false
"name": "Zebra Crossing",
"locationSet": {
"include": [
"AD",
"AL",
"AT",
"AU",
"BA",
"BE",
"BG",
"BY",
"CH",
"CY",
"CZ",
"DE",
"DK",
"EE",
"ES",
"FI",
"FR",
"GR",
"HK",
"HR",
"HU",
"IE",
"IS",
"IT",
"JP",
"LI",
"LT",
"LU",
"LV",
"MC",
"MD",
"ME",
"MK",
"MT",
"NL",
"NO",
"NZ",
"PL",
"PT",
"RO",
"RS",
"RU",
"SE",
"SG",
"SI",
"SK",
"SM",
"TR",
"UA",
"UK",
"VA"
]
},
"matchScore": 1.01
}

View file

@ -1,8 +1,7 @@
{
"icon": "temaki-pedestrian_crosswalk",
"fields": [
"crossing",
"{@templates/crossing/markings}",
"crossing/markings_zebra",
"{@templates/crossing/defaults}",
"surface"
],
@ -16,12 +15,31 @@
"tags": {
"highway": "footway",
"footway": "crossing",
"crossing": "zebra"
"crossing": "uncontrolled",
"crossing_ref": "zebra"
},
"addTags": {
"highway": "footway",
"footway": "crossing",
"crossing": "uncontrolled",
"crossing_ref": "zebra",
"crossing:markings": "zebra"
},
"reference": {
"key": "crossing",
"key": "crossing_ref",
"value": "zebra"
},
"name": "{highway/footway/crossing/uncontrolled}",
"searchable": false
"name": "{highway/crossing/zebra}",
"locationSet": {
"include": [
"AU",
"HK",
"JP",
"NZ",
"Q46",
"RU",
"SG"
]
},
"matchScore": 1.01
}