Skip to content

Commit

Permalink
Merge pull request #5328 from quincylvania/lowered-kerb-preset
Browse files Browse the repository at this point in the history
Adds the Lowered Kerb preset
  • Loading branch information
quincylvania authored Sep 27, 2018
2 parents 2298d11 + 86d7274 commit 2d00a98
Show file tree
Hide file tree
Showing 5 changed files with 44 additions and 0 deletions.
5 changes: 5 additions & 0 deletions data/presets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2788,6 +2788,11 @@ en:
# barrier=kerb
name: Kerb
terms: '<translate with synonyms or related terms for ''Kerb'', separated by commas>'
barrier/kerb/lowered:
# 'barrier=kerb, kerb=lowered'
name: Lowered Kerb
# 'terms: curb cut,curb ramp,kerb ramp,dropped kerb,pram ramp'
terms: '<translate with synonyms or related terms for ''Lowered Kerb'', separated by commas>'
barrier/kissing_gate:
# barrier=kissing_gate
name: Kissing Gate
Expand Down
1 change: 1 addition & 0 deletions data/presets/presets.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"},
Expand Down
27 changes: 27 additions & 0 deletions data/presets/presets/barrier/kerb/lowered.json
Original file line number Diff line number Diff line change
@@ -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"
}
7 changes: 7 additions & 0 deletions data/taginfo.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 4 additions & 0 deletions dist/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": ""
Expand Down

0 comments on commit 2d00a98

Please sign in to comment.