mapcomplete/assets/layers/surveillance_camera/surveillance_camera.json

631 lines
No EOL
22 KiB
JSON
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"id": "surveillance_camera",
"name": {
"en": "Surveillance camera's",
"nl": "Bewakingscamera's",
"ru": "Камеры наблюдения",
"fr": "Caméras de surveillance",
"it": "Videocamere di sorveglianza",
"de": "Überwachungskameras",
"ca": "Càmeres de videovigilància"
},
"minzoom": 12,
"source": {
"osmTags": {
"and": [
"man_made=surveillance",
{
"or": [
"surveillance:type=camera",
"surveillance:type=ALPR",
"surveillance:type=ANPR"
]
}
]
}
},
"title": {
"render": {
"en": "Surveillance Camera",
"nl": "Bewakingscamera",
"ru": "Камера наблюдения",
"fr": "Caméra de surveillance",
"it": "Videocamera di sorveglianza",
"de": "Überwachungskamera",
"ca": "Càmera de videovigilància",
"da": "Overvågningskamera"
}
},
"tagRenderings": [
"images",
{
"question": {
"en": "What kind of camera is this?",
"nl": "Wat voor soort camera is dit?",
"fr": "Quel genre de caméra est-ce ?",
"it": "Di che tipo di videocamera si tratta?",
"ru": "Какая это камера?",
"de": "Um welchen Kameratyp handelt es sich?",
"ca": "Quin tipus de càmera és aquesta?"
},
"mappings": [
{
"if": {
"and": [
"camera:type=fixed"
]
},
"then": {
"en": "A fixed (non-moving) camera",
"nl": "Een vaste camera",
"fr": "Une caméra fixe (non mobile)",
"it": "Una videocamera fissa (non semovente)",
"de": "Eine fest montierte (nicht bewegliche) Kamera",
"ca": "Una càmera fixa (no movible)"
}
},
{
"if": {
"and": [
"camera:type=dome"
]
},
"then": {
"en": "A dome camera (which can turn)",
"nl": "Een dome (bolvormige camera die kan draaien)",
"fr": "Une caméra dôme (qui peut tourner)",
"it": "Una videocamera a cupola (che può ruotare)",
"ru": "Камера с поворотным механизмом",
"de": "Eine Kuppelkamera (drehbar)",
"ca": "Càmera de cúpula (que pot girar)"
}
},
{
"if": {
"and": [
"camera:type=panning"
]
},
"then": {
"en": "A panning camera",
"nl": "Een camera die (met een motor) van links naar rechts kan draaien",
"ru": "Панорамная камера",
"fr": "Une caméra panoramique",
"it": "Una videocamera panoramica",
"de": "Eine bewegliche Kamera",
"ca": "Una càmera panoràmica"
}
}
],
"id": "Camera type: fixed; panning; dome"
},
{
"question": {
"en": "In which geographical direction does this camera film?",
"nl": "In welke geografische richting filmt deze camera?",
"fr": "Dans quelle direction géographique cette caméra filme-t-elle ?",
"it": "In quale direzione geografica punta questa videocamera?",
"de": "In welche Himmelsrichtung filmt diese Kamera?",
"da": "I hvilken geografisk retning filmer dette kamera?",
"ca": "En quina direcció geogràfica apunta aquesta càmera?"
},
"render": {
"en": "Films to a compass heading of {camera:direction}",
"nl": "Filmt in kompasrichting {camera:direction}",
"fr": "Filme dans une direction {camera:direction}",
"it": "Punta in direzione {camera:direction}",
"de": "filmt in Himmelsrichtung {camera:direction}",
"da": "Filmer til en kompasretning af {camera:direction}",
"ca": "Grava en direcció {camera:direction}"
},
"condition": {
"or": [
"camera:direction~*",
"direction~*",
"camera:type!=dome",
{
"and": [
"camera:type=dome",
"camera:mount=wall"
]
}
]
},
"freeform": {
"key": "camera:direction",
"type": "direction"
},
"mappings": [
{
"if": {
"and": [
"camera:direction=",
"direction~*"
]
},
"then": {
"en": "Films to a compass heading of {direction}",
"nl": "Filmt in kompasrichting {direction}",
"fr": "Filme dans une direction {direction}",
"it": "Punta in direzione {direction}",
"de": "filmt in Himmelsrichtung {direction}",
"da": "Filmer til en kompasretning af {direction}"
},
"hideInAnswer": true
}
],
"id": "camera_direction"
},
{
"freeform": {
"key": "operator"
},
"question": {
"en": "Who operates this CCTV?",
"nl": "Wie beheert deze bewakingscamera?",
"fr": "Qui exploite ce système de vidéosurveillance ?",
"it": "Chi gestisce questa videocamera a circuito chiuso?",
"de": "Wer betreibt diese Kamera?",
"ca": "Qui opera aquest circuit de televisió tancat?"
},
"render": {
"en": "Operated by {operator}",
"nl": "Beheer door {operator}",
"fr": "Exploité par {operator}",
"it": "È gestita da {operator}",
"de": "Betrieben von {operator}",
"ca": "Operat per {operator}"
},
"id": "Operator"
},
{
"question": {
"en": "What kind of surveillance is this camera?",
"nl": "Wat soort bewaking wordt hier uitgevoerd?",
"fr": "De quel genre de surveillance cette caméraest-elle ?",
"it": "Che cosa sorveglia questa videocamera?",
"de": "Was überwacht diese Kamera?",
"da": "Hvilken form for overvågning er dette kamera?",
"ca": "Què vigila aquesta càmera?"
},
"mappings": [
{
"if": {
"and": [
"surveillance=public"
]
},
"then": {
"en": "A public area is surveilled, such as a street, a bridge, a square, a park, a train station, a public corridor or tunnel, …",
"nl": "Bewaking van de publieke ruilmte, dus een straat, een brug, een park, een plein, een stationsgebouw, een publiek toegankelijke gang of tunnel…",
"fr": "Une zone publique est surveillée, telle qu'une rue, un pont, une place, un parc, une gare, un couloir, un tunnel public…",
"it": "Sorveglia un'area pubblica, come una strada, un ponte, una piazza, un parco, una stazione, un passaggio o un sottopasso pubblico, ...",
"de": "Die Kamera überwacht einen öffentlichen Bereich, z. B. Straßen, Brücken, Plätze, Parks, Bahnhöfe, öffentliche Gänge oder Tunnel, …",
"da": "Et offentligt område overvåges, f.eks. en gade, en bro, et torv, en park, en togstation, en offentlig korridor eller en tunnel, …",
"ca": "Es vigila una àrea pública, com un carrer, un pont, una plaça, un parc, una estació de tren, un túnel públic, …"
}
},
{
"if": {
"and": [
"surveillance=outdoor"
]
},
"then": {
"en": "An outdoor, yet private area is surveilled (e.g. a parking lot, a fuel station, courtyard, entrance, private driveway, …)",
"nl": "Een buitenruimte met privaat karakter (zoals een privé-oprit, een parking, tankstation, …)",
"fr": "Une zone extérieure, mais privée, est surveillée (par exemple, un parking, une station-service, une cour, une entrée, une allée privée…)",
"it": "Sorveglia un'area esterna di proprietà privata (un parcheggio, una stazione di servizio, un cortile, un ingresso, un vialetto privato, ...)",
"de": "Die Kamera überwacht einen privaten Außenbereich (z.B. Parkplätze, Tankstellen, Innenhöfe, Eingänge, private Einfahrten, …)",
"da": "Et udendørs, men privat område overvåges (f.eks. en parkeringsplads, en tankstation, en gårdsplads, en indgang, en privat indkørsel, ...)",
"ca": "Es vigila una àrea exterior, encara que privada (p.e. una plaça d'aparcament, una estació de servei, pati, entrada, via d'accés privada, …)"
}
},
{
"if": {
"and": [
"surveillance=indoor"
]
},
"then": {
"nl": "Een private binnenruimte wordt bewaakt, bv. een winkel, een parkeergarage, …",
"en": "A private indoor area is surveilled, e.g. a shop, a private underground parking, …",
"fr": "Une zone intérieure privée est surveillée, par exemple un magasin, un parking souterrain privé…",
"it": "Sorveglia un ambiente interno di proprietà privata, per esempio un negozio, un parcheggio sotterraneo privato, ...",
"de": "Die Kamera überwacht einen privaten Innenbereich, z. B. Geschäfte, private Tiefgaragen, …",
"da": "Et privat indendørs område overvåges, f.eks. en butik, en privat parkeringskælder, …",
"ca": "Es vigila una àrea interior privada, p.e. una botiga, un parking subterrani privat, …"
}
}
],
"id": "Surveillance type: public, outdoor, indoor"
},
{
"question": {
"en": "Is the public space surveilled by this camera an indoor or outdoor space?",
"nl": "Bevindt de bewaakte publieke ruimte camera zich binnen of buiten?",
"fr": "L'espace public surveillé par cette caméra est-il un espace intérieur ou extérieur ?",
"it": "Lo spazio pubblico sorvegliato da questa videocamera è all'aperto o al chiuso?",
"de": "Handelt es sich bei dem von dieser Kamera überwachten öffentlichen Raum um einen Innen- oder Außenbereich?",
"da": "Er det offentlige rum, der overvåges af dette kamera, et indendørs eller udendørs rum?"
},
"condition": {
"and": [
"surveillance:type=public"
]
},
"mappings": [
{
"if": "indoor=yes",
"then": {
"en": "This camera is located indoors",
"nl": "Deze camera bevindt zich binnen",
"fr": "Cette caméra est située à l'intérieur",
"it": "Questa videocamera si trova al chiuso",
"de": "Diese Kamera befindet sich im Innenraum",
"da": "Dette kamera er placeret indendørs"
}
},
{
"if": "indoor=no",
"then": {
"en": "This camera is located outdoors",
"nl": "Deze camera bevindt zich buiten",
"fr": "Cette caméra est située à l'extérieur",
"it": "Questa videocamera si trova all'aperto",
"ru": "Эта камера расположена снаружи",
"de": "Diese Kamera befindet sich im Freien",
"da": "Dette kamera er placeret udendørs"
}
},
{
"if": "indoor=",
"then": {
"en": "This camera is probably located outdoors",
"nl": "Deze camera bevindt zich waarschijnlijk buiten",
"fr": "Cette caméra est probablement située à l'extérieur",
"it": "Questa videocamera si trova probabilmente all'esterno",
"ru": "Возможно, эта камера расположена снаружи",
"de": "Diese Kamera ist möglicherweise im Freien",
"da": "Dette kamera er sandsynligvis placeret udendørs"
},
"hideInAnswer": true
}
],
"id": "is_indoor"
},
{
"question": {
"en": "On which level is this camera located?",
"nl": "Op welke verdieping bevindt deze camera zich?",
"fr": "À quel niveau se trouve cette caméra ?",
"it": "A che piano si trova questa videocamera?",
"de": "Auf welcher Ebene befindet sich diese Kamera?"
},
"render": {
"en": "Located on level {level}",
"nl": "Bevindt zich op verdieping {level}",
"fr": "Situé au niveau {level}",
"it": "Si trova al piano {level}",
"de": "Befindet sich auf Ebene {level}"
},
"freeform": {
"key": "level",
"type": "nat"
},
"condition": {
"or": [
"indoor=yes",
"surveillance:type=ye"
]
},
"id": "Level"
},
{
"question": {
"en": "What exactly is surveilled here?",
"nl": "Wat wordt hier precies bewaakt?",
"fr": "Qu'est-ce qui est surveillé ici ?",
"it": "Che cosa è sorvegliato qui?",
"de": "Was genau wird hier überwacht?",
"da": "Hvad er det præcist, der overvåges her?",
"ca": "Que vigilen exactament aquí?"
},
"freeform": {
"key": "surveillance:zone"
},
"render": {
"en": "Surveills a {surveillance:zone}",
"nl": "Bewaakt een {surveillance:zone}",
"fr": "Surveille un(e) {surveillance:zone}",
"it": " Sorveglia una {surveillance:zone}",
"de": "Überwacht ein/e {surveillance:zone}",
"da": "Overvåger en {surveillance:zone}",
"ca": "Vigila un/a {surveillance:zone}"
},
"mappings": [
{
"if": {
"and": [
"surveillance:zone=parking"
]
},
"then": {
"en": "Surveills a parking",
"nl": "Bewaakt een parking",
"fr": "Surveille un parking",
"it": "Sorveglia un parcheggio",
"de": "Überwacht einen Parkplatz",
"da": "Overvåger en parkeringsplads",
"ca": "Vigilen un aparcament"
}
},
{
"if": {
"and": [
"surveillance:zone=traffic"
]
},
"then": {
"en": "Surveills the traffic",
"nl": "Bewaakt het verkeer",
"fr": "Surveille la circulation",
"it": "Sorveglia il traffico",
"de": "Überwacht den Verkehr",
"da": "Overvåger trafikken",
"ca": "Vigilen el trànsit"
}
},
{
"if": {
"and": [
"surveillance:zone=entrance"
]
},
"then": {
"en": "Surveills an entrance",
"nl": "Bewaakt een ingang",
"fr": "Surveille une entrée",
"it": "Sorveglia un ingresso",
"de": "Überwacht einen Eingang",
"da": "Overvåger en indgang",
"ca": "Vigilen una entrada"
}
},
{
"if": {
"and": [
"surveillance:zone=corridor"
]
},
"then": {
"en": "Surveills a corridor",
"nl": "Bewaakt een gang",
"fr": "Surveille un couloir",
"it": "Sorveglia un corridoio",
"de": "Überwacht einen Gang",
"da": "Overvåger en korridor",
"ca": "Vigilen un corredor"
}
},
{
"if": {
"and": [
"surveillance:zone=public_transport_platform"
]
},
"then": {
"en": "Surveills a public tranport platform",
"nl": "Bewaakt een perron of bushalte",
"fr": "Surveille un quai de transport public",
"it": "Sorveglia una pensilina del trasporto pubblico",
"de": "Überwacht eine Haltestelle",
"da": "Overvejer en offentlig transportplatform",
"ca": "Vigilen una parada de transport públic"
}
},
{
"if": {
"and": [
"surveillance:zone=shop"
]
},
"then": {
"en": "Surveills a shop",
"nl": "Bewaakt een winkel",
"fr": "Surveille un magasin",
"it": "Sorveglia un negozio",
"de": "Überwacht ein Geschäft",
"da": "Overvåger en butik",
"ca": "Vigilen una botiga"
}
}
],
"id": "Surveillance:zone"
},
{
"question": {
"en": "How is this camera placed?",
"nl": "Hoe is deze camera geplaatst?",
"fr": "Comment cette caméra est-elle placée ?",
"it": "Com'è posizionata questa telecamera?",
"ru": "Как расположена эта камера?",
"de": "Woran ist diese Kamera befestigt?",
"da": "Hvordan er dette kamera placeret?",
"ca": "Com està posicionada aquesta càmera?"
},
"render": {
"en": "Mounting method: {camera:mount}",
"nl": "Ophanging: {camera:mount}",
"fr": "Méthode de montage : {camera:mount}",
"it": "Metodo di montaggio: {camera:mount}",
"de": "Montageart: {camera:mount}",
"da": "Monteringsmetode: {camera:mount}"
},
"freeform": {
"key": "camera:mount"
},
"mappings": [
{
"if": "camera:mount=wall",
"then": {
"en": "This camera is placed against a wall",
"nl": "Deze camera hangt aan een muur",
"fr": "Cette caméra est placée contre un mur",
"it": "Questa telecamera è posizionata contro un muro",
"de": "Diese Kamera ist an einer Wand befestigt",
"da": "Dette kamera er placeret op ad en væg",
"ca": "Aquesta càmera està ubicada contra un mur"
}
},
{
"if": "camera:mount=pole",
"then": {
"en": "This camera is placed on a pole",
"nl": "Deze camera staat op een paal",
"fr": "Cette caméra est placée sur un poteau",
"it": "Questa telecamera è posizionata su un palo",
"de": "Diese Kamera ist an einer Stange befestigt",
"da": "Dette kamera er placeret på en stang",
"ca": "Aquesta càmera està posicionada a un pal"
}
},
{
"if": "camera:mount=ceiling",
"then": {
"en": "This camera is placed on the ceiling",
"nl": "Deze camera hangt aan het plafond",
"fr": "Cette caméra est placée au plafond",
"it": "Questa telecamera è posizionata sul soffitto",
"de": "Diese Kamera ist an der Decke befestigt",
"da": "Dette kamera er placeret i loftet",
"ca": "Aquesta càmera està posicionada al sostre"
}
},
{
"if": "camera:mount=street_lamp",
"then": {
"en": "This camera is placed on a street light",
"nl": "Deze camera staat op een straatlantaarn",
"fr": "Cette caméra est placée sur un lampadaire",
"it": "Questa telecamera è posizionata su un lampione",
"de": "Diese Kamera ist an einer Laterne befestigt",
"da": "Dette kamera er placeret på en gadelampe",
"ca": "Aquesta càmera està posicionada a un fanal"
}
},
{
"if": "camera:mount=tree",
"then": {
"en": "This camera is placed on a tree",
"nl": "Deze camera staat op een boom",
"fr": "Cette caméra est placée sur un arbre",
"it": "Questa telecamera è posizionata su un albero",
"de": "Diese Kamera ist an einem Baum befestigt",
"da": "Dette kamera er placeret på et træ",
"ca": "Aquesta càmera està posicionada a un arbre"
}
}
],
"id": "camera:mount"
}
],
"presets": [
{
"tags": [
"man_made=surveillance",
"surveillance:type=camera"
],
"title": {
"en": "a surveillance camera",
"nl": "een bewakingscamera",
"de": "eine Überwachungskamera"
}
},
{
"tags": [
"man_made=surveillance",
"surveillance:type=camera",
"camera:mount=wall"
],
"title": {
"en": "a surveillance camera mounted on a wall",
"nl": "een bewakingscamera gemonteerd op een muur",
"de": "eine an einer Wand montierte Überwachungskamera"
},
"preciseInput": {
"snapToLayer": "walls_and_buildings",
"preferredBackground": [
"photo",
"osmbasedmap",
"map"
]
}
}
],
"mapRendering": [
{
"icon": {
"render": "./assets/themes/surveillance/logo.svg",
"mappings": [
{
"if": "camera:type=dome",
"then": "./assets/themes/surveillance/dome.svg"
},
{
"if": "_direction:leftright=right",
"then": "./assets/themes/surveillance/cam_right.svg"
},
{
"if": "_direction:leftright=left",
"then": "./assets/themes/surveillance/cam_left.svg"
}
]
},
"iconSize": {
"mappings": [
{
"if": "camera:type=dome",
"then": "50,50,center"
},
{
"if": "_direction:leftright~*",
"then": "100,35,center"
}
],
"render": "50,50,center"
},
"location": [
"point",
"centroid"
],
"rotation": {
"#": "Note: {camera:direction} is substituted by a number, giving the string 'calc(123deg + 90deg)' ; it is this string that is used as css property, which interprets the calc",
"render": "calc({_direction:numerical}deg + 90deg)",
"mappings": [
{
"if": "camera:type=dome",
"then": "0"
},
{
"if": "_direction:leftright=right",
"then": "calc({_direction:numerical}deg - 90deg)"
}
]
}
},
{
"color": {
"render": "#f00"
},
"width": {
"render": "8"
}
}
],
"description": {
"en": "This layer shows surveillance cameras and allows a contributor to update information and add new cameras",
"nl": "Deze laag toont bewakingscamera's en laat toe om de informatie te verrijken en om nieuwe camera\"s toe te voegen",
"de": "Diese Ebene zeigt die Überwachungskameras an und ermöglicht es, Informationen zu aktualisieren und neue Kameras hinzuzufügen"
}
}