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

Public bath scheme #3642

Merged
merged 1 commit into from
Dec 11, 2016
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
21 changes: 21 additions & 0 deletions data/presets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,22 @@ en:
barrier:
# barrier=*
label: Type
bath/open_air:
# 'bath:open_air=*'
label: Open air bath
bath/sand_bath:
# 'bath:sand_bath=*'
label: Sand bath
bath/type:
# 'bath:type=*'
label: Bath amenity
options:
# 'bath:type=foot_bath'
foot_bath: Foot Bath
# 'bath:type=hot_spring'
hot_spring: Hot Spring
# 'bath:type=onsen'
onsen: Onsen
beauty:
# beauty=*
label: Shop Type
Expand Down Expand Up @@ -1640,6 +1656,11 @@ en:
name: Pub
# 'terms: alcohol,drink,dive,beer,bier,booze'
terms: '<translate with synonyms or related terms for ''Pub'', separated by commas>'
amenity/public_bath:
# amenity=public_bath
name: Public bath
# 'terms: onsen,foot bath,hot springs'
terms: '<translate with synonyms or related terms for ''Public bath'', separated by commas>'
amenity/public_bookcase:
# amenity=public_bookcase
name: Public Bookcase
Expand Down
22 changes: 22 additions & 0 deletions data/presets/fields.json
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,28 @@
"type": "typeCombo",
"label": "Type"
},
"bath/open_air": {
"key": "bath:open_air",
"label": "Open air bath",
"type": "check"
},
"bath/sand_bath": {
"key": "bath:sand_bath",
"label": "Sand bath",
"type": "check"
},
"bath/type": {
"key": "bath:type",
"type": "combo",
"label": "Bath amenity",
"strings": {
"options": {
"onsen": "Onsen",
"foot_bath": "Foot Bath",
"hot_spring": "Hot Spring"
}
}
},
"beauty": {
"key": "beauty",
"type": "combo",
Expand Down
5 changes: 5 additions & 0 deletions data/presets/fields/bath/open_air.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"key": "bath:open_air",
"label": "Open air bath",
"type": "check"
}
5 changes: 5 additions & 0 deletions data/presets/fields/bath/sand_bath.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"key": "bath:sand_bath",
"label": "Sand bath",
"type": "check"
}
12 changes: 12 additions & 0 deletions data/presets/fields/bath/type.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"key": "bath:type",
"type": "combo",
"label": "Bath amenity",
"strings": {
"options": {
"onsen": "Onsen",
"foot_bath": "Foot Bath",
"hot_spring": "Hot Spring"
}
}
}
24 changes: 24 additions & 0 deletions data/presets/presets.json
Original file line number Diff line number Diff line change
Expand Up @@ -1872,6 +1872,30 @@
],
"name": "Pub"
},
"amenity/public_bath": {
"icon": "water",
"fields": [
"bath/type",
"bath/open_air",
"bath/sand_bath",
"address",
"building_area",
"opening_hours"
],
"geometry": [
"point",
"area"
],
"tags": {
"amenity": "public_bath"
},
"terms": [
"onsen",
"foot bath",
"hot springs"
],
"name": "Public bath"
},
"amenity/public_bookcase": {
"icon": "library",
"fields": [
Expand Down
24 changes: 24 additions & 0 deletions data/presets/presets/amenity/public_bath.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"icon": "water",
"fields": [
"bath/type",
"bath/open_air",
"bath/sand_bath",
"address",
"building_area",
"opening_hours"
],
"geometry": [
"point",
"area"
],
"tags": {
"amenity": "public_bath"
},
"terms": [
"onsen",
"foot bath",
"hot springs"
],
"name": "Public bath"
}
4 changes: 4 additions & 0 deletions data/taginfo.json
Original file line number Diff line number Diff line change
Expand Up @@ -387,6 +387,10 @@
"key": "amenity",
"value": "pub"
},
{
"key": "amenity",
"value": "public_bath"
},
{
"key": "amenity",
"value": "public_bookcase"
Expand Down
18 changes: 18 additions & 0 deletions dist/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -784,6 +784,20 @@
"barrier": {
"label": "Type"
},
"bath/open_air": {
"label": "Open air bath"
},
"bath/sand_bath": {
"label": "Sand bath"
},
"bath/type": {
"label": "Bath amenity",
"options": {
"onsen": "Onsen",
"foot_bath": "Foot Bath",
"hot_spring": "Hot Spring"
}
},
"beauty": {
"label": "Shop Type"
},
Expand Down Expand Up @@ -2060,6 +2074,10 @@
"name": "Pub",
"terms": "alcohol,drink,dive,beer,bier,booze"
},
"amenity/public_bath": {
"name": "Public bath",
"terms": "onsen,foot bath,hot springs"
},
"amenity/public_bookcase": {
"name": "Public Bookcase",
"terms": "library,bookcrossing"
Expand Down