mapcomplete/assets/layers/indoors/indoors.json

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

253 lines
6.5 KiB
JSON
Raw Normal View History

2022-07-12 15:02:49 +02:00
{
"id": "indoors",
"name": {
2022-12-16 13:40:25 +01:00
"en": "Indoors",
2022-07-28 09:30:45 +02:00
"de": "Innenräume",
2022-11-02 13:47:34 +01:00
"nl": "Binnenruimtes",
2023-01-10 19:34:07 +01:00
"pa_PK": "اندروں",
"ca": "Interiors"
2022-07-12 15:02:49 +02:00
},
"description": {
2022-07-27 10:16:11 +02:00
"en": "Basic indoor mapping: shows room outlines",
2022-07-28 09:30:45 +02:00
"de": "Grundlegende Innenraumkartierung: zeigt Umrisse von Räumen",
2023-03-13 20:14:39 +01:00
"nl": "Een basis voor indoor-navigatie: toont binnenruimtes",
2023-03-24 12:23:42 +01:00
"cs": "Základní mapování interiérů: zobrazuje obrysy místností",
"ca": "Mapeig interior bàsic: mostra els contorns de les habitacions"
},
2022-07-12 15:02:49 +02:00
"source": {
"osmTags": {
"or": [
"indoor=room",
"indoor=area",
"indoor=wall",
"indoor=door",
"indoor=level"
]
}
},
"title": {
"render": {
2022-07-27 10:16:11 +02:00
"en": "Indoor area {name}",
2022-07-28 09:30:45 +02:00
"de": "Innenbereich {name}",
"nl": "Binnenruimte {name}"
2022-07-12 15:02:49 +02:00
},
"mappings": [
{
"if": "indoor=room",
2022-07-27 14:57:35 +02:00
"then": {
2022-08-22 22:31:05 +02:00
"en": "Indoor Room {name}",
2022-08-24 03:09:51 +02:00
"de": "Innenraum {name}",
2022-08-22 22:31:05 +02:00
"nl": "Binnenruimte {name}"
2022-07-27 14:57:35 +02:00
}
2022-07-12 15:02:49 +02:00
},
{
"if": "indoor=area",
2022-07-27 14:57:35 +02:00
"then": {
2022-08-22 22:31:05 +02:00
"en": "Indoor Area {name}",
2022-08-24 03:09:51 +02:00
"de": "Innenbereich {name}",
2022-08-22 22:31:05 +02:00
"nl": "Gebied in gebouw {name}"
2022-07-27 14:57:35 +02:00
}
2022-07-12 15:02:49 +02:00
},
{
"if": "indoor=wall",
2022-07-27 14:57:35 +02:00
"then": {
2022-08-22 22:31:05 +02:00
"en": "Indoor Wall {name}",
2022-08-24 03:09:51 +02:00
"de": "Innenwand {name}",
2022-08-22 22:31:05 +02:00
"nl": "Muur in gebouw {name}"
2022-07-27 14:57:35 +02:00
}
2022-07-12 15:02:49 +02:00
},
{
"if": "indoor=corridor",
2022-07-27 14:57:35 +02:00
"then": {
2022-08-22 22:31:05 +02:00
"en": "Indoor Corridor {name}",
2022-08-24 03:09:51 +02:00
"de": "Innengang {name}",
2022-08-22 22:31:05 +02:00
"nl": "Gang in gebouw {name}"
2022-07-27 14:57:35 +02:00
}
2022-07-12 15:02:49 +02:00
},
{
"if": "indoor=door",
2022-07-27 14:57:35 +02:00
"then": {
2022-08-22 22:31:05 +02:00
"en": "Indoor Door {name}",
2022-08-24 03:09:51 +02:00
"de": "Innentür {name}",
2022-08-22 22:31:05 +02:00
"nl": "Binnendeur {name}"
2022-07-27 14:57:35 +02:00
}
2022-07-12 15:02:49 +02:00
},
{
"if": "indoor=level",
2022-07-27 14:57:35 +02:00
"then": {
2022-08-22 22:31:05 +02:00
"en": "Indoor Level {name}",
2022-08-24 03:09:51 +02:00
"de": "Geschoss {name}",
2022-08-22 22:31:05 +02:00
"nl": "Verdieping in gebouw {name}"
2022-07-27 14:57:35 +02:00
}
2022-07-12 15:02:49 +02:00
}
]
},
"minzoom": 13,
"tagRenderings": [
2022-07-28 11:16:45 +02:00
"images",
{
"id": "ref",
2022-08-03 14:53:26 +02:00
"question": {
2022-08-22 22:31:05 +02:00
"en": "What is the reference number of this room?",
2022-08-24 03:09:51 +02:00
"de": "Wie lautet die Nummer dieses Raums?",
2023-04-03 00:33:50 +02:00
"nl": "Wat is het referentienummer van deze ruimte?",
"fr": "Quel est le numéro de référence de cette pièce ?"
2022-08-03 14:53:26 +02:00
},
"render": {
2022-08-22 22:31:05 +02:00
"en": "This room has the reference number {ref}",
2022-08-24 03:09:51 +02:00
"de": "Dieser Raum hat die Raumnummer {ref}",
2022-08-22 22:31:05 +02:00
"nl": "Deze ruimte heeft het referentienummer {ref}"
2022-08-03 14:53:26 +02:00
},
"freeform": {
"key": "ref",
"type": "string",
"placeholder": {
2022-08-22 22:31:05 +02:00
"en": "Reference number of the room (e.g. '1.1' or 'A1')",
2022-08-24 03:09:51 +02:00
"de": "Raumnummer (z.B. '1.1' oder 'A1')",
2022-08-22 22:31:05 +02:00
"nl": "Referentienummer van de ruimte (bv. '1.1' of A1' )"
2022-08-03 14:53:26 +02:00
}
},
"condition": {
"or": [
"indoor=room",
"indoor=area",
"indoor=corridor"
]
}
},
{
"id": "name",
2022-07-30 14:50:35 +02:00
"question": {
2022-08-05 12:45:51 +02:00
"en": "What is the name of this room?",
2022-08-22 22:31:05 +02:00
"de": "Wie lautet der Name dieses Raums?",
2023-02-10 01:49:06 +01:00
"nl": "Wat is de naam van deze ruimte?",
"ru": "Как называется эта комната?"
2022-07-30 14:50:35 +02:00
},
2022-07-28 11:16:45 +02:00
"render": {
2022-08-05 12:45:51 +02:00
"en": "This room is named {name}",
2022-08-22 22:31:05 +02:00
"de": "Der Name des Raums lautet {name}",
2023-02-10 01:49:06 +01:00
"nl": "Deze ruimte heet {name}",
2023-04-03 00:33:50 +02:00
"ru": "Эта комната называется {name}",
"fr": "Cette pièce s'appelle {name}"
2022-07-28 11:16:45 +02:00
},
"freeform": {
2022-08-03 14:53:26 +02:00
"key": "name",
"type": "string",
"placeholder": {
2022-08-22 22:31:05 +02:00
"en": "Name of the room",
2022-08-24 03:09:51 +02:00
"de": "Name des Raums",
2023-02-10 01:49:06 +01:00
"nl": "Naam van de ruimte",
"ru": "Название комнаты"
2022-08-03 14:53:26 +02:00
}
},
"condition": {
"or": [
"indoor=room",
"indoor=area",
"indoor=corridor"
]
2022-07-28 11:16:45 +02:00
}
}
2022-07-12 15:02:49 +02:00
],
"mapRendering": [
{
"color": {
"render": "#d3d7d588"
2022-07-12 15:02:49 +02:00
},
"width": {
2022-07-13 10:53:55 +02:00
"render": "8"
2022-07-12 15:02:49 +02:00
},
"offset": {
2022-07-13 10:53:55 +02:00
"render": "-4"
},
"fill": "no"
},
{
2022-07-26 16:58:51 +02:00
"color": "#4f5551",
2022-07-13 10:53:55 +02:00
"fill": "no",
"width": "2"
},
{
"label": {
"render": "<div style='margin-top: -20px; color:#013220; background:white' class='rounded-full p-1 font-bold'>{name}</div>",
2022-08-03 15:14:24 +02:00
"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>"
}
]
2022-07-13 10:53:55 +02:00
},
"location": [
"point",
"centroid"
2022-07-27 14:57:35 +02:00
],
"icon": {
"mappings": [
{
2022-08-03 14:53:26 +02:00
"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"
2022-07-27 14:57:35 +02:00
},
{
"if": "room=toilet",
2022-08-03 13:04:20 +02:00
"then": "./assets/layers/indoors/room_toilets.svg"
2022-07-27 14:57:35 +02:00
}
]
},
"iconSize": "15,15",
"anchor": "bottom"
2022-07-12 15:02:49 +02:00
}
]
}