From 34feabb1ce49386be23062f84d6bc1bfb6da53b4 Mon Sep 17 00:00:00 2001 From: Quincy Morgan Date: Tue, 19 Mar 2019 15:21:06 -0400 Subject: [PATCH] Add terms to footway crossing presets --- data/presets.yaml | 3 ++- data/presets/presets.json | 4 ++-- data/presets/presets/highway/footway/marked.json | 5 +++-- data/presets/presets/highway/footway/unmarked.json | 6 +++++- dist/locales/en.json | 4 ++-- 5 files changed, 14 insertions(+), 8 deletions(-) diff --git a/data/presets.yaml b/data/presets.yaml index f8eb0a825..f4a125262 100644 --- a/data/presets.yaml +++ b/data/presets.yaml @@ -4062,7 +4062,7 @@ en: highway/footway/marked: # 'footway=crossing, crossing=marked' name: Marked Crosswalk - # 'terms: zebra crossing,marked crossing,crosswalk' + # 'terms: marked foot path crossing,marked crossing,marked pedestrian crosswalk,zebra crossing' terms: '' highway/footway/marked-raised: # 'footway=crossing, crossing=marked, traffic_calming=table' @@ -4077,6 +4077,7 @@ en: highway/footway/unmarked: # footway=crossing name: Unmarked Crossing + # 'terms: unmarked foot path crossing,unmarked crosswalk,unmarked pedestrian crossing' terms: '' highway/footway/unmarked-raised: # 'footway=crossing, traffic_calming=table' diff --git a/data/presets/presets.json b/data/presets/presets.json index e77b9eba6..375e85b4c 100644 --- a/data/presets/presets.json +++ b/data/presets/presets.json @@ -433,10 +433,10 @@ "highway/footway/zebra": {"icon": "temaki-pedestrian", "fields": ["crossing", "access", "surface", "kerb", "tactile_paving"], "geometry": ["line"], "tags": {"highway": "footway", "footway": "crossing", "crossing": "zebra"}, "reference": {"key": "footway", "value": "crossing"}, "terms": ["zebra crossing", "marked crossing", "crosswalk"], "name": "Marked Crosswalk", "searchable": false}, "highway/footway/conveying": {"icon": "temaki-pedestrian", "fields": ["name", "conveying", "access_simple", "lit", "width", "wheelchair"], "geometry": ["line"], "terms": ["moving sidewalk", "autwalk", "skywalk", "travolator", "travelator", "travellator", "conveyor"], "tags": {"highway": "footway", "conveying": "*"}, "name": "Moving Walkway"}, "highway/footway/marked-raised": {"icon": "temaki-pedestrian", "fields": ["crossing", "access", "surface", "kerb", "tactile_paving"], "geometry": ["line"], "tags": {"footway": "crossing", "crossing": "marked", "traffic_calming": "table"}, "addTags": {"highway": "footway", "footway": "crossing", "crossing": "marked", "traffic_calming": "table"}, "removeTags": {"highway": "footway", "footway": "crossing", "crossing": "marked", "traffic_calming": "table"}, "reference": {"key": "traffic_calming", "value": "table"}, "terms": ["zebra crossing", "marked crossing", "crosswalk", "flat top", "hump", "speed", "slow"], "name": "Marked Crosswalk (Raised)"}, - "highway/footway/marked": {"icon": "temaki-pedestrian", "fields": ["crossing", "access", "surface", "kerb", "tactile_paving"], "geometry": ["line"], "tags": {"footway": "crossing", "crossing": "marked"}, "addTags": {"highway": "footway", "footway": "crossing", "crossing": "marked"}, "removeTags": {"highway": "footway", "footway": "crossing", "crossing": "marked"}, "reference": {"key": "footway", "value": "crossing"}, "terms": ["zebra crossing", "marked crossing", "crosswalk"], "name": "Marked Crosswalk"}, + "highway/footway/marked": {"icon": "temaki-pedestrian", "fields": ["crossing", "access", "surface", "kerb", "tactile_paving"], "geometry": ["line"], "tags": {"footway": "crossing", "crossing": "marked"}, "addTags": {"highway": "footway", "footway": "crossing", "crossing": "marked"}, "removeTags": {"highway": "footway", "footway": "crossing", "crossing": "marked"}, "reference": {"key": "footway", "value": "crossing"}, "terms": ["marked foot path crossing", "marked crossing", "marked pedestrian crosswalk", "zebra crossing"], "name": "Marked Crosswalk"}, "highway/footway/sidewalk": {"icon": "temaki-pedestrian", "geometry": ["line"], "tags": {"footway": "sidewalk"}, "addTags": {"highway": "footway", "footway": "sidewalk"}, "removeTags": {"highway": "footway", "footway": "sidewalk"}, "reference": {"key": "footway", "value": "sidewalk"}, "terms": ["pavement", "sidepath"], "name": "Sidewalk"}, "highway/footway/unmarked-raised": {"fields": ["crossing", "access", "surface", "kerb", "tactile_paving"], "geometry": ["line"], "tags": {"footway": "crossing", "traffic_calming": "table"}, "addTags": {"highway": "footway", "footway": "crossing", "crossing": "unmarked", "traffic_calming": "table"}, "removeTags": {"highway": "footway", "footway": "crossing", "crossing": "unmarked", "traffic_calming": "table"}, "reference": {"key": "traffic_calming", "value": "table"}, "terms": ["flat top", "hump", "speed", "slow"], "matchScore": 0.95, "name": "Unmarked Crossing (Raised)"}, - "highway/footway/unmarked": {"fields": ["crossing", "access", "surface", "kerb", "tactile_paving"], "geometry": ["line"], "tags": {"footway": "crossing"}, "addTags": {"highway": "footway", "footway": "crossing", "crossing": "unmarked"}, "removeTags": {"highway": "footway", "footway": "crossing", "crossing": "unmarked"}, "reference": {"key": "footway", "value": "crossing"}, "terms": [], "matchScore": 0.95, "name": "Unmarked Crossing"}, + "highway/footway/unmarked": {"fields": ["crossing", "access", "surface", "kerb", "tactile_paving"], "geometry": ["line"], "tags": {"footway": "crossing"}, "addTags": {"highway": "footway", "footway": "crossing", "crossing": "unmarked"}, "removeTags": {"highway": "footway", "footway": "crossing", "crossing": "unmarked"}, "reference": {"key": "footway", "value": "crossing"}, "terms": ["unmarked foot path crossing", "unmarked crosswalk", "unmarked pedestrian crossing"], "matchScore": 0.95, "name": "Unmarked Crossing"}, "highway/give_way": {"icon": "temaki-yield", "fields": ["direction_vertex"], "geometry": ["vertex"], "tags": {"highway": "give_way"}, "terms": ["give way", "yield", "sign"], "name": "Yield Sign"}, "highway/living_street": {"icon": "iD-highway-living-street", "fields": ["name", "oneway", "maxspeed", "lanes", "surface", "structure", "access"], "moreFields": ["cycleway", "maxheight", "covered", "junction_line", "lit", "smoothness", "oneway/bicycle"], "geometry": ["line"], "tags": {"highway": "living_street"}, "name": "Living Street"}, "highway/milestone": {"icon": "temaki-milestone", "geometry": ["point", "vertex"], "fields": ["distance", "direction_vertex"], "tags": {"highway": "milestone"}, "terms": ["milestone", "marker"], "name": "Highway Milestone"}, diff --git a/data/presets/presets/highway/footway/marked.json b/data/presets/presets/highway/footway/marked.json index f21c12a9a..9359378a4 100644 --- a/data/presets/presets/highway/footway/marked.json +++ b/data/presets/presets/highway/footway/marked.json @@ -29,9 +29,10 @@ "value": "crossing" }, "terms": [ - "zebra crossing", + "marked foot path crossing", "marked crossing", - "crosswalk" + "marked pedestrian crosswalk", + "zebra crossing" ], "name": "Marked Crosswalk" } diff --git a/data/presets/presets/highway/footway/unmarked.json b/data/presets/presets/highway/footway/unmarked.json index 97bf270d1..ec58bc258 100644 --- a/data/presets/presets/highway/footway/unmarked.json +++ b/data/presets/presets/highway/footway/unmarked.json @@ -26,7 +26,11 @@ "key": "footway", "value": "crossing" }, - "terms": [], + "terms": [ + "unmarked foot path crossing", + "unmarked crosswalk", + "unmarked pedestrian crossing" + ], "matchScore": 0.95, "name": "Unmarked Crossing" } diff --git a/dist/locales/en.json b/dist/locales/en.json index 4e3e920ff..2f924ad89 100644 --- a/dist/locales/en.json +++ b/dist/locales/en.json @@ -5672,7 +5672,7 @@ }, "highway/footway/marked": { "name": "Marked Crosswalk", - "terms": "zebra crossing,marked crossing,crosswalk" + "terms": "marked foot path crossing,marked crossing,marked pedestrian crosswalk,zebra crossing" }, "highway/footway/sidewalk": { "name": "Sidewalk", @@ -5684,7 +5684,7 @@ }, "highway/footway/unmarked": { "name": "Unmarked Crossing", - "terms": "" + "terms": "unmarked foot path crossing,unmarked crosswalk,unmarked pedestrian crossing" }, "highway/give_way": { "name": "Yield Sign",