Test cycleway_lane tagging with separate fields

We might want to use a directionalCombo for this. However, that would suggest to tag data for cycleway:left:lane=* when in fact there is no cycleway:left=lane. This tries to work around this by adding separate fields with re-conditions.
This commit is contained in:
Tobias 2024-04-29 22:09:15 +02:00
parent 6de5f5fde8
commit 3948e353ab
6 changed files with 87 additions and 0 deletions

View file

@ -0,0 +1,26 @@
{
"key": "cycleway:both:lane",
"prerequisiteTag": {
"key": "cycleway:both",
"value": "lane"
},
"type": "combo",
"label": "Cycle Lane Type (Both)",
"strings": {
"options": {
"exclusive": {
"title": "Exclusive cycle lane",
"description": "A cycle lane strictly reserved exclusively for cyclists, segregated from the car lanes, usually through a continuous line."
},
"advisory": {
"title": "Advisory cycle lane",
"description": "A cycle lane which is not reserved exclusively for cyclists."
}
}
},
"autoSuggestions": false,
"reference": {
"key": "cycleway:lane"
},
"terms": []
}

View file

@ -0,0 +1,26 @@
{
"key": "cycleway:left:lane",
"prerequisiteTag": {
"key": "cycleway:left",
"value": "lane"
},
"type": "combo",
"label": "Cycle Lane Type (Left)",
"strings": {
"options": {
"exclusive": {
"title": "Exclusive cycle lane",
"description": "A cycle lane strictly reserved exclusively for cyclists, segregated from the car lanes, usually through a continuous line."
},
"advisory": {
"title": "Advisory cycle lane",
"description": "A cycle lane which is not reserved exclusively for cyclists."
}
}
},
"autoSuggestions": false,
"reference": {
"key": "cycleway:lane"
},
"terms": []
}

View file

@ -0,0 +1,26 @@
{
"key": "cycleway:right:lane",
"prerequisiteTag": {
"key": "cycleway:right",
"value": "lane"
},
"type": "combo",
"label": "Cycle Lane Type (Right)",
"strings": {
"options": {
"exclusive": {
"title": "Exclusive cycle lane",
"description": "A cycle lane strictly reserved exclusively for cyclists, segregated from the car lanes, usually through a continuous line."
},
"advisory": {
"title": "Advisory cycle lane",
"description": "A cycle lane which is not reserved exclusively for cyclists."
}
}
},
"autoSuggestions": false,
"reference": {
"key": "cycleway:lane"
},
"terms": []
}

View file

@ -15,6 +15,9 @@
"charge_toll",
"covered_no",
"cycleway",
"cycleway/both_lane",
"cycleway/left_lane",
"cycleway/right_lane",
"expressway-US",
"flood_prone",
"incline",

View file

@ -16,6 +16,9 @@
"charge_toll",
"covered_no",
"cycleway",
"cycleway/both_lane",
"cycleway/left_lane",
"cycleway/right_lane",
"destination/symbol_oneway",
"flood_prone",
"incline",

View file

@ -14,6 +14,9 @@
"covered_no",
"cycleway",
"bicycle_road",
"cycleway/both_lane",
"cycleway/left_lane",
"cycleway/right_lane",
"cyclestreet-BE-NL",
"flood_prone",
"incline",