diff --git a/data/fields/crossing.json b/data/fields/crossing.json index 03cd7efe..8a5496d3 100644 --- a/data/fields/crossing.json +++ b/data/fields/crossing.json @@ -1,5 +1,17 @@ { "key": "crossing", "type": "combo", - "label": "Type" + "label": "Type", + "options": [ + "traffic_signals", + "uncontrolled", + "unmarked" + ], + "strings": { + "options": { + "traffic_signals": "Crossing With Traffic Signals", + "uncontrolled": "Only Road Markings", + "unmarked": "No Road Markings or Traffic Signals" + } + } } diff --git a/data/fields/crossing/markings.json b/data/fields/crossing/markings.json new file mode 100644 index 00000000..83c5c2be --- /dev/null +++ b/data/fields/crossing/markings.json @@ -0,0 +1,24 @@ +{ + "key": "crossing:markings", + "type": "combo", + "label": "Crossing Markings", + "strings": { + "options": { + "zebra": "Longitudinal Bars", + "lines": "Transverse Lines", + "no": "Unmarked", + "ladder": "Ladder With Longitudinal Bars", + "dots": "Dotted Transverse Lines", + "dashes": "Dashed Transverse Lines", + "yes": "Marked Somehow", + "surface": "Surface Treatment Only", + "ladder:skewed": "Ladder With Diagonal Bars", + "pictograms": "Painted Pictograms", + "lines:paired": "Double Transverse Lines", + "zebra:double": "Triple-Four", + "zebra:paired": "Paired Longitudinal Bars", + "zebra:bicolour": "Longitudinal Bars With Alternating Colors", + "ladder:paired": "Ladder With Paired Longitudinal Bars" + } + } +} diff --git a/data/preset_categories/path.json b/data/preset_categories/path.json index d48958cd..2d42c082 100644 --- a/data/preset_categories/path.json +++ b/data/preset_categories/path.json @@ -4,7 +4,7 @@ "members": [ "highway/path", "highway/footway", - "highway/footway/marked", + "highway/footway/crossing/uncontrolled", "highway/footway/sidewalk", "highway/steps", "highway/cycleway", diff --git a/data/preset_defaults.json b/data/preset_defaults.json index f83cfd50..286b5b15 100644 --- a/data/preset_defaults.json +++ b/data/preset_defaults.json @@ -36,7 +36,8 @@ "point" ], "vertex": [ - "highway/crossing/marked", + "highway/crossing/traffic_signals", + "highway/crossing/uncontrolled", "highway/crossing/unmarked", "railway/level_crossing", "highway/traffic_signals", diff --git a/data/presets/highway/crossing/marked.json b/data/presets/highway/crossing/_marked.json similarity index 85% rename from data/presets/highway/crossing/marked.json rename to data/presets/highway/crossing/_marked.json index 3c248b50..9ec22411 100644 --- a/data/presets/highway/crossing/marked.json +++ b/data/presets/highway/crossing/_marked.json @@ -4,6 +4,7 @@ "crossing", "tactile_paving", "crossing/island", + "crossing/markings", "crossing_raised" ], "moreFields": [ @@ -25,5 +26,6 @@ "marked crossing", "crosswalk" ], - "name": "Marked Crosswalk" + "name": "Marked Crosswalk", + "searchable": false } diff --git a/data/presets/highway/crossing/_zebra.json b/data/presets/highway/crossing/_zebra.json index 23b0d728..87de5a7e 100644 --- a/data/presets/highway/crossing/_zebra.json +++ b/data/presets/highway/crossing/_zebra.json @@ -4,6 +4,7 @@ "crossing", "tactile_paving", "crossing/island", + "crossing/markings", "crossing_raised" ], "geometry": [ diff --git a/data/presets/highway/crossing/traffic_signals.json b/data/presets/highway/crossing/traffic_signals.json index fb0db84f..428406f2 100644 --- a/data/presets/highway/crossing/traffic_signals.json +++ b/data/presets/highway/crossing/traffic_signals.json @@ -4,6 +4,7 @@ "crossing", "tactile_paving", "crossing/island", + "crossing/markings", "crossing_raised", "button_operated", "traffic_signals/sound", diff --git a/data/presets/highway/crossing/_uncontrolled.json b/data/presets/highway/crossing/uncontrolled.json similarity index 86% rename from data/presets/highway/crossing/_uncontrolled.json rename to data/presets/highway/crossing/uncontrolled.json index de0914b3..1fb94225 100644 --- a/data/presets/highway/crossing/_uncontrolled.json +++ b/data/presets/highway/crossing/uncontrolled.json @@ -4,6 +4,7 @@ "crossing", "tactile_paving", "crossing/island", + "crossing/markings", "crossing_raised" ], "geometry": [ @@ -17,6 +18,5 @@ "key": "crossing", "value": "uncontrolled" }, - "name": "Marked Crosswalk", - "searchable": false + "name": "Marked Crosswalk" } diff --git a/data/presets/highway/cycleway/_crossing.json b/data/presets/highway/cycleway/_crossing.json index 3a8e6783..d2aab3cc 100644 --- a/data/presets/highway/cycleway/_crossing.json +++ b/data/presets/highway/cycleway/_crossing.json @@ -2,10 +2,11 @@ "icon": "temaki-cyclist_crosswalk", "fields": [ "crossing", - "access", "surface", "tactile_paving", - "crossing/island" + "crossing/island", + "crossing/markings", + "access" ], "geometry": [ "line" diff --git a/data/presets/highway/cycleway/crossing/_marked.json b/data/presets/highway/cycleway/crossing/_marked.json new file mode 100644 index 00000000..ba1ecf02 --- /dev/null +++ b/data/presets/highway/cycleway/crossing/_marked.json @@ -0,0 +1,27 @@ +{ + "icon": "temaki-cyclist_crosswalk", + "fields": [ + "crossing", + "surface", + "tactile_paving", + "crossing/island", + "crossing/markings", + "crossing_raised", + "access" + ], + "geometry": [ + "line" + ], + "tags": { + "highway": "cycleway", + "cycleway": "crossing", + "crossing": "marked" + }, + "reference": { + "key": "crossing", + "value": "marked" + }, + "matchScore": 0.95, + "name": "Marked Cycle Crossing", + "searchable": false +} diff --git a/data/presets/highway/cycleway/crossing/bicycle_foot.json b/data/presets/highway/cycleway/crossing/bicycle_foot.json index 5c1d3e1d..dcb3da15 100644 --- a/data/presets/highway/cycleway/crossing/bicycle_foot.json +++ b/data/presets/highway/cycleway/crossing/bicycle_foot.json @@ -9,11 +9,13 @@ "icon": "temaki-ped_cyclist_crosswalk", "fields": [ "crossing", - "access", "surface", "smoothness", "tactile_paving", - "crossing/island" + "crossing/island", + "crossing/markings", + "crossing_raised", + "access" ], "geometry": [ "line" diff --git a/data/presets/highway/cycleway/crossing/traffic_signals.json b/data/presets/highway/cycleway/crossing/traffic_signals.json new file mode 100644 index 00000000..fdf25df3 --- /dev/null +++ b/data/presets/highway/cycleway/crossing/traffic_signals.json @@ -0,0 +1,34 @@ +{ + "icon": "fas-biking", + "fields": [ + "crossing", + "surface", + "tactile_paving", + "crossing/island", + "crossing_raised", + "button_operated", + "traffic_signals/sound", + "traffic_signals/vibration", + "access" + ], + "geometry": [ + "line" + ], + "tags": { + "highway": "cycleway", + "cycleway": "crossing", + "crossing": "traffic_signals" + }, + "reference": { + "key": "crossing", + "value": "traffic_signals" + }, + "terms": [ + "cycle path crossing", + "cycleway crossing", + "bicycle crossing", + "bike crossing" + ], + "matchScore": 0.95, + "name": "Cycle Crossing With Traffic Signals" +} diff --git a/data/presets/highway/cycleway/crossing/marked.json b/data/presets/highway/cycleway/crossing/uncontrolled.json similarity index 76% rename from data/presets/highway/cycleway/crossing/marked.json rename to data/presets/highway/cycleway/crossing/uncontrolled.json index c469de35..8b6de765 100644 --- a/data/presets/highway/cycleway/crossing/marked.json +++ b/data/presets/highway/cycleway/crossing/uncontrolled.json @@ -2,10 +2,12 @@ "icon": "temaki-cyclist_crosswalk", "fields": [ "crossing", - "access", "surface", "tactile_paving", - "crossing/island" + "crossing/island", + "crossing/markings", + "crossing_raised", + "access" ], "geometry": [ "line" @@ -13,11 +15,11 @@ "tags": { "highway": "cycleway", "cycleway": "crossing", - "crossing": "marked" + "crossing": "uncontrolled" }, "reference": { "key": "crossing", - "value": "marked" + "value": "uncontrolled" }, "terms": [ "cycle crosswalk", diff --git a/data/presets/highway/cycleway/crossing/unmarked.json b/data/presets/highway/cycleway/crossing/unmarked.json index 11e69f6e..d3a3223c 100644 --- a/data/presets/highway/cycleway/crossing/unmarked.json +++ b/data/presets/highway/cycleway/crossing/unmarked.json @@ -2,10 +2,11 @@ "icon": "fas-biking", "fields": [ "crossing", - "access", "surface", "tactile_paving", - "crossing/island" + "crossing/island", + "crossing_raised", + "access" ], "geometry": [ "line" diff --git a/data/presets/highway/footway/_crossing.json b/data/presets/highway/footway/_crossing.json index 2b0a3f08..28447d56 100644 --- a/data/presets/highway/footway/_crossing.json +++ b/data/presets/highway/footway/_crossing.json @@ -1,10 +1,12 @@ { "fields": [ "crossing", - "access", "surface", "tactile_paving", - "crossing/island" + "crossing/island", + "crossing/markings", + "crossing_raised", + "access" ], "geometry": [ "line" diff --git a/data/presets/highway/footway/crossing/_marked.json b/data/presets/highway/footway/crossing/_marked.json new file mode 100644 index 00000000..78154a08 --- /dev/null +++ b/data/presets/highway/footway/crossing/_marked.json @@ -0,0 +1,29 @@ +{ + "icon": "temaki-pedestrian_crosswalk", + "fields": [ + "crossing", + "surface", + "tactile_paving", + "crossing/island", + "crossing/markings", + "crossing_raised", + "access" + ], + "moreFields": [ + "flashing_lights" + ], + "geometry": [ + "line" + ], + "tags": { + "highway": "footway", + "footway": "crossing", + "crossing": "marked" + }, + "reference": { + "key": "crossing", + "value": "marked" + }, + "name": "Marked Crossing", + "searchable": false +} diff --git a/data/presets/highway/footway/_zebra.json b/data/presets/highway/footway/crossing/_zebra.json similarity index 79% rename from data/presets/highway/footway/_zebra.json rename to data/presets/highway/footway/crossing/_zebra.json index 2ed5dfc5..ceeaab56 100644 --- a/data/presets/highway/footway/_zebra.json +++ b/data/presets/highway/footway/crossing/_zebra.json @@ -2,11 +2,12 @@ "icon": "temaki-pedestrian_crosswalk", "fields": [ "crossing", - "access", "surface", "tactile_paving", "crossing/island", - "crossing_raised" + "crossing/markings", + "crossing_raised", + "access" ], "geometry": [ "line" @@ -20,6 +21,6 @@ "key": "crossing", "value": "zebra" }, - "name": "Marked Crosswalk", + "name": "Marked Crossing", "searchable": false } diff --git a/data/presets/highway/footway/traffic_signals.json b/data/presets/highway/footway/crossing/traffic_signals.json similarity index 91% rename from data/presets/highway/footway/traffic_signals.json rename to data/presets/highway/footway/crossing/traffic_signals.json index 404108f3..cc519757 100644 --- a/data/presets/highway/footway/traffic_signals.json +++ b/data/presets/highway/footway/crossing/traffic_signals.json @@ -2,14 +2,15 @@ "icon": "temaki-railway_signals", "fields": [ "crossing", - "access", "surface", "tactile_paving", "crossing/island", + "crossing/markings", "crossing_raised", "button_operated", "traffic_signals/sound", - "traffic_signals/vibration" + "traffic_signals/vibration", + "access" ], "moreFields": [ "traffic_signals/arrow", diff --git a/data/presets/highway/footway/marked.json b/data/presets/highway/footway/crossing/uncontrolled.json similarity index 68% rename from data/presets/highway/footway/marked.json rename to data/presets/highway/footway/crossing/uncontrolled.json index 90fe6960..caa2a565 100644 --- a/data/presets/highway/footway/marked.json +++ b/data/presets/highway/footway/crossing/uncontrolled.json @@ -1,12 +1,13 @@ { - "icon": "temaki-pedestrian_crosswalk", + "icon": "temaki-pedestrian", "fields": [ "crossing", - "access", "surface", "tactile_paving", "crossing/island", - "crossing_raised" + "crossing/markings", + "crossing_raised", + "access" ], "moreFields": [ "flashing_lights" @@ -17,18 +18,18 @@ "tags": { "highway": "footway", "footway": "crossing", - "crossing": "marked" + "crossing": "uncontrolled" }, "reference": { "key": "crossing", - "value": "marked" + "value": "uncontrolled" }, "terms": [ "marked foot path crossing", - "marked crossing", + "marked crosswalk", "marked pedestrian crosswalk", "zebra crossing", "crosswalk" ], - "name": "Marked Crosswalk" + "name": "Marked Crossing" } diff --git a/data/presets/highway/footway/unmarked.json b/data/presets/highway/footway/crossing/unmarked.json similarity index 93% rename from data/presets/highway/footway/unmarked.json rename to data/presets/highway/footway/crossing/unmarked.json index 99a5bb35..3b24adc5 100644 --- a/data/presets/highway/footway/unmarked.json +++ b/data/presets/highway/footway/crossing/unmarked.json @@ -2,11 +2,11 @@ "icon": "temaki-pedestrian", "fields": [ "crossing", - "access", "surface", "tactile_paving", "crossing/island", - "crossing_raised" + "crossing_raised", + "access" ], "moreFields": [ "flashing_lights" diff --git a/data/presets/highway/footway/traffic_island.json b/data/presets/highway/footway/traffic_island.json new file mode 100644 index 00000000..a2d63173 --- /dev/null +++ b/data/presets/highway/footway/traffic_island.json @@ -0,0 +1,25 @@ +{ + "icon": "temaki-pedestrian", + "geometry": [ + "line" + ], + "tags": { + "footway": "traffic_island" + }, + "addTags": { + "highway": "footway", + "footway": "traffic_island" + }, + "reference": { + "key": "footway", + "value": "traffic_island" + }, + "terms": [ + "crossing island" + ], + "aliases": [ + "Crosswalk Island", + "Traffic Island" + ], + "name": "Refuge Island" +} diff --git a/data/presets/railway/crossing.json b/data/presets/railway/crossing.json index 6edf2e41..a258dc61 100644 --- a/data/presets/railway/crossing.json +++ b/data/presets/railway/crossing.json @@ -1,10 +1,14 @@ { "icon": "temaki-pedestrian", "fields": [ + "crossing", "crossing/barrier", "crossing/bell", "crossing/light" ], + "moreFields": [ + "crossing/markings" + ], "geometry": [ "vertex" ], diff --git a/interim/source_strings.yaml b/interim/source_strings.yaml index b37930fb..7b6101c9 100644 --- a/interim/source_strings.yaml +++ b/interim/source_strings.yaml @@ -758,6 +758,13 @@ en: crossing: # crossing=* label: Type + options: + # crossing=traffic_signals + traffic_signals: Crossing With Traffic Signals + # crossing=uncontrolled + uncontrolled: Only Road Markings + # crossing=unmarked + unmarked: No Road Markings or Traffic Signals crossing/barrier: # crossing:barrier=* label: Barrier Arm @@ -781,6 +788,41 @@ en: crossing/light: # crossing:light=* label: Lights + crossing/markings: + # crossing:markings=* + label: Crossing Markings + options: + # crossing:markings=dashes + dashes: Dashed Transverse Lines + # crossing:markings=dots + dots: Dotted Transverse Lines + # crossing:markings=ladder + ladder: Ladder With Longitudinal Bars + #paired': crossing:markings=ladder:paired + ladder:paired: Ladder With Paired Longitudinal Bars + #skewed': crossing:markings=ladder:skewed + ladder:skewed: Ladder With Diagonal Bars + # crossing:markings=lines + lines: Transverse Lines + #paired': crossing:markings=lines:paired + lines:paired: Double Transverse Lines + # crossing:markings=no + 'no': Unmarked + # crossing:markings=pictograms + pictograms: Painted Pictograms + # crossing:markings=surface + surface: Surface Treatment Only + # crossing:markings=yes + 'yes': Marked Somehow + # crossing:markings=zebra + zebra: Longitudinal Bars + #bicolour': crossing:markings=zebra:bicolour + zebra:bicolour: Longitudinal Bars With Alternating Colors + #double': crossing:markings=zebra:double + zebra:double: Triple-Four + #paired': crossing:markings=zebra:paired + zebra:paired: Paired Longitudinal Bars + terms: '[translate with synonyms or related terms for ''Crossing Markings'', separated by commas]' crossing_raised: # traffic_calming=* label: Raised @@ -6829,8 +6871,6 @@ en: highway/crossing/marked: # highway=crossing + crossing=marked | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key). name: Marked Crosswalk - # 'terms: zebra crossing,marked crossing,crosswalk' - terms: highway/crossing/traffic_signals: # highway=crossing + crossing=traffic_signals | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key). name: Crossing With Pedestrian Signals @@ -6839,6 +6879,7 @@ en: highway/crossing/uncontrolled: # highway=crossing + crossing=uncontrolled | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key). name: Marked Crosswalk + terms: highway/crossing/unmarked: # highway=crossing + crossing=unmarked | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key). name: Unmarked Crossing @@ -6868,6 +6909,14 @@ en: highway/cycleway/crossing/marked: # highway=cycleway + cycleway=crossing + crossing=marked | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key). name: Marked Cycle Crossing + highway/cycleway/crossing/traffic_signals: + # 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). + name: Cycle Crossing With Traffic Signals + # 'terms: cycle path crossing,cycleway crossing,bicycle crossing,bike crossing' + terms: + highway/cycleway/crossing/uncontrolled: + # highway=cycleway + cycleway=crossing + crossing=uncontrolled | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key). + name: Marked Cycle Crossing # 'terms: cycle crosswalk,cycle path crossing,cycleway crossing,bicycle crossing,bike crossing' terms: highway/cycleway/crossing/unmarked: @@ -6922,32 +6971,40 @@ en: highway/footway/crossing: # highway=footway + footway=crossing | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key). name: Pedestrian Crossing + highway/footway/crossing/marked: + # highway=footway + footway=crossing + crossing=marked | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key). + name: Marked Crossing + highway/footway/crossing/traffic_signals: + # 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). + name: Crossing With Pedestrian Signals + # 'terms: pedestrian traffic lights,pedestrian traffic signals,pedestrian crossing (lights),bicycle crossing (lights),crosswalk (lights)' + terms: + highway/footway/crossing/uncontrolled: + # highway=footway + footway=crossing + crossing=uncontrolled | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key). + name: Marked Crossing + # 'terms: marked foot path crossing,marked crosswalk,marked pedestrian crosswalk,zebra crossing,crosswalk' + terms: + highway/footway/crossing/unmarked: + # highway=footway + footway=crossing + crossing=unmarked | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key). + name: Unmarked Crossing + # 'terms: unmarked foot path crossing,unmarked crosswalk,unmarked pedestrian crossing' + terms: + highway/footway/crossing/zebra: + # highway=footway + footway=crossing + crossing=zebra | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key). + name: Marked Crossing highway/footway/informal: # highway=footway + informal=yes | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key). name: Informal Foot Path - highway/footway/marked: - # highway=footway + footway=crossing + crossing=marked | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key). - name: Marked Crosswalk - # 'terms: marked foot path crossing,marked crossing,marked pedestrian crosswalk,zebra crossing,crosswalk' - terms: highway/footway/sidewalk: # footway=sidewalk | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key). name: Sidewalk # 'terms: pavement,sidepath' terms: - highway/footway/traffic_signals: - # 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). - name: Crossing With Pedestrian Signals - # 'terms: pedestrian traffic lights,pedestrian traffic signals,pedestrian crossing (lights),bicycle crossing (lights),crosswalk (lights)' - terms: - highway/footway/unmarked: - # highway=footway + footway=crossing + crossing=unmarked | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key). - name: Unmarked Crossing - # 'terms: unmarked foot path crossing,unmarked crosswalk,unmarked pedestrian crossing' - terms: - highway/footway/zebra: - # highway=footway + footway=crossing + crossing=zebra | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key). - name: Marked Crosswalk + highway/footway/traffic_island: + # footway=traffic_island | Crosswalk Island, Traffic Island | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key). + name: Refuge Island + # 'terms: crossing island' + terms: highway/give_way: # highway=give_way | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key). name: Yield Sign