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 a preset for Flush Curb #5534

Merged
merged 1 commit into from
Nov 30, 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 @@ -3118,6 +3118,11 @@ en:
# barrier=kerb
name: Curb
terms: '<translate with synonyms or related terms for ''Curb'', separated by commas>'
barrier/kerb/flush:
# 'barrier=kerb, kerb=flush'
name: Flush Curb
# 'terms: even curb,level curb,tactile curb'
terms: '<translate with synonyms or related terms for ''Flush Curb'', separated by commas>'
barrier/kerb/lowered:
# 'barrier=kerb, kerb=lowered'
name: Lowered Curb
Expand Down
1 change: 1 addition & 0 deletions data/presets/presets.json
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,7 @@
"barrier/guard_rail": {"icon": "maki-barrier", "geometry": ["line"], "tags": {"barrier": "guard_rail"}, "name": "Guard Rail", "terms": ["guardrail", "traffic barrier", "crash barrier", "median barrier", "roadside barrier", "Armco barrier"], "matchScore": 0.75},
"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": "Curb"},
"barrier/kerb/flush": {"icon": "maki-wheelchair", "fields": ["kerb", "tactile_paving"], "geometry": ["vertex", "line"], "tags": {"barrier": "kerb", "kerb": "flush"}, "reference": {"key": "kerb", "value": "flush"}, "terms": ["even curb", "level curb", "tactile curb"], "name": "Flush Curb"},
"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 Curb"},
"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"},
Expand Down
25 changes: 25 additions & 0 deletions data/presets/presets/barrier/kerb/flush.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"icon": "maki-wheelchair",
"fields": [
"kerb",
"tactile_paving"
],
"geometry": [
"vertex",
"line"
],
"tags": {
"barrier": "kerb",
"kerb": "flush"
},
"reference": {
"key": "kerb",
"value": "flush"
},
"terms": [
"even curb",
"level curb",
"tactile curb"
],
"name": "Flush Curb"
}
7 changes: 7 additions & 0 deletions data/taginfo.json
Original file line number Diff line number Diff line change
Expand Up @@ -1624,6 +1624,13 @@
"object_types": ["node", "way"],
"icon_url": "https://raw.githubusercontent.com/mapbox/maki/master/icons/wheelchair-15.svg?sanitize=true"
},
{
"key": "kerb",
"value": "flush",
"description": "Flush Curb",
"object_types": ["node", "way"],
"icon_url": "https://raw.githubusercontent.com/mapbox/maki/master/icons/wheelchair-15.svg?sanitize=true"
},
{
"key": "kerb",
"value": "lowered",
Expand Down
4 changes: 4 additions & 0 deletions dist/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -4135,6 +4135,10 @@
"name": "Curb",
"terms": ""
},
"barrier/kerb/flush": {
"name": "Flush Curb",
"terms": "even curb,level curb,tactile curb"
},
"barrier/kerb/lowered": {
"name": "Lowered Curb",
"terms": "curb cut,curb ramp,kerb ramp,dropped kerb,pram ramp"
Expand Down