Skip to content

Commit 24b6fc8

Browse files
authored
Merge pull request #732 from openstreetmap/crossing_markings_defaults
2 parents 65142e0 + 50767c8 commit 24b6fc8

16 files changed

+82
-37
lines changed
+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"key": "crossing:markings",
3+
"type": "combo",
4+
"label": "{crossing/markings}",
5+
"stringsCrossReference": "{crossing/markings}",
6+
"default": "yes"
7+
}

data/presets/highway/crossing/_marked.json

+6-1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@
1717
"highway": "crossing",
1818
"crossing": "marked"
1919
},
20+
"addTags": {
21+
"highway": "crossing",
22+
"crossing": "marked",
23+
"crossing:markings": "yes"
24+
},
2025
"reference": {
2126
"key": "crossing",
2227
"value": "marked"
@@ -26,6 +31,6 @@
2631
"marked crossing",
2732
"crosswalk"
2833
],
29-
"name": "Marked Crosswalk",
34+
"name": "{highway/crossing/uncontrolled}",
3035
"searchable": false
3136
}

data/presets/highway/crossing/_zebra.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@
1818
"key": "crossing",
1919
"value": "zebra"
2020
},
21-
"name": "Marked Crosswalk",
21+
"name": "{highway/crossing/uncontrolled}",
2222
"searchable": false
2323
}

data/presets/highway/crossing/traffic_signals.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@
2828
},
2929
"name": "Crossing With Pedestrian Signals",
3030
"terms": [
31-
"pedestrian traffic lights",
32-
"pedestrian traffic signals",
33-
"pedestrian crossing (lights)",
3431
"bicycle crossing (lights)",
35-
"crosswalk (lights)"
32+
"crosswalk (lights)",
33+
"pedestrian crossing (lights)",
34+
"pedestrian traffic lights",
35+
"pedestrian traffic signals"
3636
]
3737
}

data/presets/highway/crossing/uncontrolled.json

+9-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"crossing",
55
"tactile_paving",
66
"crossing/island",
7-
"crossing/markings",
7+
"crossing/markings_yes",
88
"crossing_raised"
99
],
1010
"geometry": [
@@ -18,5 +18,12 @@
1818
"key": "crossing",
1919
"value": "uncontrolled"
2020
},
21-
"name": "Marked Crosswalk"
21+
"terms": [
22+
"marked foot path crossing",
23+
"marked crosswalk",
24+
"marked pedestrian crosswalk",
25+
"zebra crossing",
26+
"crosswalk"
27+
],
28+
"name": "Marked Crossing"
2229
}

data/presets/highway/crossing/unmarked.json

+6-1
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,18 @@
1616
"highway": "crossing",
1717
"crossing": "unmarked"
1818
},
19+
"addTags": {
20+
"highway": "crossing",
21+
"crossing": "unmarked",
22+
"crossing:markings": "no"
23+
},
1924
"reference": {
2025
"key": "crossing",
2126
"value": "unmarked"
2227
},
2328
"terms": [
24-
"unmarked foot path crossing",
2529
"unmarked crosswalk",
30+
"unmarked foot path crossing",
2631
"unmarked pedestrian crossing"
2732
],
2833
"name": "Unmarked Crossing"

data/presets/highway/cycleway/crossing/_marked.json

+7-1
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,17 @@
1717
"cycleway": "crossing",
1818
"crossing": "marked"
1919
},
20+
"addTags": {
21+
"highway": "cycleway",
22+
"cycleway": "crossing",
23+
"crossing": "marked",
24+
"crossing:markings": "yes"
25+
},
2026
"reference": {
2127
"key": "crossing",
2228
"value": "marked"
2329
},
2430
"matchScore": 0.95,
25-
"name": "Marked Cycle Crossing",
31+
"name": "{highway/cycleway/crossing/uncontrolled}",
2632
"searchable": false
2733
}

data/presets/highway/cycleway/crossing/traffic_signals.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@
2525
"value": "traffic_signals"
2626
},
2727
"terms": [
28-
"cycle path crossing",
29-
"cycleway crossing",
3028
"bicycle crossing",
31-
"bike crossing"
29+
"bike crossing",
30+
"cycle path crossing",
31+
"cycleway crossing"
3232
],
3333
"matchScore": 0.95,
3434
"name": "Cycle Crossing With Traffic Signals"

data/presets/highway/cycleway/crossing/uncontrolled.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"surface",
77
"tactile_paving",
88
"crossing/island",
9-
"crossing/markings",
9+
"crossing/markings_yes",
1010
"crossing_raised",
1111
"access"
1212
],

