Public bath scheme

This commit is contained in:
Mikołaj "Natsuyasumi" Kuranowski
2016-12-09 13:17:36 +01:00
parent a3de3534c3
commit b201cba513
9 changed files with 135 additions and 0 deletions

View File

@@ -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
@@ -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

View File

@@ -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",

View File

@@ -0,0 +1,5 @@
{
"key": "bath:open_air",
"label": "Open air bath",
"type": "check"
}

View File

@@ -0,0 +1,5 @@
{
"key": "bath:sand_bath",
"label": "Sand bath",
"type": "check"
}

View File

@@ -0,0 +1,12 @@
{
"key": "bath:type",
"type": "combo",
"label": "Bath amenity",
"strings": {
"options": {
"onsen": "Onsen",
"foot_bath": "Foot Bath",
"hot_spring": "Hot Spring"
}
}
}

View File

@@ -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": [

View File

@@ -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"
}

View File

@@ -387,6 +387,10 @@
"key": "amenity",
"value": "pub"
},
{
"key": "amenity",
"value": "public_bath"
},
{
"key": "amenity",
"value": "public_bookcase"

18
dist/locales/en.json vendored
View File

@@ -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"
},
@@ -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"