Skip to content

Commit e6bfa88

Browse files
committed
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.
1 parent 26abac8 commit e6bfa88

File tree

6 files changed

+87
-0
lines changed

6 files changed

+87
-0
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"key": "cycleway:both:lane",
3+
"prerequisiteTag": {
4+
"key": "cycleway:both",
5+
"value": "lane"
6+
},
7+
"type": "combo",
8+
"label": "Cycle Lane Type (Both)",
9+
"strings": {
10+
"options": {
11+
"exclusive": {
12+
"title": "Exclusive cycle lane",
13+
"description": "A cycle lane strictly reserved exclusively for cyclists, segregated from the car lanes, usually through a continuous line."
14+
},
15+
"advisory": {
16+
"title": "Advisory cycle lane",
17+
"description": "A cycle lane which is not reserved exclusively for cyclists."
18+
}
19+
}
20+
},
21+
"autoSuggestions": false,
22+
"reference": {
23+
"key": "cycleway:lane"
24+
},
25+
"terms": []
26+
}
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"key": "cycleway:left:lane",
3+
"prerequisiteTag": {
4+
"key": "cycleway:left",
5+
"value": "lane"
6+
},
7+
"type": "combo",
8+
"label": "Cycle Lane Type (Left)",
9+
"strings": {
10+
"options": {
11+
"exclusive": {
12+
"title": "Exclusive cycle lane",
13+
"description": "A cycle lane strictly reserved exclusively for cyclists, segregated from the car lanes, usually through a continuous line."
14+
},
15+
"advisory": {
16+
"title": "Advisory cycle lane",
17+
"description": "A cycle lane which is not reserved exclusively for cyclists."
18+
}
19+
}
20+
},
21+
"autoSuggestions": false,
22+
"reference": {
23+
"key": "cycleway:lane"
24+
},
25+
"terms": []
26+
}
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"key": "cycleway:right:lane",
3+
"prerequisiteTag": {
4+
"key": "cycleway:right",
5+
"value": "lane"
6+
},
7+
"type": "combo",
8+
"label": "Cycle Lane Type (Right)",
9+
"strings": {
10+
"options": {
11+
"exclusive": {
12+
"title": "Exclusive cycle lane",
13+
"description": "A cycle lane strictly reserved exclusively for cyclists, segregated from the car lanes, usually through a continuous line."
14+
},
15+
"advisory": {
16+
"title": "Advisory cycle lane",
17+
"description": "A cycle lane which is not reserved exclusively for cyclists."
18+
}
19+
}
20+
},
21+
"autoSuggestions": false,
22+
"reference": {
23+
"key": "cycleway:lane"
24+
},
25+
"terms": []
26+
}

data/presets/highway/primary.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@
1515
"charge_toll",
1616
"covered_no",
1717
"cycleway",
18+
"cycleway/both_lane",
19+
"cycleway/left_lane",
20+
"cycleway/right_lane",
1821
"expressway-US",
1922
"flood_prone",
2023
"incline",

data/presets/highway/primary_link.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@
1616
"charge_toll",
1717
"covered_no",
1818
"cycleway",
19+
"cycleway/both_lane",
20+
"cycleway/left_lane",
21+
"cycleway/right_lane",
1922
"destination/symbol_oneway",
2023
"flood_prone",
2124
"incline",

data/presets/highway/residential.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@
1414
"covered_no",
1515
"cycleway",
1616
"bicycle_road",
17+
"cycleway/both_lane",
18+
"cycleway/left_lane",
19+
"cycleway/right_lane",
1720
"cyclestreet-BE-NL",
1821
"flood_prone",
1922
"incline",

0 commit comments

Comments
 (0)