mirror of
https://github.com/FoggedLens/iD.git
synced 2026-04-04 19:12:30 +02:00
Public bath scheme
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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",
|
||||
|
||||
5
data/presets/fields/bath/open_air.json
Normal file
5
data/presets/fields/bath/open_air.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"key": "bath:open_air",
|
||||
"label": "Open air bath",
|
||||
"type": "check"
|
||||
}
|
||||
5
data/presets/fields/bath/sand_bath.json
Normal file
5
data/presets/fields/bath/sand_bath.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"key": "bath:sand_bath",
|
||||
"label": "Sand bath",
|
||||
"type": "check"
|
||||
}
|
||||
12
data/presets/fields/bath/type.json
Normal file
12
data/presets/fields/bath/type.json
Normal 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"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -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": [
|
||||
|
||||
24
data/presets/presets/amenity/public_bath.json
Normal file
24
data/presets/presets/amenity/public_bath.json
Normal 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"
|
||||
}
|
||||
@@ -387,6 +387,10 @@
|
||||
"key": "amenity",
|
||||
"value": "pub"
|
||||
},
|
||||
{
|
||||
"key": "amenity",
|
||||
"value": "public_bath"
|
||||
},
|
||||
{
|
||||
"key": "amenity",
|
||||
"value": "public_bookcase"
|
||||
|
||||
18
dist/locales/en.json
vendored
18
dist/locales/en.json
vendored
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user