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

Added smoking area preset #4737

Merged
merged 1 commit into from
Jan 23, 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
4 changes: 4 additions & 0 deletions data/presets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2183,6 +2183,10 @@ en:
name: Shower
# 'terms: rain closet'
terms: '<translate with synonyms or related terms for ''Shower'', separated by commas>'
amenity/smoking_area:
# amenity=smoking_area
name: Smoking Area
terms: '<translate with synonyms or related terms for ''Smoking Area'', separated by commas>'
amenity/social_facility:
# amenity=social_facility
name: Social Facility
Expand Down
19 changes: 19 additions & 0 deletions data/presets/presets.json
Original file line number Diff line number Diff line change
Expand Up @@ -2817,6 +2817,25 @@
},
"name": "Shower"
},
"amenity/smoking_area": {
"fields": [
"name",
"shelter",
"bin",
"bench",
"opening_hours"
],
"geometry": [
"point",
"vertex",
"area"
],
"terms": [],
"tags": {
"amenity": "smoking_area"
},
"name": "Smoking Area"
},
"amenity/social_facility": {
"icon": "poi-social-facility",
"fields": [
Expand Down
20 changes: 20 additions & 0 deletions data/presets/presets/amenity/smoking_area.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"fields": [
"name",
"shelter",
"bin",
"bench",
"opening_hours"
],
"geometry": [
"point",
"vertex",
"area"
],
"terms": [
],
"tags": {
"amenity": "smoking_area"
},
"name": "Smoking Area"
}
4 changes: 4 additions & 0 deletions data/taginfo.json
Original file line number Diff line number Diff line change
Expand Up @@ -507,6 +507,10 @@
"key": "amenity",
"value": "shower"
},
{
"key": "amenity",
"value": "smoking_area"
},
{
"key": "amenity",
"value": "social_facility"
Expand Down
4 changes: 4 additions & 0 deletions dist/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -3144,6 +3144,10 @@
"name": "Shower",
"terms": "rain closet"
},
"amenity/smoking_area": {
"name": "Smoking Area",
"terms": ""
},
"amenity/social_facility": {
"name": "Social Facility",
"terms": ""
Expand Down