data/presets/highway/cycleway/crossing/unmarked.json

+9-3
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,21 @@
1616
"cycleway": "crossing",
1717
"crossing": "unmarked"
1818
},
19+
"addTags": {
20+
"highway": "cycleway",
21+
"cycleway": "crossing",
22+
"crossing": "unmarked",
23+
"crossing:markings": "no"
24+
},
1925
"reference": {
2026
"key": "crossing",
2127
"value": "unmarked"
2228
},
2329
"terms": [
24-
"cycle path crossing",
25-
"cycleway crossing",
30+
"bike crossing",
2631
"bicycle crossing",
27-
"bike crossing"
32+
"cycle path crossing",
33+
"cycleway crossing"
2834
],
2935
"matchScore": 0.95,
3036
"name": "Unmarked Cycle Crossing"

data/presets/highway/footway/crossing/_marked.json

+7-1
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,16 @@
2020
"footway": "crossing",
2121
"crossing": "marked"
2222
},
23+
"addTags": {
24+
"highway": "footway",
25+
"footway": "crossing",
26+
"crossing": "marked",
27+
"crossing:markings": "yes"
28+
},
2329
"reference": {
2430
"key": "crossing",
2531
"value": "marked"
2632
},
27-
"name": "Marked Crossing",
33+
"name": "{highway/footway/crossing/uncontrolled}",
2834
"searchable": false
2935
}

data/presets/highway/footway/crossing/_zebra.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@
2121
"key": "crossing",
2222
"value": "zebra"
2323
},
24-
"name": "Marked Crossing",
24+
"name": "{highway/footway/crossing/uncontrolled}",
2525
"searchable": false
2626
}

data/presets/highway/footway/crossing/traffic_signals.json

+2-3
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,9 @@
3131
},
3232
"name": "Crossing With Pedestrian Signals",
3333
"terms": [
34+
"crosswalk (lights)",
3435
"pedestrian traffic lights",
3536
"pedestrian traffic signals",
36-
"pedestrian crossing (lights)",
37-
"bicycle crossing (lights)",
38-
"crosswalk (lights)"
37+
"pedestrian crossing (lights)"
3938
]
4039
}

data/presets/highway/footway/crossing/uncontrolled.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"surface",
66
"tactile_paving",
77
"crossing/island",
8-
"crossing/markings",
8+
"crossing/markings_yes",
99
"crossing_raised",
1010
"access"
1111
],

data/presets/highway/footway/crossing/unmarked.json

+7-1
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,19 @@
1919
"footway": "crossing",
2020
"crossing": "unmarked"
2121
},
22+
"addTags": {
23+
"highway": "footway",
24+
"footway": "crossing",
25+
"crossing": "unmarked",
26+
"crossing:markings": "no"
27+
},
2228
"reference": {
2329
"key": "crossing",
2430
"value": "unmarked"
2531
},
2632
"terms": [
27-
"unmarked foot path crossing",
2833
"unmarked crosswalk",
34+
"unmarked foot path crossing",
2935
"unmarked pedestrian crossing"
3036
],
3137
"name": "Unmarked Crossing"

interim/source_strings.yaml

