crossing: Introduce highway=path+path=crossing fields

All fields are unsearchable (for now) so we can learn how to name properly.

The names are adapted from `presets/highway/cycleway/crossing/bicycle_foot.json`.

The terms are removed because the presets are unsearchable.
This commit is contained in:
Tobias 2024-04-24 17:07:16 +02:00
parent cd56a0db32
commit 30a8be932d
5 changed files with 136 additions and 0 deletions

View file

@ -0,0 +1,24 @@
{
"icon": "temaki-cyclist_crosswalk",
"fields": [
"{@templates/crossing/markings}",
"{@templates/crossing/defaults}",
"{@templates/crossing/geometry_line}"
],
"geometry": [
"line"
],
"tags": {
"path": "crossing"
},
"addTags": {
"highway": "path",
"path": "crossing"
},
"reference": {
"key": "path",
"value": "crossing"
},
"searchable": false,
"name": "Cycle & Foot Crossing"
}

View file

@ -0,0 +1,31 @@
{
"icon": "temaki-pedestrian_crosswalk",
"fields": [
"{@templates/crossing/markings}",
"{@templates/crossing/defaults}",
"{@templates/crossing/geometry_line}"
],
"moreFields": [
"flashing_lights"
],
"geometry": [
"line"
],
"tags": {
"highway": "path",
"path": "crossing",
"crossing": "marked"
},
"addTags": {
"highway": "path",
"path": "crossing",
"crossing": "marked",
"crossing:markings": "yes"
},
"reference": {
"key": "crossing",
"value": "marked"
},
"name": "{highway/path/crossing/uncontrolled}",
"searchable": false
}

View file

@ -0,0 +1,26 @@
{
"icon": "temaki-railway_signals",
"fields": [
"{@templates/crossing/markings}",
"{@templates/crossing/defaults}",
"{@templates/crossing/traffic_signal}",
"{@templates/crossing/geometry_line}"
],
"moreFields": [
"{@templates/crossing/traffic_signal_more}"
],
"geometry": [
"line"
],
"tags": {
"highway": "path",
"path": "crossing",
"crossing": "traffic_signals"
},
"reference": {
"key": "crossing",
"value": "traffic_signals"
},
"name": "Crossing Cycle & Foot With Pedestrian Signals",
"searchable": false
}

View file

@ -0,0 +1,25 @@
{
"icon": "temaki-pedestrian",
"fields": [
"{@templates/crossing/defaults}",
"{@templates/crossing/markings_yes}",
"{@templates/crossing/geometry_line}"
],
"moreFields": [
"flashing_lights"
],
"geometry": [
"line"
],
"tags": {
"highway": "path",
"path": "crossing",
"crossing": "uncontrolled"
},
"reference": {
"key": "crossing",
"value": "uncontrolled"
},
"name": "Marked Cycle & Foot Crossing",
"searchable": false
}

View file

@ -0,0 +1,30 @@
{
"icon": "temaki-pedestrian",
"fields": [
"{@templates/crossing/defaults}",
"{@templates/crossing/geometry_line}"
],
"moreFields": [
"flashing_lights"
],
"geometry": [
"line"
],
"tags": {
"highway": "path",
"path": "crossing",
"crossing": "unmarked"
},
"addTags": {
"highway": "path",
"path": "crossing",
"crossing": "unmarked",
"crossing:markings": "no"
},
"reference": {
"key": "crossing",
"value": "unmarked"
},
"name": "Unmarked Cycle & Foot Crossing",
"searchable": false
}