From 86d727491d2a3e8542ebf80aaa748851510b8c03 Mon Sep 17 00:00:00 2001 From: Quincy Morgan Date: Mon, 24 Sep 2018 22:16:34 -0700 Subject: [PATCH] Adds the Lowered Kerb preset --- data/presets.yaml | 5 ++++ data/presets/presets.json | 1 + .../presets/presets/barrier/kerb/lowered.json | 27 +++++++++++++++++++ data/taginfo.json | 7 +++++ dist/locales/en.json | 4 +++ 5 files changed, 44 insertions(+) create mode 100644 data/presets/presets/barrier/kerb/lowered.json diff --git a/data/presets.yaml b/data/presets.yaml index f9649c76e6..affa1aab54 100644 --- a/data/presets.yaml +++ b/data/presets.yaml @@ -2788,6 +2788,11 @@ en: # barrier=kerb name: Kerb terms: '' + barrier/kerb/lowered: + # 'barrier=kerb, kerb=lowered' + name: Lowered Kerb + # 'terms: curb cut,curb ramp,kerb ramp,dropped kerb,pram ramp' + terms: '' barrier/kissing_gate: # barrier=kissing_gate name: Kissing Gate diff --git a/data/presets/presets.json b/data/presets/presets.json index 1279817ffd..682a559cd6 100644 --- a/data/presets/presets.json +++ b/data/presets/presets.json @@ -201,6 +201,7 @@ "barrier/gate": {"icon": "maki-barrier", "fields": ["access"], "geometry": ["vertex", "line"], "tags": {"barrier": "gate"}, "name": "Gate"}, "barrier/hedge": {"fields": ["height"], "geometry": ["line", "area"], "tags": {"barrier": "hedge"}, "name": "Hedge", "matchScore": 0.25}, "barrier/kerb": {"icon": "maki-wheelchair", "fields": ["kerb", "tactile_paving"], "geometry": ["vertex", "line"], "tags": {"barrier": "kerb"}, "name": "Kerb"}, + "barrier/kerb/lowered": {"icon": "maki-wheelchair", "fields": ["kerb", "tactile_paving"], "geometry": ["vertex", "line"], "tags": {"barrier": "kerb", "kerb": "lowered"}, "reference": {"key": "kerb", "value": "lowered"}, "terms": ["curb cut", "curb ramp", "kerb ramp", "dropped kerb", "pram ramp"], "name": "Lowered Kerb"}, "barrier/kissing_gate": {"icon": "maki-barrier", "fields": ["access"], "geometry": ["vertex"], "tags": {"barrier": "kissing_gate"}, "name": "Kissing Gate"}, "barrier/lift_gate": {"icon": "maki-roadblock", "fields": ["access"], "geometry": ["vertex", "line"], "tags": {"barrier": "lift_gate"}, "name": "Lift Gate"}, "barrier/retaining_wall": {"fields": ["height"], "geometry": ["line", "area"], "tags": {"barrier": "retaining_wall"}, "name": "Retaining Wall"}, diff --git a/data/presets/presets/barrier/kerb/lowered.json b/data/presets/presets/barrier/kerb/lowered.json new file mode 100644 index 0000000000..98a3b9a565 --- /dev/null +++ b/data/presets/presets/barrier/kerb/lowered.json @@ -0,0 +1,27 @@ +{ + "icon": "maki-wheelchair", + "fields": [ + "kerb", + "tactile_paving" + ], + "geometry": [ + "vertex", + "line" + ], + "tags": { + "barrier": "kerb", + "kerb": "lowered" + }, + "reference": { + "key": "kerb", + "value": "lowered" + }, + "terms": [ + "curb cut", + "curb ramp", + "kerb ramp", + "dropped kerb", + "pram ramp" + ], + "name": "Lowered Kerb" +} diff --git a/data/taginfo.json b/data/taginfo.json index 82ac1505c5..e8b1f12e2d 100644 --- a/data/taginfo.json +++ b/data/taginfo.json @@ -1367,6 +1367,13 @@ "object_types": ["node", "way"], "icon_url": "https://raw.githubusercontent.com/mapbox/maki/master/icons/wheelchair-15.svg?sanitize=true" }, + { + "key": "kerb", + "value": "lowered", + "description": "Lowered Kerb", + "object_types": ["node", "way"], + "icon_url": "https://raw.githubusercontent.com/mapbox/maki/master/icons/wheelchair-15.svg?sanitize=true" + }, { "key": "barrier", "value": "kissing_gate", diff --git a/dist/locales/en.json b/dist/locales/en.json index 568d3977ec..b57e0d4b9a 100644 --- a/dist/locales/en.json +++ b/dist/locales/en.json @@ -3849,6 +3849,10 @@ "name": "Kerb", "terms": "" }, + "barrier/kerb/lowered": { + "name": "Lowered Kerb", + "terms": "curb cut,curb ramp,kerb ramp,dropped kerb,pram ramp" + }, "barrier/kissing_gate": { "name": "Kissing Gate", "terms": ""