mirror of
https://github.com/openstreetmap/id-tagging-schema.git
synced 2025-11-03 00:03:51 +01:00
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:
parent
6de5f5fde8
commit
3948e353ab
6 changed files with 87 additions and 0 deletions
26
data/fields/cycleway/both_lane.json
Normal file
26
data/fields/cycleway/both_lane.json
Normal 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": []
|
||||
}
|
||||
26
data/fields/cycleway/left_lane.json
Normal file
26
data/fields/cycleway/left_lane.json
Normal 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": []
|
||||
}
|
||||
26
data/fields/cycleway/right_lane.json
Normal file
26
data/fields/cycleway/right_lane.json
Normal 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": []
|
||||
}
|
||||
|
|
@ -15,6 +15,9 @@
|
|||
"charge_toll",
|
||||
"covered_no",
|
||||
"cycleway",
|
||||
"cycleway/both_lane",
|
||||
"cycleway/left_lane",
|
||||
"cycleway/right_lane",
|
||||
"expressway-US",
|
||||
"flood_prone",
|
||||
"incline",
|
||||
|
|
|
|||
|
|
@ -16,6 +16,9 @@
|
|||
"charge_toll",
|
||||
"covered_no",
|
||||
"cycleway",
|
||||
"cycleway/both_lane",
|
||||
"cycleway/left_lane",
|
||||
"cycleway/right_lane",
|
||||
"destination/symbol_oneway",
|
||||
"flood_prone",
|
||||
"incline",
|
||||
|
|
|
|||
|
|
@ -14,6 +14,9 @@
|
|||
"covered_no",
|
||||
"cycleway",
|
||||
"bicycle_road",
|
||||
"cycleway/both_lane",
|
||||
"cycleway/left_lane",
|
||||
"cycleway/right_lane",
|
||||
"cyclestreet-BE-NL",
|
||||
"flood_prone",
|
||||
"incline",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue