mapcomplete/assets/themes/toilets/toilets.json
Pieter Vander Vennet 0ff5fcac91 Fix toilets theme
2020-09-18 12:11:41 +02:00

293 lines
8.4 KiB
JSON

{
"id": "toilets",
"title": {
"en": "Open Toilet Map",
"de": "Offene Toilette Karte"
},
"description": {
"en": "A map of public toilets",
"de": "Eine Karte der öffentlichen Toiletten"
},
"maintainer": "MapComplete",
"version": "2020-08-29",
"language": [
"en",
"de"
],
"startZoom": 12,
"startLat": 51.2095,
"startLon": 3.2222,
"widenFactor": 0.05,
"icon": "./assets/themes/toilets/toilets.svg",
"layers": [
{
"id": "Toilet",
"name": {
"render": {
"en": "Toilets",
"de": "Toiletten"
}
},
"overpassTags": "amenity=toilets",
"title": {
"render": {
"en": "Toilet",
"de": "Toilette"
}
},
"icon": {
"render": "./assets/themes/toilets/toilets.svg",
"mappings": [
{
"if": "wheelchair=yes",
"then": "./assets/themes/toilets/wheelchair.svg"
}
]
},
"color": {
"render": "#0000ff"
},
"minzoom": 12,
"wayHandling": 2,
"presets": [
{
"title": {
"en": "Toilet",
"de": "Toilette"
},
"tags": [
"amenity=toilets"
],
"description": {
"en": "A publicly accessible toilet or restroom",
"de": "Eine öffentlich zugängliche Toilette"
}
},
{
"title": {
"en": "Toilets with wheelchair accessible toilet",
"de": "Toiletten mit rollstuhlgerechter Toilette"
},
"tags": [
"amenity=toilets",
"wheelchair=yes"
],
"description": {
"en": "A restroom which has at least one wheelchair-accessible toilet",
"de": "Eine Toilettenanlage mit mindestens einer rollstuhlgerechten Toilette"
}
}
],
"tagRenderings": [
"pictures",
{
"question": {
"en": "Are these toilets publicly accessible?",
"de": "Sind diese Toiletten öffentlich zugänglich?"
},
"render": {
"en": "Access is {access}",
"de": "Zugang ist {access}"
},
"freeform": {
"key": "access",
"addExtraTags": [
"fixme=the tag access was filled out by the user and might need refinement"
]
},
"mappings": [
{
"if": "access=yes",
"then": {
"en": "Public access",
"de": "Öffentlicher Zugang"
}
},
{
"if": "access=customers",
"then": {
"en": "Only access to customers",
"de": "Nur Zugang für Kunden"
}
},
{
"if": "access=no",
"then": {
"en": "Not accessible",
"de": "Nicht zugänglich"
}
},
{
"if": "access=key",
"then": {
"en": "Accessible, but one has to ask a key to enter",
"de": "Zugänglich, aber man muss einen Schlüssel für die Eingabe verlangen"
}
}
]
},
{
"question": {
"en": "Are these toilets free to use?",
"de": "Können diese Toiletten kostenlos benutzt werden?"
},
"mappings": [
{
"then": {
"en": "These are paid toilets",
"de": "Dies sind bezahlte Toiletten"
},
"if": "fee=yes"
},
{
"if": "fee=no",
"then": {
"en": "Free to use",
"de": "Kostenlose Nutzung"
}
}
]
},
{
"question": {
"en": "How much does one have to pay for these toilets?",
"de": "Wie viel muss man für diese Toiletten bezahlen?"
},
"render": {
"en": "The fee is {charge}",
"de": "Die Gebühr beträgt {charge}"
},
"condition": "fee=yes",
"freeform": {
"key": "charge",
"type": "string"
}
},
{
"question": {
"en": "Is there a dedicated toilet for wheelchair users",
"de": "Gibt es eine Toilette für Rollstuhlfahrer?"
},
"mappings": [
{
"then": {
"en": "There is a dedicated toilet for wheelchair users",
"de": "Es gibt eine Toilette für Rollstuhlfahrer"
},
"if": "wheelchair=yes"
},
{
"if": "wheelchair=no",
"then": {
"en": "No wheelchair access",
"de": "Kein Zugang für Rollstuhlfahrer"
}
}
]
},
{
"question": {
"en": "Which kind of toilets are this?",
"de": "Welche Art von Toiletten sind das?"
},
"mappings": [
{
"if": "toilets:position=seated",
"then": {
"en": "There are only seated toilets",
"de": "Es gibt nur Sitztoiletten"
}
},
{
"if": "toilets:position=urinals",
"then": {
"en": "There are only urinals here",
"de": "Hier gibt es nur Pissoirs"
}
},
{
"if": "toilets:position=squat",
"then": {
"en": "There are only squat toilets here",
"de": "Es gibt hier nur Hocktoiletten."
}
},
{
"if": "toilets:position=seated;urinals",
"then": {
"en": "Both seated toilets and urinals are available here",
"de": "Sowohl Sitztoiletten als auch Pissoirs sind hier verfügbar"
}
}
]
},
{
"question": {
"en": "Is a changing table (to change diapers) available?",
"de": "Ist ein Wickeltisch (zum Wechseln der Windeln) vorhanden?"
},
"mappings": [
{
"then": {
"en": "A changing table is available",
"de": "Ein Wickeltisch ist verfügbar"
},
"if": "changing_table=yes"
},
{
"if": "changing_table=no",
"then": {
"en": "No changing table is available",
"de": "Es ist kein Wickeltisch verfügbar"
}
}
]
},
{
"question": {
"en": "Where is the changing table located?",
"de": "Wo befindet sich der Wickeltisch?"
},
"render": {
"en": "The changing table is located at {changing_table:location}",
"de": "Die Wickeltabelle befindet sich in {changing_table:location}"
},
"condition": "changing_table=yes",
"freeform": {
"key": "changing_table:location"
},
"mappings": [
{
"then": {
"en": "The changing table is in the toilet for women. ",
"de": "Der Wickeltisch befindet sich in der Damentoilette. "
},
"if": "changing_table:location=female_toilet"
},
{
"then": {
"en": "The changing table is in the toilet for men. ",
"de": "Der Wickeltisch befindet sich in der Herrentoilette. "
},
"if": "changing_table:location=male_toilet"
},
{
"if": "changing_table:location=wheelchair_toilet",
"then": {
"en": "The changing table is in the toilet for wheelchair users. ",
"de": "Der Wickeltisch befindet sich in der Toilette für Rollstuhlfahrer. "
}
},
{
"if": "changing_table:location=dedicated_room",
"then": {
"en": "The changing table is in a dedicated room. ",
"de": "Der Wickeltisch befindet sich in einem eigenen Raum. "
}
}
]
}
]
}
]
}