Skip to content

Commit

Permalink
Adding shower preset
Browse files Browse the repository at this point in the history
(closes #4256)
  • Loading branch information
JamesKingdom committed Aug 21, 2017
1 parent d667ee6 commit 1270e80
Show file tree
Hide file tree
Showing 5 changed files with 57 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 @@ -1958,6 +1958,11 @@ en:
name: Shelter
# 'terms: lean-to,gazebo,picnic'
terms: '<translate with synonyms or related terms for ''Shelter'', separated by commas>'
amenity/shower:
# amenity=shower
name: Shower
# 'terms: gelato'
terms: '<translate with synonyms or related terms for ''Shower'', separated by commas>'
amenity/social_facility:
# amenity=social_facility
name: Social Facility
Expand Down
22 changes: 22 additions & 0 deletions data/presets/presets.json
Original file line number Diff line number Diff line change
Expand Up @@ -2565,6 +2565,28 @@
},
"name": "Shelter"
},
"amenity/shower": {
"icon": "water",
"fields": [
"operator",
"opening_hours",
"fee",
"supervised",
"building_area"
],
"geometry": [
"point",
"vertex",
"area"
],
"terms": [
"gelato"
],
"tags": {
"amenity": "shower"
},
"name": "Shower"
},
"amenity/social_facility": {
"icon": "poi-social-facility",
"fields": [
Expand Down
22 changes: 22 additions & 0 deletions data/presets/presets/amenity/shower.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"icon": "water",
"fields": [
"operator",
"opening_hours",
"fee",
"supervised",
"building_area"
],
"geometry": [
"point",
"vertex",
"area"
],
"terms": [
"gelato"
],
"tags": {
"amenity": "shower"
},
"name": "Shower"
}
4 changes: 4 additions & 0 deletions data/taginfo.json
Original file line number Diff line number Diff line change
Expand Up @@ -479,6 +479,10 @@
"key": "amenity",
"value": "shelter"
},
{
"key": "amenity",
"value": "shower"
},
{
"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 @@ -2765,6 +2765,10 @@
"name": "Shelter",
"terms": "lean-to,gazebo,picnic"
},
"amenity/shower": {
"name": "Shower",
"terms": "gelato"
},
"amenity/social_facility": {
"name": "Social Facility",
"terms": ""
Expand Down

0 comments on commit 1270e80

Please sign in to comment.