mapcomplete/assets/layers/indoors/indoors.json

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

491 lines
13 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}",
2023-09-19 14:22:52 +02:00
"nl": "Binnenruimte {name}",
"ca": "Àrea interior {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}",
2023-09-16 18:52:42 +02:00
"nl": "Binnenruimte {name}",
2023-09-19 14:22:52 +02:00
"pl": "Wewnętrzne pomieszczenie {name}",
"ca": "Habitació interior {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}",
2023-09-19 14:22:52 +02:00
"nl": "Gebied in gebouw {name}",
"ca": "Àrea interior {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}",
2023-09-19 14:22:52 +02:00
"nl": "Muur in gebouw {name}",
"ca": "Paret interior {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}",
2023-09-19 14:22:52 +02:00
"nl": "Gang in gebouw {name}",
"ca": "Passadis interior {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}",
2023-09-19 14:22:52 +02:00
"nl": "Binnendeur {name}",
"ca": "Porta interior {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
}
]
},
"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>"
}
]
}
],
2022-07-12 15:02:49 +02:00
"minzoom": 13,
"tagRenderings": [
2022-07-28 11:16:45 +02:00
"images",
"level",
2022-07-28 11:16:45 +02:00
{
"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?",
2023-09-16 18:52:42 +02:00
"fr": "Quel est le numéro de référence de cette pièce ?",
2023-09-19 14:22:52 +02:00
"pl": "Jaki jest numer referencyjny tego pomieszczenia?",
"ca": "Quin és el número de referència d'aquesta habitació?"
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}",
2023-09-16 18:52:42 +02:00
"nl": "Deze ruimte heeft het referentienummer {ref}",
2023-09-19 14:22:52 +02:00
"pl": "To pomieszczenie ma numer referencyjny {ref}",
"ca": "Aquesta habitació té el número de referència {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')",
2023-09-19 14:22:52 +02:00
"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')"
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?",
2023-09-19 14:22:52 +02:00
"ru": "Как называется эта комната?",
"ca": "Quin és el nom d'aquesta habitació?"
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}",
2023-09-19 14:22:52 +02:00
"fr": "Cette pièce s'appelle {name}",
"ca": "Aquesta habitació es diu {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",
2023-09-19 14:22:52 +02:00
"ru": "Название комнаты",
"ca": "Nom de l'habitació"
2022-08-03 14:53:26 +02:00
}
},
"condition": {
"or": [
"indoor=room",
"indoor=area",
"indoor=corridor"
]
2022-07-28 11:16:45 +02:00
}
},
{
"id": "room-type",
"question": {
"en": "What type of room is this?"
},
"mappings": [
{
"if": "room=administration",
"then": {
"en": "This is a administrative room"
},
"icon": "./assets/layers/indoors/room_administration.svg"
},
{
"if": "room=auditorium",
"then": {
"en": "This is a auditorium"
},
"icon": "./assets/layers/indoors/room_auditorium.svg"
},
{
"if": "room=bedroom",
"then": {
"en": "This is a bedroom"
},
"icon": "./assets/layers/indoors/room_bedroom.svg"
},
{
"if": "room=chapel",
"then": {
"en": "This is a chapel"
},
"icon": "./assets/layers/indoors/room_chapel.svg"
},
{
"if": "room=class",
"then": {
"en": "This is a classroom"
},
"icon": "./assets/layers/indoors/room_class.svg"
},
{
"if": "room=classroom",
"then": {
"en": "This is a classroom"
},
"icon": "./assets/layers/indoors/room_class.svg",
"hideInAnswer": true
},
{
"if": "room=computer",
"then": {
"en": "This is a computer room"
},
"icon": "./assets/layers/indoors/room_computer.svg"
},
{
"if": "room=conference",
"then": {
"en": "This is a conference room"
},
"icon": "./assets/layers/indoors/room_conference.svg"
},
{
"if": "room=crypt",
"then": {
"en": "This is a crypt"
},
"icon": "./assets/layers/indoors/room_crypt.svg"
},
{
"if": "room=kitchen",
"then": {
"en": "This is a kitchen"
},
"icon": "./assets/layers/indoors/room_kitchen.svg"
},
{
"if": "room=laboratory",
"then": {
"en": "This is a laboratory"
},
"icon": "./assets/layers/indoors/room_laboratory.svg"
},
{
"if": "room=library",
"then": {
"en": "This is a library"
},
"icon": "./assets/layers/indoors/room_library.svg"
},
{
"if": "room=locker",
"then": {
"en": "This is a locker room"
},
"icon": "./assets/layers/indoors/room_locker.svg"
},
{
"if": "room=nursery",
"then": {
"en": "This is a nursery"
},
"icon": "./assets/layers/indoors/room_nursery.svg"
},
{
"if": "room=office",
"then": {
"en": "This is an office"
},
"icon": "./assets/layers/indoors/room_office.svg"
},
{
"if": "room=prison_cell",
"then": {
"en": "This is a prison_cell"
},
"icon": "./assets/layers/indoors/room_prison_cell.svg"
},
{
"if": "room=restaurant",
"then": {
"en": "This is a restaurant"
},
"icon": "./assets/layers/indoors/room_restaurant.svg"
},
{
"if": "room=security_check",
"then": {
"en": "This is a room to perform security checks"
},
"icon": "./assets/layers/indoors/room_security_check.svg"
},
{
"if": "room=sport",
"then": {
"en": "This is a sport room"
},
"icon": "./assets/layers/indoors/room_sport.svg"
},
{
"if": "room=storage",
"then": {
"en": "This is a storage room"
},
"icon": "./assets/layers/indoors/room_storage.svg"
},
{
"if": "room=technical",
"then": {
"en": "This is a technical room"
},
"icon": "./assets/layers/indoors/room_technical.svg"
},
{
"if": "room=toilets",
"then": {
"en": "These are toilets"
},
"icon": "./assets/layers/indoors/room_toilets.svg",
2023-09-30 15:36:19 +02:00
"addExtraTags": [
"amenity=toilets"
]
},
{
"if": "room=waiting",
"then": {
"en": "This is a waiting room"
},
"icon": "./assets/layers/indoors/room_waiting.svg"
}
]
},
{
"id": "room-capacity",
"question": {
"en": "How much people can at most fit in this room?"
},
"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"
},
"freeform": {
"key": "capacity",
"type": "pnat"
}
},
"etymology.wikipedia-etymology",
{
"builtin": "toilet.relevant-questions",
"override": {
"condition": {
2023-09-30 15:36:19 +02:00
"+and": [
"amenity=toilets"
]
}
}
}
2022-07-12 15:02:49 +02:00
],
"mapRendering": [
{
"color": "#d3d7d588",
"width": "8",
"offset": "-4",
2022-07-13 10:53:55 +02:00
"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=administration",
2022-08-03 14:53:26 +02:00
"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
}
]
}