mapcomplete/assets/layers/indoors/indoors.json

611 lines
18 KiB
JSON

{
"id": "indoors",
"name": {
"en": "Indoors",
"de": "Innenräume",
"nl": "Binnenruimtes",
"pa_PK": "اندروں",
"ca": "Interiors",
"cs": "Vnitřní prostory"
},
"description": {
"en": "Basic indoor mapping: shows room outlines",
"de": "Grundlegende Innenraumkartierung: zeigt Umrisse von Räumen",
"nl": "Een basis voor indoor-navigatie: toont binnenruimtes",
"cs": "Základní mapování interiérů: zobrazuje obrysy místností",
"ca": "Mapeig interior bàsic: mostra els contorns de les habitacions",
"pl": "Podstawowe mapowanie wnętrz: pokazuje kontury pomieszczeń",
"es": "Cartografía básica en interiores: muestra esquemas de espacio"
},
"source": {
"osmTags": {
"or": [
"indoor=room",
"indoor=area",
"indoor=wall",
"indoor=door",
"indoor=level"
]
}
},
"minzoom": 13,
"title": {
"render": {
"en": "Indoor area {name}",
"de": "Innenbereich {name}",
"nl": "Binnenruimte {name}",
"ca": "Àrea interior {name}",
"cs": "Vnitřní prostor {name}"
},
"mappings": [
{
"if": "indoor=room",
"then": {
"en": "Indoor Room {name}",
"de": "Innenraum {name}",
"nl": "Binnenruimte {name}",
"pl": "Wewnętrzne pomieszczenie {name}",
"ca": "Habitació interior {name}",
"cs": "Vnitřní místnost {name}"
}
},
{
"if": "indoor=area",
"then": {
"en": "Indoor Area {name}",
"de": "Innenbereich {name}",
"nl": "Gebied in gebouw {name}",
"ca": "Àrea interior {name}",
"cs": "Vnitřní prostor {name}"
}
},
{
"if": "indoor=wall",
"then": {
"en": "Indoor Wall {name}",
"de": "Innenwand {name}",
"nl": "Muur in gebouw {name}",
"ca": "Paret interior {name}",
"cs": "Vnitřní stěna {name}"
}
},
{
"if": "indoor=corridor",
"then": {
"en": "Indoor Corridor {name}",
"de": "Innengang {name}",
"nl": "Gang in gebouw {name}",
"ca": "Passadis interior {name}",
"cs": "Vnitřní chodba {name}"
}
},
{
"if": "indoor=door",
"then": {
"en": "Indoor Door {name}",
"de": "Innentür {name}",
"nl": "Binnendeur {name}",
"ca": "Porta interior {name}",
"cs": "Vnitřní dveře {name}"
}
},
{
"if": "indoor=level",
"then": {
"en": "Indoor Level {name}",
"de": "Geschoss {name}",
"nl": "Verdieping in gebouw {name}",
"cs": "Vnitřní Level {name}"
}
}
]
},
"titleIcons": [
"icons.defaults",
{
"render": "{ref}",
"condition": "ref~*"
},
{
"icon": {
"class": ""
},
"mappings": [
{
"if": "capacity~*",
"then": "<div class='flex rounded-full low-interaction font-bold space-x-1 items-center mx-1'><img class='w-4 h-4' src='./assets/layers/indoors/room_conference.svg'/> {capacity}<div>"
}
]
}
],
"pointRendering": [
{
"label": {
"render": "<div style='margin-top: -20px; color:#013220; background:white' class='rounded-full p-1 font-bold'>{name}</div>",
"condition": "name~*",
"mappings": [
{
"if": {
"or": [
"room=administration",
"room=auditorium",
"room=bedroom",
"room=chapel",
"room=class",
"room=computer",
"room=conference",
"room=crypt",
"room=kitchen",
"room=laboratory",
"room=library",
"room=locker",
"room=nursery",
"room=office",
"room=prison_cell",
"room=restaurant",
"room=security_check",
"room=sport",
"room=storage",
"room=technical",
"room=toilet",
"room=toilets",
"room=waiting"
]
},
"then": "<div style='margin-top: 0px; color:#013220; background:white' class='rounded-full p-1 font-bold'>{name}</div>"
}
]
},
"location": [
"point",
"centroid"
],
"marker": [
{
"icon": {
"mappings": [
{
"if": {
"or": [
"room=administration",
"room=auditorium",
"room=bedroom",
"room=chapel",
"room=class",
"room=computer",
"room=conference",
"room=crypt",
"room=kitchen",
"room=laboratory",
"room=library",
"room=locker",
"room=nursery",
"room=office",
"room=prison_cell",
"room=restaurant",
"room=security_check",
"room=sport",
"room=storage",
"room=technical",
"room=toilets",
"room=waiting"
]
},
"then": "./assets/layers/indoors/room_{room}.svg"
},
{
"if": "room=toilet",
"then": "./assets/layers/indoors/room_toilets.svg"
}
]
}
}
],
"iconSize": "15,15",
"anchor": "bottom"
}
],
"lineRendering": [
{
"color": "#d3d7d588",
"width": "8",
"offset": "-4",
"fill": "no"
},
{
"color": "#4f5551",
"fill": "no",
"width": "2"
}
],
"tagRenderings": [
"images",
"level",
{
"id": "ref",
"question": {
"en": "What is the reference number of this room?",
"de": "Wie lautet die Nummer dieses Raums?",
"nl": "Wat is het referentienummer van deze ruimte?",
"fr": "Quel est le numéro de référence de cette pièce ?",
"pl": "Jaki jest numer referencyjny tego pomieszczenia?",
"ca": "Quin és el número de referència d'aquesta habitació?",
"cs": "Jaké je referenční číslo této místnosti?"
},
"render": {
"en": "This room has the reference number {ref}",
"de": "Dieser Raum hat die Raumnummer {ref}",
"nl": "Deze ruimte heeft het referentienummer {ref}",
"pl": "To pomieszczenie ma numer referencyjny {ref}",
"ca": "Aquesta habitació té el número de referència {ref}",
"cs": "Tato místnost má referenční číslo {ref}"
},
"freeform": {
"key": "ref",
"type": "string",
"placeholder": {
"en": "Reference number of the room (e.g. '1.1' or 'A1')",
"de": "Raumnummer (z.B. '1.1' oder 'A1')",
"nl": "Referentienummer van de ruimte (bv. '1.1' of A1' )",
"ca": "Número de referència de l'habitació (p. e. '1.1' o 'A1')",
"cs": "Referenční číslo místnosti (např. \"1.1\" nebo \"A1\")",
"pl": "Numer referencyjny tego pomieszczenia (np. \"1.1\" lub \"A1\")"
}
},
"condition": {
"or": [
"indoor=room",
"indoor=area",
"indoor=corridor"
]
}
},
{
"id": "name",
"question": {
"en": "What is the name of this room?",
"de": "Wie lautet der Name dieses Raums?",
"nl": "Wat is de naam van deze ruimte?",
"ru": "Как называется эта комната?",
"ca": "Quin és el nom d'aquesta habitació?",
"cs": "Jak se jmenuje tato místnost?",
"pl": "Jaka jest nazwa tego pomieszczenia?"
},
"render": {
"en": "This room is named {name}",
"de": "Der Name des Raums lautet {name}",
"nl": "Deze ruimte heet {name}",
"ru": "Эта комната называется {name}",
"fr": "Cette pièce s'appelle {name}",
"ca": "Aquesta habitació es diu {name}",
"cs": "Tato místnost se jmenuje {name}",
"pl": "Nazwa tego pomieszczenia to {name}"
},
"freeform": {
"key": "name",
"type": "string",
"placeholder": {
"en": "Name of the room",
"de": "Name des Raums",
"nl": "Naam van de ruimte",
"ru": "Название комнаты",
"ca": "Nom de l'habitació",
"cs": "Název místnosti",
"pl": "Nazwa pomieszczenia"
}
},
"condition": {
"or": [
"indoor=room",
"indoor=area",
"indoor=corridor"
]
}
},
{
"id": "room-type",
"question": {
"en": "What type of room is this?",
"ca": "Quin tipus d'habitació és aquesta?",
"de": "Wie wird dieser Raum genutzt?",
"cs": "O jaký typ pokoje se jedná?",
"pl": "Jakiego rodzaju jest to pomieszczenie?"
},
"mappings": [
{
"if": "room=administration",
"then": {
"en": "This is a administrative room",
"de": "Dies ist ein Verwaltungsraum",
"cs": "Jedná se o administrativní místnost"
},
"icon": "./assets/layers/indoors/room_administration.svg"
},
{
"if": "room=auditorium",
"then": {
"en": "This is a auditorium",
"de": "Dies ist ein Auditorium",
"ca": "Açò és un auditori",
"cs": "Jedná se o posluchárnu"
},
"icon": "./assets/layers/indoors/room_auditorium.svg"
},
{
"if": "room=bedroom",
"then": {
"en": "This is a bedroom",
"de": "Dies ist ein Schlafzimmer",
"ca": "Açò és un dormitori",
"cs": "Jedná se o ložnici",
"pl": "To jest sypialnia"
},
"icon": "./assets/layers/indoors/room_bedroom.svg"
},
{
"if": "room=chapel",
"then": {
"en": "This is a chapel",
"de": "Dies ist eine Kapelle",
"ca": "Açò és una capella",
"cs": "Jedná se o kapli",
"pl": "To jest kaplica"
},
"icon": "./assets/layers/indoors/room_chapel.svg"
},
{
"if": "room=class",
"then": {
"en": "This is a classroom",
"de": "Dies ist ein Klassenzimmer",
"ca": "Açò és una aula",
"cs": "Jedná se o učebnu",
"fr": "C'est une salle de classe",
"pl": "To jest sala klasowa"
},
"icon": "./assets/layers/indoors/room_class.svg"
},
{
"if": "room=classroom",
"then": {
"en": "This is a classroom",
"de": "Dies ist ein Klassenzimmer",
"ca": "Açò és una aula",
"cs": "Jedná se o učebnu",
"pl": "Jest to sala klasowa"
},
"icon": "./assets/layers/indoors/room_class.svg",
"hideInAnswer": true
},
{
"if": "room=computer",
"then": {
"en": "This is a computer room",
"de": "Dies ist ein Computerraum",
"cs": "Jedná se o počítačovou místnost",
"pl": "To jest sala komputerowa"
},
"icon": "./assets/layers/indoors/room_computer.svg"
},
{
"if": "room=conference",
"then": {
"en": "This is a conference room",
"de": "Dies ist ein Konferenzraum",
"ca": "Açò és una sala de conferències",
"cs": "Jedná se o konferenční místnost",
"pl": "To jest sala konferencyjna"
},
"icon": "./assets/layers/indoors/room_conference.svg"
},
{
"if": "room=crypt",
"then": {
"en": "This is a crypt",
"de": "Dies ist eine Krypta",
"ca": "Açò és una cripta",
"cs": "Jedná se o kryptu"
},
"icon": "./assets/layers/indoors/room_crypt.svg"
},
{
"if": "room=kitchen",
"then": {
"en": "This is a kitchen",
"de": "Dies ist eine Küche",
"ca": "Açò és una cuina",
"cs": "Jedná se o kuchyň",
"pl": "To jest kuchnia"
},
"icon": "./assets/layers/indoors/room_kitchen.svg"
},
{
"if": "room=laboratory",
"then": {
"en": "This is a laboratory",
"de": "Dies ist ein Labor",
"ca": "Açò és un laboratori",
"cs": "Jedná se o laboratoř",
"pl": "To jest laboratorium"
},
"icon": "./assets/layers/indoors/room_laboratory.svg"
},
{
"if": "room=library",
"then": {
"en": "This is a library",
"de": "Dies ist eine Bibliothek",
"cs": "Jedná se o knihovnu",
"pl": "To jest biblioteka"
},
"icon": "./assets/layers/indoors/room_library.svg"
},
{
"if": "room=locker",
"then": {
"en": "This is a locker room",
"de": "Dies ist ein Umkleideraum",
"cs": "Jedná se o šatnu"
},
"icon": "./assets/layers/indoors/room_locker.svg"
},
{
"if": "room=nursery",
"then": {
"en": "This is a nursery",
"de": "Dies ist ein Kinderzimmer",
"cs": "Jedná se o školku"
},
"icon": "./assets/layers/indoors/room_nursery.svg"
},
{
"if": "room=office",
"then": {
"en": "This is an office",
"de": "Dies ist ein Büro",
"ca": "Açò és una oficina",
"cs": "Jedná se o kancelář",
"fr": "C'est un bureau",
"pl": "To jest biuro"
},
"icon": "./assets/layers/indoors/room_office.svg"
},
{
"if": "room=prison_cell",
"then": {
"en": "This is a prison_cell",
"de": "Dies ist eine Gefängniszelle",
"cs": "Jedná se o vězeňskou celu",
"pl": "To jest cela więzienna"
},
"icon": "./assets/layers/indoors/room_prison_cell.svg"
},
{
"if": "room=restaurant",
"then": {
"en": "This is a restaurant",
"de": "Dies ist ein Restaurant",
"ca": "Açò és un restaurant",
"cs": "Jedná se o restauraci",
"pl": "To jest restauracja"
},
"icon": "./assets/layers/indoors/room_restaurant.svg"
},
{
"if": "room=security_check",
"then": {
"en": "This is a room to perform security checks",
"de": "Dies ist ein Raum für Sicherheitskontrollen",
"cs": "Jedná se o místnost pro provádění bezpečnostních kontrol",
"pl": "To jest pomieszczenie do wykonywania kontroli bezpieczeństwa"
},
"icon": "./assets/layers/indoors/room_security_check.svg"
},
{
"if": "room=sport",
"then": {
"en": "This is a sport room",
"de": "Dies ist ein Raum um Sport zu treiben",
"cs": "Jedná se o sportovní místnost"
},
"icon": "./assets/layers/indoors/room_sport.svg"
},
{
"if": "room=storage",
"then": {
"en": "This is a storage room",
"ca": "Açò és un magatzem",
"de": "Dies ist ein Lagerraum",
"cs": "Jedná se o skladovací místnost",
"pl": "To jest magazyn"
},
"icon": "./assets/layers/indoors/room_storage.svg"
},
{
"if": "room=technical",
"then": {
"en": "This is a technical room",
"de": "Dies ist ein Technikraum",
"cs": "Jedná se o technickou místnost",
"pl": "To jest pomieszczenie techniczne"
},
"icon": "./assets/layers/indoors/room_technical.svg"
},
{
"if": "room=toilets",
"then": {
"en": "These are toilets",
"de": "Dies ist ein WC-Raum",
"cs": "Jedná se o toalety",
"pl": "To są toalety"
},
"icon": "./assets/layers/indoors/room_toilets.svg",
"addExtraTags": [
"amenity=toilets"
]
},
{
"if": "room=waiting",
"then": {
"en": "This is a waiting room",
"ca": "Açò és una sala d'espera",
"de": "Dies ist ein Wartezimmer",
"cs": "Jedná se o čekárnu",
"pl": "To jest poczekalnia"
},
"icon": "./assets/layers/indoors/room_waiting.svg"
}
]
},
{
"id": "room-capacity",
"question": {
"en": "How much people can at most fit in this room?",
"de": "Wie viele Personen passen höchstens in diesen Raum?",
"cs": "Kolik lidí se maximálně vejde do této místnosti?",
"pl": "Ile osób może pomieścić to pomieszczenie?"
},
"condition": {
"or": [
"room=waiting",
"room=restaurant",
"room=office",
"room=nursery",
"room=conference",
"room=auditorium",
"room=chapel",
"room=bedroom",
"room=classroom"
]
},
"render": {
"en": "At most {capacity} people fit this room",
"de": "Kapazität für höchstens {capacity} Personen",
"cs": "Do této místnosti se vejde maximálně {capacity} osob",
"pl": "To pomieszczenie może pomieścić maksymalnie {capacity} osób"
},
"freeform": {
"key": "capacity",
"type": "pnat"
}
},
{
"builtin": "etymology.wikipedia-etymology",
"override": {
"condition": {
"and+": "name~*"
}
}
},
{
"builtin": "toilet.relevant-questions",
"override": {
"condition": {
"+and": [
"amenity=toilets"
]
}
}
}
]
}