mapcomplete/assets/layers/toilet/toilet.json
2022-07-18 00:58:30 +02:00

629 lines
No EOL
21 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",
"ca": "Lavabos",
"es": "Baños"
},
"minzoom": 12,
"source": {
"osmTags": "amenity=toilets"
},
"title": {
"render": {
"en": "Toilet",
"de": "Toilette",
"fr": "Toilettes",
"nl": "Toilet",
"ru": "Туалет",
"it": "Servizi igienici",
"ca": "Lavabo",
"es": "Baño"
}
},
"presets": [
{
"title": {
"en": "a public toilet",
"de": "eine öffentliche Toilette",
"fr": "une toilette publique",
"nl": "een publiek toilet",
"ru": "общественный туалет ",
"it": "una servizi igienici aperti al pubblico",
"es": "un baño público"
},
"tags": [
"amenity=toilets"
]
},
{
"title": {
"en": "a toilets with wheelchair accessible toilet",
"de": "eine barrierefreie 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": "Ist die Toilette ö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}",
"es": "El acceso es {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": "Der Zugang ist öffentlich",
"fr": "Accès publique",
"nl": "Publiek toegankelijk",
"it": "Accesso pubblico",
"ru": "Свободный доступ",
"es": "Acceso públic"
}
},
{
"if": "access=customers",
"then": {
"en": "Only access to customers",
"de": "Der Zugang ist nur für Kunden",
"fr": "Accès réservé aux clients",
"nl": "Enkel toegang voor klanten",
"it": "Accesso riservato ai clienti e alle clienti",
"es": "Solo accesible a clientes"
}
},
{
"if": "access=no",
"then": {
"en": "Not accessible",
"de": "Der Zugang ist nicht erlaubt oder nicht möglich",
"fr": "Toilettes privées",
"nl": "Niet toegankelijk",
"ru": "Недоступно",
"it": "Non accessibile",
"es": "No accesible"
}
},
{
"if": "access=key",
"then": {
"en": "Accessible, but one has to ask a key to enter",
"de": "Der Zugang ist möglich, aber man muss nach einen Schlüssel fragen",
"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",
"es": "Accesible, pero hay que pedir la llave para entrar"
}
},
{
"if": "access=public",
"then": {
"en": "Public access",
"de": "Öffentlicher Zugang",
"fr": "Accès publique",
"nl": "Publiek toegankelijk",
"it": "Accesso pubblico",
"ru": "Свободный доступ",
"es": "De acceso público"
},
"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": "Die Nutzung ist gebührenpflichtig",
"fr": "Toilettes payantes",
"nl": "Men moet betalen om deze toiletten te gebruiken",
"ru": "Это платные туалеты",
"it": "Questi servizi igienici sono a pagamento",
"es": "Estos son baños de pago"
},
"if": "fee=yes"
},
{
"if": "fee=no",
"then": {
"en": "Free to use",
"de": "Die Nutzung ist kostenlos",
"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 die Nutzung 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": "Сколько стоит посещение туалета?",
"es": "¿Cuánto hay que pagar para estos baños?"
},
"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}",
"es": "La tasa es {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?",
"de": "Wann sind diese Toiletten geöffnet?",
"es": ""
},
"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",
"de": "Durchgehend geöffnet",
"es": "Abierto 24/7"
}
}
]
},
{
"id": "toilets-wheelchair",
"question": {
"en": "Is there a dedicated toilet for wheelchair users?",
"de": "Können Rollstuhlfahrer die Toilette benutzen?",
"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": "Rollstuhlfahrer können die Toilette benutzen",
"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",
"es": "Hay un baño dedicado para usuarios con sillas de ruedas"
},
"if": "wheelchair=yes"
},
{
"if": "wheelchair=no",
"then": {
"en": "No wheelchair access",
"de": "Rollstuhlfahrer können die Toilette nicht benutzen",
"fr": "Non accessible aux personnes à mobilité réduite",
"nl": "Niet toegankelijk voor rolstoelgebruikers",
"it": "Non accessibile in sedia a rotelle",
"ru": "Недоступно пользователям кресел-колясок",
"es": "Sin acceso para sillas de ruedas"
}
}
]
},
{
"id": "toilets-type",
"question": {
"en": "Which kind of toilets are this?",
"de": "Welche Toiletten gibt es hier?",
"fr": "De quel type sont ces toilettes ?",
"nl": "Welke toiletten zijn dit?",
"it": "Di che tipo di servizi igienici si tratta?",
"ru": "Какие это туалеты?",
"es": "¿Qué tipo de baños son estos?"
},
"mappings": [
{
"if": "toilets:position=seated",
"then": {
"en": "There are only seated toilets",
"de": "Hier gibt es nur Toiletten zum Sitzen",
"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 Urinale zum Stehen",
"fr": "Il y a uniquement des urinoirs",
"nl": "Er zijn enkel urinoirs",
"it": "Ci sono solo urinali",
"es": "Aquí solo hay orinales"
}
},
{
"if": "toilets:position=squat",
"then": {
"en": "There are only squat toilets here",
"de": "Hier gibt es nur Toiletten zum Hocken",
"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": "Hier gibt es Sitztoiletten und Urinale",
"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",
"es": "Aquí hay tanto váteres de sentarse como orinales"
}
}
]
},
{
"id": "toilets-changing-table",
"question": {
"en": "Is a changing table (to change diapers) available?",
"de": "Ist hier ein Wickeltisch (zum Wechseln von Babywindeln) 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",
"es": "Hay un cambiador"
},
"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",
"es": "No hay cambiador"
}
}
]
},
{
"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?",
"es": "¿Dónde está el cambiador?"
},
"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}",
"es": "El cambiador está en {changing_table:location}"
},
"condition": "changing_table=yes",
"freeform": {
"key": "changing_table:location",
"inline": true
},
"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. ",
"es": "El cambiador está en una habitación dedicada "
}
}
],
"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": "Gibt es hier ein Handwaschbecken?",
"es": "¿Esto baños tienen una pileta para lavarte los baños?",
"fr": "Ces toilettes ont-ils un lavabo pour se laver les mains ?"
},
"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": "Die Toilette hat ein Handwaschbecken",
"es": "Estos baños tienen una pileta para lavarse las manos",
"fr": "Ces toilettes ont un lavabo pour se laver les mains"
}
},
{
"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": "Die Toilette hat <b>kein</b> Handwaschbecken",
"es": "Estos baños <b>no</b> tienen una pileta para lavarse las manos",
"fr": "Ces toilettes <b>n'ont pas</b> de lavabo pour se laver les mains"
}
}
]
},
{
"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": "Ist Toilettenpapier vorhanden?",
"es": "¿Hay que traer tu propio papel higiénico a este baño?",
"fr": "Est-ce qu'il faut apporter son propre papier toilette ?"
},
"mappings": [
{
"if": "toilets:paper_supplied=yes",
"then": {
"en": "This toilet is equipped with toilet paper",
"nl": "Deze toilet is voorzien van toiletpapier",
"de": "Die Toilette ist in der Regel mit Toilettenpapier ausgestattet",
"es": "Este baño esta equipado con papel higiénico",
"fr": "Ces toilettes sont équipés de papier toilette"
}
},
{
"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": "Die Toilette ist nicht mit Toilettenpapier ausgestattet, man muss es selbst mitbringen",
"es": "Tienes que traer tu propio papel higiénico a este baño",
"fr": "Vous devez apporter votre propre papier toilette ici"
}
}
],
"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",
"es": "Accesible con sillas de ruedas"
},
"osmTags": "wheelchair=yes"
}
]
},
{
"id": "changing_table",
"options": [
{
"question": {
"en": "Has a changing table",
"nl": "Heeft een luiertafel",
"de": "Mit Wickeltisch",
"es": "Tiene un cambiador"
},
"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",
"de": "Derzeit geöffnet",
"es": "Abierto ahora"
},
"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",
"de": "Eine Ebene mit (öffentlichen) Toiletten",
"es": "Una capa que muestra baños (públicos)"
}
}