Skip to content

Commit

Permalink
Merge pull request #5534 from quincylvania/flush-curb-preset
Browse files Browse the repository at this point in the history
Adds a preset for Flush Curb
  • Loading branch information
bhousel authored Nov 30, 2018
2 parents 031b081 + 1b7c11d commit d5031be
Show file tree
Hide file tree
Showing 5 changed files with 42 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 @@ -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

0 comments on commit d5031be

Please sign in to comment.