From d702f0ea28a7b49cc9871c5c2ad04d2a6691c02c Mon Sep 17 00:00:00 2001 From: Quincy Morgan Date: Thu, 28 May 2020 09:34:34 -0400 Subject: [PATCH] Add more search terms to Cycle & Foot Path preset (re: #7252) --- data/presets.yaml | 2 +- data/presets/presets.json | 2 +- data/presets/presets/highway/cycleway/bicycle_foot.json | 2 ++ dist/locales/en.json | 2 +- 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/data/presets.yaml b/data/presets.yaml index 188d2f79b..142ef080d 100644 --- a/data/presets.yaml +++ b/data/presets.yaml @@ -5128,7 +5128,7 @@ en: highway/cycleway/bicycle_foot: # 'highway=cycleway, foot=designated' name: Cycle & Foot Path - # 'terms: bicycle and foot path,bike and pedestrian path,green way,greenway,mixed-use trail,multi-use trail,segregated trail,rail trail' + # 'terms: bicycle and foot path,bike and pedestrian path,green way,greenway,mixed-use trail,multi-use trail,segregated trail,shared path,shared use path,rail trail' terms: '' highway/cycleway/crossing: # cycleway=crossing diff --git a/data/presets/presets.json b/data/presets/presets.json index 3b7c09410..06f9bafb9 100644 --- a/data/presets/presets.json +++ b/data/presets/presets.json @@ -512,7 +512,7 @@ "highway/crossing/unmarked": {"icon": "temaki-pedestrian", "fields": ["crossing", "tactile_paving", "crossing/island"], "geometry": ["vertex"], "tags": {"highway": "crossing", "crossing": "unmarked"}, "addTags": {"highway": "crossing", "crossing": "unmarked"}, "reference": {"key": "crossing", "value": "unmarked"}, "terms": [], "name": "Unmarked Crossing"}, "highway/cycleway": {"icon": "fas-biking", "fields": ["name", "oneway", "surface", "width", "structure", "access", "incline"], "moreFields": ["covered", "dog", "lit", "maxspeed", "maxweight_bridge", "not/name", "smoothness", "stroller", "wheelchair"], "geometry": ["line"], "tags": {"highway": "cycleway"}, "terms": ["bicyle path", "bike path", "cycling path"], "name": "Cycle Path"}, "highway/cycleway/crossing": {"icon": "temaki-cyclist_crosswalk", "fields": ["crossing", "access", "surface", "tactile_paving", "crossing/island"], "geometry": ["line"], "tags": {"cycleway": "crossing"}, "addTags": {"highway": "cycleway", "cycleway": "crossing"}, "reference": {"key": "cycleway", "value": "crossing"}, "searchable": false, "matchScore": 0.95, "name": "Cycle Crossing"}, - "highway/cycleway/bicycle_foot": {"notCountryCodes": ["fr", "lt", "pl"], "icon": "temaki-pedestrian_and_cyclist", "fields": ["name", "segregated", "oneway", "surface", "width", "structure", "access", "incline"], "geometry": ["line"], "tags": {"highway": "cycleway", "foot": "designated"}, "addTags": {"highway": "cycleway", "foot": "designated", "bicycle": "designated"}, "terms": ["bicycle and foot path", "bike and pedestrian path", "green way", "greenway", "mixed-use trail", "multi-use trail", "segregated trail", "rail trail"], "matchScore": 0.9, "name": "Cycle & Foot Path"}, + "highway/cycleway/bicycle_foot": {"notCountryCodes": ["fr", "lt", "pl"], "icon": "temaki-pedestrian_and_cyclist", "fields": ["name", "segregated", "oneway", "surface", "width", "structure", "access", "incline"], "geometry": ["line"], "tags": {"highway": "cycleway", "foot": "designated"}, "addTags": {"highway": "cycleway", "foot": "designated", "bicycle": "designated"}, "terms": ["bicycle and foot path", "bike and pedestrian path", "green way", "greenway", "mixed-use trail", "multi-use trail", "segregated trail", "shared path", "shared use path", "rail trail"], "matchScore": 0.9, "name": "Cycle & Foot Path"}, "highway/cycleway/crossing/bicycle_foot": {"notCountryCodes": ["fr", "lt", "pl"], "icon": "temaki-ped_cyclist_crosswalk", "fields": ["crossing", "access", "surface", "tactile_paving", "crossing/island"], "geometry": ["line"], "tags": {"highway": "cycleway", "cycleway": "crossing", "foot": "designated"}, "addTags": {"highway": "cycleway", "cycleway": "crossing", "foot": "designated", "bicycle": "designated"}, "reference": {"key": "cycleway", "value": "crossing"}, "terms": ["bicycle and foot crosswalk", "bike and pedestrian crossing", "cycleway", "cycling", "cyclist"], "matchScore": 0.9, "name": "Cycle & Foot Crossing"}, "highway/cycleway/crossing/marked": {"icon": "temaki-cyclist_crosswalk", "fields": ["crossing", "access", "surface", "tactile_paving", "crossing/island"], "geometry": ["line"], "tags": {"highway": "cycleway", "cycleway": "crossing", "crossing": "marked"}, "reference": {"key": "cycleway", "value": "crossing"}, "terms": ["cycle crosswalk", "cycle path crossing", "cycleway crossing", "bicycle crossing", "bike crossing"], "matchScore": 0.95, "name": "Marked Cycle Crossing"}, "highway/cycleway/crossing/unmarked": {"icon": "fas-biking", "fields": ["crossing", "access", "surface", "tactile_paving", "crossing/island"], "geometry": ["line"], "tags": {"highway": "cycleway", "cycleway": "crossing", "crossing": "unmarked"}, "reference": {"key": "cycleway", "value": "crossing"}, "terms": ["cycle path crossing", "cycleway crossing", "bicycle crossing", "bike crossing"], "matchScore": 0.95, "name": "Unmarked Cycle Crossing"}, diff --git a/data/presets/presets/highway/cycleway/bicycle_foot.json b/data/presets/presets/highway/cycleway/bicycle_foot.json index b13779430..757ec3769 100644 --- a/data/presets/presets/highway/cycleway/bicycle_foot.json +++ b/data/presets/presets/highway/cycleway/bicycle_foot.json @@ -33,6 +33,8 @@ "mixed-use trail", "multi-use trail", "segregated trail", + "shared path", + "shared use path", "rail trail" ], "matchScore": 0.9, diff --git a/dist/locales/en.json b/dist/locales/en.json index 5415ee4c0..428adb624 100644 --- a/dist/locales/en.json +++ b/dist/locales/en.json @@ -7024,7 +7024,7 @@ }, "highway/cycleway/bicycle_foot": { "name": "Cycle & Foot Path", - "terms": "bicycle and foot path,bike and pedestrian path,green way,greenway,mixed-use trail,multi-use trail,segregated trail,rail trail" + "terms": "bicycle and foot path,bike and pedestrian path,green way,greenway,mixed-use trail,multi-use trail,segregated trail,shared path,shared use path,rail trail" }, "highway/cycleway/crossing/bicycle_foot": { "name": "Cycle & Foot Crossing",