261 lines
7.2 KiB
JSON
261 lines
7.2 KiB
JSON
{
|
|
"id": "indoors",
|
|
"name": {
|
|
"en": "Indoors",
|
|
"de": "Innenräume",
|
|
"nl": "Binnenruimtes",
|
|
"pa_PK": "اندروں",
|
|
"ca": "Interiors"
|
|
},
|
|
"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"
|
|
},
|
|
"source": {
|
|
"osmTags": {
|
|
"or": [
|
|
"indoor=room",
|
|
"indoor=area",
|
|
"indoor=wall",
|
|
"indoor=door",
|
|
"indoor=level"
|
|
]
|
|
}
|
|
},
|
|
"title": {
|
|
"render": {
|
|
"en": "Indoor area {name}",
|
|
"de": "Innenbereich {name}",
|
|
"nl": "Binnenruimte {name}",
|
|
"ca": "Àrea interior {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}"
|
|
}
|
|
},
|
|
{
|
|
"if": "indoor=area",
|
|
"then": {
|
|
"en": "Indoor Area {name}",
|
|
"de": "Innenbereich {name}",
|
|
"nl": "Gebied in gebouw {name}",
|
|
"ca": "Àrea interior {name}"
|
|
}
|
|
},
|
|
{
|
|
"if": "indoor=wall",
|
|
"then": {
|
|
"en": "Indoor Wall {name}",
|
|
"de": "Innenwand {name}",
|
|
"nl": "Muur in gebouw {name}",
|
|
"ca": "Paret interior {name}"
|
|
}
|
|
},
|
|
{
|
|
"if": "indoor=corridor",
|
|
"then": {
|
|
"en": "Indoor Corridor {name}",
|
|
"de": "Innengang {name}",
|
|
"nl": "Gang in gebouw {name}",
|
|
"ca": "Passadis interior {name}"
|
|
}
|
|
},
|
|
{
|
|
"if": "indoor=door",
|
|
"then": {
|
|
"en": "Indoor Door {name}",
|
|
"de": "Innentür {name}",
|
|
"nl": "Binnendeur {name}",
|
|
"ca": "Porta interior {name}"
|
|
}
|
|
},
|
|
{
|
|
"if": "indoor=level",
|
|
"then": {
|
|
"en": "Indoor Level {name}",
|
|
"de": "Geschoss {name}",
|
|
"nl": "Verdieping in gebouw {name}"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"minzoom": 13,
|
|
"tagRenderings": [
|
|
"images",
|
|
{
|
|
"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ó?"
|
|
},
|
|
"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}"
|
|
},
|
|
"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')"
|
|
}
|
|
},
|
|
"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ó?"
|
|
},
|
|
"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}"
|
|
},
|
|
"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ó"
|
|
}
|
|
},
|
|
"condition": {
|
|
"or": [
|
|
"indoor=room",
|
|
"indoor=area",
|
|
"indoor=corridor"
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"mapRendering": [
|
|
{
|
|
"color": "#d3d7d588",
|
|
"width": "8",
|
|
"offset": "-4",
|
|
"fill": "no"
|
|
},
|
|
{
|
|
"color": "#4f5551",
|
|
"fill": "no",
|
|
"width": "2"
|
|
},
|
|
{
|
|
"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"
|
|
],
|
|
"icon": {
|
|
"mappings": [
|
|
{
|
|
"if": {
|
|
"or": [
|
|
"room=adminstration",
|
|
"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"
|
|
}
|
|
]
|
|
}
|