From 1e7577930a158cd46b586579d49b6b69072580d7 Mon Sep 17 00:00:00 2001 From: Martin Raifer Date: Wed, 22 Jun 2022 18:12:23 +0200 Subject: [PATCH] [regional] add support for moped links in the NL (#484) * adds NL-specific preset for "moped links" (highway=cycleway + bicycle=no + moped=designated) * drop deprecation rule for `highway=cycleway` + `bicycle=no` --- data/deprecated.json | 4 --- .../highway/cycleway/moped_link-NL.json | 35 +++++++++++++++++++ interim/source_strings.yaml | 4 +++ 3 files changed, 39 insertions(+), 4 deletions(-) create mode 100644 data/presets/highway/cycleway/moped_link-NL.json diff --git a/data/deprecated.json b/data/deprecated.json index 173bacf11..7f2401dcc 100644 --- a/data/deprecated.json +++ b/data/deprecated.json @@ -730,10 +730,6 @@ "old": {"highway": "bridleway", "horse": "no"}, "replace": {"highway": "path", "horse": "no"} }, - { - "old": {"highway": "cycleway", "bicycle": "no"}, - "replace": {"highway": "path", "bicycle": "no"} - }, { "old": {"highway": "cycleway", "cycleway": "track"}, "replace": {"highway": "cycleway"} diff --git a/data/presets/highway/cycleway/moped_link-NL.json b/data/presets/highway/cycleway/moped_link-NL.json new file mode 100644 index 000000000..cabf836e3 --- /dev/null +++ b/data/presets/highway/cycleway/moped_link-NL.json @@ -0,0 +1,35 @@ +{ + "locationSet": { + "include": [ + "nl" + ] + }, + "icon": "fas-moped", + "fields": [ + "name", + "oneway", + "surface", + "smoothness", + "width", + "structure", + "access", + "incline" + ], + "geometry": [ + "line" + ], + "tags": { + "highway": "cycleway", + "bicycle": "no", + "moped": "designated" + }, + "addTags": { + "highway": "cycleway", + "bicycle": "no", + "moped": "designated", + "foot": "no", + "mofa": "no" + }, + "matchScore": 0.9, + "name": "Moped Link" +} diff --git a/interim/source_strings.yaml b/interim/source_strings.yaml index 122ae509a..fe635de23 100644 --- a/interim/source_strings.yaml +++ b/interim/source_strings.yaml @@ -6065,6 +6065,10 @@ en: name: Unmarked Cycle Crossing # 'terms: cycle path crossing,cycleway crossing,bicycle crossing,bike crossing' terms: + highway/cycleway/moped_link-NL: + # highway=cycleway + bicycle=no + moped=designated | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key). + name: Moped Link + terms: highway/elevator: # highway=elevator | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key). name: Elevator