Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds the Lowered Kerb preset #5328

Merged
merged 1 commit into from
Sep 27, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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