mapcomplete/assets/layers/toilet/toilet.json

581 lines
No EOL
18 KiB
JSON
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"id": "toilet",
"name": {
"en": "Toilets",
"de": "Toiletten",
"fr": "Toilettes",
"nl": "Toiletten",
"ru": "Туалеты",
"it": "Servizi igienici"
},
"minzoom": 12,
"source": {
"osmTags": "amenity=toilets"
},
"title": {
"render": {
"en": "Toilet",
"de": "Toilette",
"fr": "Toilettes",
"nl": "Toilet",
"ru": "Туалет",
"it": "Servizi igienici"
}
},
"presets": [
{
"title": {
"en": "a public toilet",
"de": "eine öffentlich zugängliche toilette",
"fr": "une toilette publique",
"nl": "een publiek toilet",
"ru": "общественный туалет ",
"it": "una servizi igienici aperti al pubblico"
},
"tags": [
"amenity=toilets"
]
},
{
"title": {
"en": "a toilets with wheelchair accessible toilet",
"de": "eine toiletten mit rollstuhlgerechter toilette",
"fr": "une toilettes accessible aux personnes à mobilité réduite",
"nl": "een rolstoeltoegankelijke, publiek toilet",
"it": "una servizi igienici accessibili per persone in sedia a rotelle",
"ru": "tуалет с доступом для пользователей кресел-колясок"
},
"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",
"fr": "Toilettes avec au moins un WC accessible aux personnes à mobilité réduite",
"nl": "Deze toiletten hebben op zijn minst één rolstoeltoegankelijke WC",
"it": "Servizi igienici che hanno almeno una toilette accessibile a persone in sedia a rotelle"
}
}
],
"tagRenderings": [
"images",
{
"question": {
"en": "Are these toilets publicly accessible?",
"de": "Sind diese Toiletten öffentlich zugänglich?",
"fr": "Ces toilettes sont-elles accessibles au public ?",
"nl": "Zijn deze toiletten publiek toegankelijk?",
"it": "Questi servizi igienici sono aperti al pubblico?",
"ru": "Есть ли свободный доступ к этим туалетам?"
},
"render": {
"en": "Access is {access}",
"de": "Zugang ist {access}",
"fr": "L'accès est {access}",
"nl": "Toegankelijkheid is {access}",
"it": "L'accesso è {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",
"fr": "Accès publique",
"nl": "Publiek toegankelijk",
"it": "Accesso pubblico",
"ru": "Свободный доступ"
}
},
{
"if": "access=customers",
"then": {
"en": "Only access to customers",
"de": "Nur Zugang für Kunden",
"fr": "Accès réservé aux clients",
"nl": "Enkel toegang voor klanten",
"it": "Accesso riservato ai clienti e alle clienti"
}
},
{
"if": "access=no",
"then": {
"en": "Not accessible",
"de": "Nicht zugänglich",
"fr": "Toilettes privées",
"nl": "Niet toegankelijk",
"ru": "Недоступно",
"it": "Non accessibile"
}
},
{
"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",
"fr": "Accessible, mais vous devez demander la clé",
"nl": "Toegankelijk na het vragen van de sleutel",
"it": "Accessibile, ma occorre chiedere una chiave per accedere"
}
},
{
"if": "access=public",
"then": {
"en": "Public access",
"de": "Öffentlicher Zugang",
"fr": "Accès publique",
"nl": "Publiek toegankelijk",
"it": "Accesso pubblico",
"ru": "Свободный доступ"
},
"hideInAnswer": true
}
],
"id": "toilet-access"
},
{
"id": "toilets-fee",
"question": {
"en": "Are these toilets free to use?",
"de": "Können diese Toiletten kostenlos benutzt werden?",
"fr": "Ces toilettes sont-elles payantes ?",
"nl": "Zijn deze toiletten gratis te gebruiken?",
"it": "Questi servizi igienici sono gratuiti?"
},
"mappings": [
{
"then": {
"en": "These are paid toilets",
"de": "Dies sind bezahlte Toiletten",
"fr": "Toilettes payantes",
"nl": "Men moet betalen om deze toiletten te gebruiken",
"ru": "Это платные туалеты",
"it": "Questi servizi igienici sono a pagamento"
},
"if": "fee=yes"
},
{
"if": "fee=no",
"then": {
"en": "Free to use",
"de": "Kostenlose Nutzung",
"fr": "Toilettes gratuites",
"nl": "Gratis te gebruiken",
"it": "Gratis"
}
}
]
},
{
"question": {
"en": "How much does one have to pay for these toilets?",
"de": "Wie viel muss man für diese Toiletten bezahlen?",
"fr": "Quel est le prix d'accès de ces toilettes ?",
"nl": "Hoeveel moet men betalen om deze toiletten te gebruiken?",
"it": "Quanto costa l'accesso a questi servizi igienici?",
"ru": "Сколько стоит посещение туалета?"
},
"render": {
"en": "The fee is {charge}",
"de": "Die Gebühr beträgt {charge}",
"fr": "Le prix est {charge}",
"nl": "De toiletten gebruiken kost {charge}",
"it": "La tariffa è {charge}",
"ru": "Стоимость {charge}"
},
"condition": "fee=yes",
"freeform": {
"key": "charge",
"type": "string"
},
"id": "toilet-charge"
},
{
"builtin": "payment-options",
"override": {
"condition": "fee=yes"
}
},
{
"id": "Opening-hours",
"question": {
"en": "When are these toilets opened?",
"nl": "Wanneer zijn deze toiletten open?"
},
"render": "{opening_hours_table()}",
"freeform": {
"key": "opening_hours",
"type": "opening_hours"
},
"mappings": [
{
"if": "opening_hours=24/7",
"then": {
"en": "Opened 24/7",
"nl": "Altijd open"
}
}
]
},
{
"id": "toilets-wheelchair",
"question": {
"en": "Is there a dedicated toilet for wheelchair users",
"de": "Gibt es eine Toilette für Rollstuhlfahrer?",
"fr": "Y a-t-il des toilettes réservées aux personnes en fauteuil roulant ?",
"nl": "Is er een rolstoeltoegankelijke toilet voorzien?",
"it": "C'è un WC riservato alle persone in sedia a rotelle"
},
"mappings": [
{
"then": {
"en": "There is a dedicated toilet for wheelchair users",
"de": "Es gibt eine Toilette für Rollstuhlfahrer",
"fr": "Il y a des toilettes réservées pour les personnes à mobilité réduite",
"nl": "Er is een toilet voor rolstoelgebruikers",
"it": "C'è un WC riservato alle persone in sedia a rotelle"
},
"if": "wheelchair=yes"
},
{
"if": "wheelchair=no",
"then": {
"en": "No wheelchair access",
"de": "Kein Zugang für Rollstuhlfahrer",
"fr": "Non accessible aux personnes à mobilité réduite",
"nl": "Niet toegankelijk voor rolstoelgebruikers",
"it": "Non accessibile in sedia a rotelle",
"ru": "Недоступно пользователям кресел-колясок"
}
}
]
},
{
"id": "toilets-type",
"question": {
"en": "Which kind of toilets are this?",
"de": "Welche Art von Toiletten sind das?",
"fr": "De quel type sont ces toilettes ?",
"nl": "Welke toiletten zijn dit?",
"it": "Di che tipo di servizi igienici si tratta?",
"ru": "Какие это туалеты?"
},
"mappings": [
{
"if": "toilets:position=seated",
"then": {
"en": "There are only seated toilets",
"de": "Es gibt nur Sitztoiletten",
"fr": "Il y a uniquement des sièges de toilettes",
"nl": "Er zijn enkel WC's om op te zitten",
"it": "Ci sono solo WC con sedile"
}
},
{
"if": "toilets:position=urinal",
"then": {
"en": "There are only urinals here",
"de": "Hier gibt es nur Pissoirs",
"fr": "Il y a uniquement des urinoirs",
"nl": "Er zijn enkel urinoirs",
"it": "Ci sono solo urinali"
}
},
{
"if": "toilets:position=squat",
"then": {
"en": "There are only squat toilets here",
"de": "Es gibt hier nur Hocktoiletten",
"fr": "Il y a uniquement des toilettes turques",
"nl": "Er zijn enkel hurktoiletten",
"it": "Ci sono solo turche"
}
},
{
"if": "toilets:position=seated;urinal",
"then": {
"en": "Both seated toilets and urinals are available here",
"de": "Sowohl Sitztoiletten als auch Pissoirs sind hier verfügbar",
"fr": "Il y a des sièges de toilettes et des urinoirs",
"nl": "Er zijn zowel urinoirs als zittoiletten",
"it": "Ci sono sia sedili, sia urinali"
}
}
]
},
{
"id": "toilets-changing-table",
"question": {
"en": "Is a changing table (to change diapers) available?",
"de": "Ist ein Wickeltisch (zum Wechseln der Windeln) vorhanden?",
"fr": "Ces toilettes disposent-elles d'une table à langer ?",
"nl": "Is er een luiertafel beschikbaar?",
"it": "È disponibile un fasciatoio (per cambiare i pannolini)?"
},
"mappings": [
{
"then": {
"en": "A changing table is available",
"de": "Ein Wickeltisch ist verfügbar",
"fr": "Une table à langer est disponible",
"nl": "Er is een luiertafel",
"it": "È disponibile un fasciatoio"
},
"if": "changing_table=yes"
},
{
"if": "changing_table=no",
"then": {
"en": "No changing table is available",
"de": "Es ist kein Wickeltisch verfügbar",
"fr": "Aucune table à langer",
"nl": "Geen luiertafel",
"it": "Non è disponibile un fasciatoio"
}
}
]
},
{
"question": {
"en": "Where is the changing table located?",
"de": "Wo befindet sich der Wickeltisch?",
"fr": "Où se situe la table à langer ?",
"nl": "Waar bevindt de luiertafel zich?",
"it": "Dove si trova il fasciatoio?"
},
"render": {
"en": "The changing table is located at {changing_table:location}",
"de": "Die Wickeltabelle befindet sich in {changing_table:location}",
"fr": "Emplacement de la table à langer : {changing_table:location}",
"nl": "De luiertafel bevindt zich in {changing_table:location}",
"it": "Il fasciatoio si trova presso {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. ",
"fr": "La table à langer est dans les toilettes pour femmes. ",
"nl": "De luiertafel bevindt zich in de vrouwentoiletten ",
"it": "Il fasciatoio è nei servizi igienici femminili. "
},
"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. ",
"fr": "La table à langer est dans les toilettes pour hommes. ",
"nl": "De luiertafel bevindt zich in de herentoiletten ",
"it": "Il fasciatoio è nei servizi igienici maschili. "
},
"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. ",
"fr": "La table à langer est dans les toilettes pour personnes à mobilité réduite. ",
"nl": "De luiertafel bevindt zich in de rolstoeltoegankelijke toilet ",
"it": "Il fasciatoio è nei servizi igienici per persone in sedia a rotelle. "
}
},
{
"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. ",
"fr": "La table à langer est dans un espace dédié. ",
"nl": "De luiertafel bevindt zich in een daartoe voorziene kamer ",
"it": "Il fasciatoio è in una stanza dedicata. "
}
}
],
"id": "toilet-changing_table:location"
},
{
"id": "toilet-handwashing",
"question": {
"en": "Do these toilets have a sink to wash your hands?",
"nl": "Hebben deze toiletten een lavabo om de handen te wassen?",
"de": "Verfügt diese Toilette über ein Waschbecken?"
},
"mappings": [
{
"if": "toilets:handwashing=yes",
"then": {
"en": "This toilets have a sink to wash your hands",
"nl": "Deze toiletten hebben een lavabo waar men de handen kan wassen",
"de": "Diese Toilette verfügt über ein Waschbecken"
}
},
{
"if": "toilets:handwashing=no",
"then": {
"en": "This toilets <b>don't</b> have a sink to wash your hands",
"nl": "Deze toiletten hebben <b>geen</b> lavabo waar men de handen kan wassen",
"de": "Diese Toilette verfügt über <b>kein</b> Waschbecken"
}
}
]
},
{
"id": "toilet-has-paper",
"question": {
"en": "Does one have to bring their own toilet paper to this toilet?",
"nl": "Moet je je eigen toiletpapier meenemen naar deze toilet?",
"de": "Muss man für diese Toilette sein eigenes Toilettenpapier mitbringen?"
},
"mappings": [
{
"if": "toilets:paper_supplied=yes",
"then": {
"en": "This toilet is equipped with toilet paper",
"nl": "Deze toilet is voorzien van toiletpapier"
}
},
{
"if": "toilets:paper_supplied=no",
"then": {
"en": "You have to bring your own toilet paper to this toilet",
"nl": "Je moet je eigen toiletpapier meebrengen naar deze toilet",
"de": "Für diese Toilette müssen Sie Ihr eigenes Toilettenpapier mitbringen"
}
}
],
"condition": {
"#": "Urinals normally don't have toilet paper",
"and": [
"toilets:position!=urinal"
]
}
},
"level",
"description"
],
"filter": [
{
"id": "wheelchair",
"options": [
{
"question": {
"en": "Wheelchair accessible",
"nl": "Rolstoel toegankelijk",
"de": "Rollstuhlgerecht"
},
"osmTags": "wheelchair=yes"
}
]
},
{
"id": "changing_table",
"options": [
{
"question": {
"en": "Has a changing table",
"nl": "Heeft een luiertafel",
"de": "Hat einen Wickeltisch"
},
"osmTags": "changing_table=yes"
}
]
},
{
"id": "free",
"options": [
{
"question": {
"en": "Free to use",
"nl": "Gratis toegankelijk",
"de": "Nutzung kostenlos"
},
"osmTags": {
"or": [
"fee=no",
"fee=0",
"charge=0"
]
}
}
]
},
{
"id": "is_open",
"options": [
{
"question": {
"nl": "Nu geopened",
"en": "Opened now"
},
"osmTags": {
"or": [
"opening_hours=",
"_isOpen=yes"
]
}
}
]
}
],
"deletion": {
"softDeletionTags": {
"and": [
"disused:amenity:={amenity}",
"amenity="
]
},
"neededChangesets": 1
},
"allowMove": {
"enableRelocation": false,
"enableImproveAccuraccy": true
},
"mapRendering": [
{
"icon": {
"render": "./assets/layers/toilet/toilets.svg",
"mappings": [
{
"if": "wheelchair=yes",
"then": "circle:white;./assets/layers/toilet/wheelchair.svg"
},
{
"if": {
"or": [
"toilets:position=urinals",
"toilets:position=urinal"
]
},
"then": "./assets/layers/toilet/urinal.svg"
}
]
},
"iconBadges": [
{
"if": "opening_hours~*",
"then": "isOpen"
}
],
"location": [
"point",
"centroid"
]
}
],
"description": {
"en": "A layer showing (public) toilets",
"nl": "Een laag die publieke toiletten toont"
}
}