+11-13
Original file line numberDiff line numberDiff line change
@@ -996,6 +996,8 @@ en:
996996
#paired': crossing:markings=zebra:paired
997997
zebra:paired: Paired Longitudinal Bars
998998
terms: '[translate with synonyms or related terms for ''Crossing Markings'', separated by commas]'
999+
crossing/markings_yes:
1000+
# crossing:markings=*
9991001
crossing_raised:
10001002
# traffic_calming=*
10011003
label: Raised
@@ -7253,24 +7255,23 @@ en:
72537255
name: Crossing
72547256
highway/crossing/marked:
72557257
# highway=crossing + crossing=marked | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key).
7256-
name: Marked Crosswalk
72577258
highway/crossing/traffic_signals:
72587259
# highway=crossing + crossing=traffic_signals | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key).
72597260
name: Crossing With Pedestrian Signals
7260-
# 'terms: pedestrian traffic lights,pedestrian traffic signals,pedestrian crossing (lights),bicycle crossing (lights),crosswalk (lights)'
7261+
# 'terms: bicycle crossing (lights),crosswalk (lights),pedestrian crossing (lights),pedestrian traffic lights,pedestrian traffic signals'
72617262
terms: <translate with synonyms or related terms for 'Crossing With Pedestrian Signals', separated by commas>
72627263
highway/crossing/uncontrolled:
72637264
# highway=crossing + crossing=uncontrolled | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key).
7264-
name: Marked Crosswalk
7265-
terms: <translate with synonyms or related terms for 'Marked Crosswalk', separated by commas>
7265+
name: Marked Crossing
7266+
# 'terms: marked foot path crossing,marked crosswalk,marked pedestrian crosswalk,zebra crossing,crosswalk'
7267+
terms: <translate with synonyms or related terms for 'Marked Crossing', separated by commas>
72667268
highway/crossing/unmarked:
72677269
# highway=crossing + crossing=unmarked | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key).
72687270
name: Unmarked Crossing
7269-
# 'terms: unmarked foot path crossing,unmarked crosswalk,unmarked pedestrian crossing'
7271+
# 'terms: unmarked crosswalk,unmarked foot path crossing,unmarked pedestrian crossing'
72707272
terms: <translate with synonyms or related terms for 'Unmarked Crossing', separated by commas>
72717273
highway/crossing/zebra:
72727274
# highway=crossing + crossing=zebra | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key).
7273-
name: Marked Crosswalk
72747275
highway/cycleway:
72757276
# highway=cycleway | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key).
72767277
name: Cycle Path
@@ -7291,11 +7292,10 @@ en:
72917292
terms: <translate with synonyms or related terms for 'Cycle & Foot Crossing', separated by commas>
72927293
highway/cycleway/crossing/marked:
72937294
# highway=cycleway + cycleway=crossing + crossing=marked | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key).
7294-
name: Marked Cycle Crossing
72957295
highway/cycleway/crossing/traffic_signals:
72967296
# highway=cycleway + cycleway=crossing + crossing=traffic_signals | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key).
72977297
name: Cycle Crossing With Traffic Signals
7298-
# 'terms: cycle path crossing,cycleway crossing,bicycle crossing,bike crossing'
7298+
# 'terms: bicycle crossing,bike crossing,cycle path crossing,cycleway crossing'
72997299
terms: <translate with synonyms or related terms for 'Cycle Crossing With Traffic Signals', separated by commas>
73007300
highway/cycleway/crossing/uncontrolled:
73017301
# highway=cycleway + cycleway=crossing + crossing=uncontrolled | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key).
@@ -7305,7 +7305,7 @@ en:
73057305
highway/cycleway/crossing/unmarked:
73067306
# highway=cycleway + cycleway=crossing + crossing=unmarked | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key).
73077307
name: Unmarked Cycle Crossing
7308-
# 'terms: cycle path crossing,cycleway crossing,bicycle crossing,bike crossing'
7308+
# 'terms: bike crossing,bicycle crossing,cycle path crossing,cycleway crossing'
73097309
terms: <translate with synonyms or related terms for 'Unmarked Cycle Crossing', separated by commas>
73107310
highway/cycleway/moped_link-NL:
73117311
# highway=cycleway + bicycle=no + moped=designated | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key).
@@ -7356,11 +7356,10 @@ en:
73567356
name: Pedestrian Crossing
73577357
highway/footway/crossing/marked:
73587358
# highway=footway + footway=crossing + crossing=marked | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key).
7359-
name: Marked Crossing
73607359
highway/footway/crossing/traffic_signals:
73617360
# highway=footway + footway=crossing + crossing=traffic_signals | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key).
73627361
name: Crossing With Pedestrian Signals
7363-
# 'terms: pedestrian traffic lights,pedestrian traffic signals,pedestrian crossing (lights),bicycle crossing (lights),crosswalk (lights)'
7362+
# 'terms: crosswalk (lights),pedestrian traffic lights,pedestrian traffic signals,pedestrian crossing (lights)'
73647363
terms: <translate with synonyms or related terms for 'Crossing With Pedestrian Signals', separated by commas>
73657364
highway/footway/crossing/uncontrolled:
73667365
# highway=footway + footway=crossing + crossing=uncontrolled | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key).
@@ -7370,11 +7369,10 @@ en:
73707369
highway/footway/crossing/unmarked:
73717370
# highway=footway + footway=crossing + crossing=unmarked | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key).
73727371
name: Unmarked Crossing
7373-
# 'terms: unmarked foot path crossing,unmarked crosswalk,unmarked pedestrian crossing'
7372+
# 'terms: unmarked crosswalk,unmarked foot path crossing,unmarked pedestrian crossing'
73747373
terms: <translate with synonyms or related terms for 'Unmarked Crossing', separated by commas>
73757374
highway/footway/crossing/zebra:
73767375
# highway=footway + footway=crossing + crossing=zebra | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key).
7377-
name: Marked Crossing
73787376
highway/footway/informal:
73797377
# highway=footway + informal=yes | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key).
73807378
name: Informal Foot Path

0 commit comments

Comments
 (0)