252 lines
6.5 KiB
JSON
252 lines
6.5 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}"
|
|
},
|
|
"mappings": [
|
|
{
|
|
"if": "indoor=room",
|
|
"then": {
|
|
"en": "Indoor Room {name}",
|
|
"de": "Innenraum {name}",
|
|
"nl": "Binnenruimte {name}"
|
|
}
|
|
},
|
|
{
|
|
"if": "indoor=area",
|
|
"then": {
|
|
"en": "Indoor Area {name}",
|
|
"de": "Innenbereich {name}",
|
|
"nl": "Gebied in gebouw {name}"
|
|
}
|
|
},
|
|
{
|
|
"if": "indoor=wall",
|
|
"then": {
|
|
"en": "Indoor Wall {name}",
|
|
"de": "Innenwand {name}",
|
|
"nl": "Muur in gebouw {name}"
|
|
}
|
|
},
|
|
{
|
|
"if": "indoor=corridor",
|
|
"then": {
|
|
"en": "Indoor Corridor {name}",
|
|
"de": "Innengang {name}",
|
|
"nl": "Gang in gebouw {name}"
|
|
}
|
|
},
|
|
{
|
|
"if": "indoor=door",
|
|
"then": {
|
|
"en": "Indoor Door {name}",
|
|
"de": "Innentür {name}",
|
|
"nl": "Binnendeur {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 ?"
|
|
},
|
|
"render": {
|
|
"en": "This room has the reference number {ref}",
|
|
"de": "Dieser Raum hat die Raumnummer {ref}",
|
|
"nl": "Deze ruimte heeft het referentienummer {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' )"
|
|
}
|
|
},
|
|
"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": "Как называется эта комната?"
|
|
},
|
|
"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}"
|
|
},
|
|
"freeform": {
|
|
"key": "name",
|
|
"type": "string",
|
|
"placeholder": {
|
|
"en": "Name of the room",
|
|
"de": "Name des Raums",
|
|
"nl": "Naam van de ruimte",
|
|
"ru": "Название комнаты"
|
|
}
|
|
},
|
|
"condition": {
|
|
"or": [
|
|
"indoor=room",
|
|
"indoor=area",
|
|
"indoor=corridor"
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"mapRendering": [
|
|
{
|
|
"color": {
|
|
"render": "#d3d7d588"
|
|
},
|
|
"width": {
|
|
"render": "8"
|
|
},
|
|
"offset": {
|
|
"render": "-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"
|
|
}
|
|
]
|
|
}
|