Skip to content

Commit

Permalink
Merge pull request #5358 from enighter/issue-5348
Browse files Browse the repository at this point in the history
Add Transit Shelter preset
  • Loading branch information
bhousel authored Oct 1, 2018
2 parents cc0ff3d + 269fd35 commit b57db7b
Show file tree
Hide file tree
Showing 5 changed files with 45 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 @@ -2480,6 +2480,11 @@ en:
# 'amenity=shelter, shelter_type=lean_to'
name: Lean-To
terms: '<translate with synonyms or related terms for ''Lean-To'', separated by commas>'
amenity/shelter/public_transport:
# 'amenity=shelter, shelter_type=public_transport'
name: Transit Shelter
# 'terms: bus stop,metro stop,waiting'
terms: '<translate with synonyms or related terms for ''Transit Shelter'', separated by commas>'
amenity/shower:
# amenity=shower
name: Shower
Expand Down
1 change: 1 addition & 0 deletions data/presets/presets.json
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@
"amenity/shelter": {"icon": "maki-shelter", "fields": ["name", "shelter_type", "building_area", "bench", "bin"], "geometry": ["point", "vertex", "area"], "terms": ["lean-to", "gazebo", "picnic"], "tags": {"amenity": "shelter"}, "name": "Shelter"},
"amenity/shelter/gazebo": {"icon": "maki-shelter", "fields": ["name", "building_area", "bench", "lit"], "geometry": ["point", "area"], "tags": {"amenity": "shelter", "shelter_type": "gazebo"}, "name": "Gazebo"},
"amenity/shelter/lean_to": {"icon": "maki-shelter", "fields": ["name", "operator", "building_area"], "geometry": ["point", "area"], "tags": {"amenity": "shelter", "shelter_type": "lean_to"}, "name": "Lean-To"},
"amenity/shelter/public_transport": {"icon": "maki-shelter", "fields": ["name", "shelter_type", "building_area", "bench", "lit"], "geometry": ["point", "area"], "terms": ["bus stop", "metro stop", "waiting"], "tags": {"amenity": "shelter", "shelter_type": "public_transport"}, "reference": {"key": "shelter_type", "value": "public_transport"}, "name": "Transit Shelter"},
"amenity/shower": {"icon": "temaki-shower", "fields": ["operator", "opening_hours", "fee", "supervised", "building_area", "access_simple"], "geometry": ["point", "vertex", "area"], "terms": ["rain closet"], "tags": {"amenity": "shower"}, "name": "Shower"},
"amenity/smoking_area": {"icon": "fas-smoking", "fields": ["name", "shelter", "bin", "bench", "opening_hours"], "geometry": ["point", "vertex", "area"], "terms": [], "tags": {"amenity": "smoking_area"}, "name": "Smoking Area"},
"amenity/social_facility": {"icon": "temaki-social_facility", "fields": ["name", "operator", "address", "building_area", "social_facility", "social_facility_for", "opening_hours", "wheelchair"], "geometry": ["point", "area"], "terms": [], "tags": {"amenity": "social_facility"}, "name": "Social Facility"},
Expand Down
28 changes: 28 additions & 0 deletions data/presets/presets/amenity/shelter/public_transport.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"icon": "maki-shelter",
"fields": [
"name",
"shelter_type",
"building_area",
"bench",
"lit"
],
"geometry": [
"point",
"area"
],
"terms": [
"bus stop",
"metro stop",
"waiting"
],
"tags": {
"amenity": "shelter",
"shelter_type": "public_transport"
},
"reference": {
"key": "shelter_type",
"value": "public_transport"
},
"name": "Transit Shelter"
}
7 changes: 7 additions & 0 deletions data/taginfo.json
Original file line number Diff line number Diff line change
Expand Up @@ -896,6 +896,13 @@
"object_types": ["node", "area"],
"icon_url": "https://raw.githubusercontent.com/mapbox/maki/master/icons/shelter-15.svg?sanitize=true"
},
{
"key": "shelter_type",
"value": "public_transport",
"description": "Transit Shelter",
"object_types": ["node", "area"],
"icon_url": "https://raw.githubusercontent.com/mapbox/maki/master/icons/shelter-15.svg?sanitize=true"
},
{
"key": "amenity",
"value": "shower",
Expand Down
4 changes: 4 additions & 0 deletions dist/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -3587,6 +3587,10 @@
"name": "Lean-To",
"terms": ""
},
"amenity/shelter/public_transport": {
"name": "Transit Shelter",
"terms": "bus stop,metro stop,waiting"
},
"amenity/shower": {
"name": "Shower",
"terms": "rain closet"
Expand Down

0 comments on commit b57db7b

Please sign in to comment.