503 lines
18 KiB
JSON
503 lines
18 KiB
JSON
{
|
|
"id": "street_lamps",
|
|
"name": {
|
|
"en": "Street Lamps",
|
|
"nl": "Straatlantaarns",
|
|
"de": "Straßenlaternen",
|
|
"es": "Farolas",
|
|
"ca": "Fanals"
|
|
},
|
|
"source": {
|
|
"osmTags": "highway=street_lamp"
|
|
},
|
|
"minzoom": 16,
|
|
"title": {
|
|
"render": {
|
|
"en": "Street Lamp",
|
|
"nl": "Straatlantaarn",
|
|
"de": "Straßenlaterne",
|
|
"es": "Lámpara Callejera"
|
|
},
|
|
"mappings": [
|
|
{
|
|
"if": "ref~*",
|
|
"then": {
|
|
"en": "Street Lamp {ref}",
|
|
"nl": "Straatlantaarn {ref}",
|
|
"de": "Straßenlaterne {ref}",
|
|
"es": "Lámpara Callejera {ref}"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"mapRendering": [
|
|
{
|
|
"location": [
|
|
"point",
|
|
"centroid"
|
|
],
|
|
"icon": "./assets/layers/street_lamps/street_lamp.svg",
|
|
"iconBadges": [
|
|
{
|
|
"if": "light:colour~*",
|
|
"then": "circle:{light:colour}"
|
|
}
|
|
],
|
|
"iconSize": "40,40",
|
|
"anchor": "bottom"
|
|
}
|
|
],
|
|
"presets": [
|
|
{
|
|
"title": {
|
|
"en": "a street lamp",
|
|
"nl": "een straatlantaarn",
|
|
"de": "eine Straßenlaterne",
|
|
"es": "una farola",
|
|
"ca": "un fanal"
|
|
},
|
|
"tags": [
|
|
"highway=street_lamp"
|
|
]
|
|
}
|
|
],
|
|
"tagRenderings": [
|
|
"images",
|
|
{
|
|
"id": "ref",
|
|
"render": {
|
|
"en": "This street lamp has the reference number {ref}",
|
|
"nl": "Deze straatlantaarn heeft het nummer {ref}",
|
|
"de": "Diese Straßenlaterne hat die Referenznummer {ref}",
|
|
"es": "Esta lámpara callejera tiene el número de referencia {ref}"
|
|
},
|
|
"question": {
|
|
"en": "What is the reference number of this street lamp?",
|
|
"nl": "Wat is het nummer van deze straatlantaarn?",
|
|
"de": "Wie lautet die Referenznummer dieser Straßenlaterne?",
|
|
"es": "¿Cual es el número de referencia de esta lámpara callejera?",
|
|
"ca": "Quin és el número de referència d'aquest fanal?"
|
|
},
|
|
"freeform": {
|
|
"key": "ref"
|
|
}
|
|
},
|
|
{
|
|
"id": "support",
|
|
"question": {
|
|
"en": "How is this street lamp mounted?",
|
|
"nl": "Hoe is deze straatlantaarn gemonteerd?",
|
|
"de": "Wie ist diese Straßenlaterne befestigt?",
|
|
"es": "¿Cómo está montada esta lámpara?"
|
|
},
|
|
"mappings": [
|
|
{
|
|
"if": "support=catenary",
|
|
"then": {
|
|
"en": "This lamp is suspended using cables",
|
|
"nl": "Deze lantaarn hangt aan kabels",
|
|
"de": "Die Straßenlaterne ist an einem Kabel befestigt",
|
|
"es": "Esta lámpara se suspende utilizando cables"
|
|
}
|
|
},
|
|
{
|
|
"if": "support=ceiling",
|
|
"then": {
|
|
"en": "This lamp is mounted on a ceiling",
|
|
"nl": "Deze lantaarn hangt aan een plafond",
|
|
"de": "Die Straßenlaterne ist an einer Decke befestigt",
|
|
"es": "Esta lámpara está montada en un techo"
|
|
}
|
|
},
|
|
{
|
|
"if": "support=ground",
|
|
"then": {
|
|
"en": "This lamp is mounted in the ground",
|
|
"nl": "Deze lantaarn zit in de grond",
|
|
"de": "Die Straßenlaterne ist am Boden befestigt",
|
|
"es": "Esta lámpara está montada en el suelo"
|
|
}
|
|
},
|
|
{
|
|
"if": "support=pedestal",
|
|
"then": {
|
|
"en": "This lamp is mounted on a short pole (mostly < 1.5m)",
|
|
"nl": "Deze lantaarn zit op een korte paal (meestal < 1.5m)",
|
|
"de": "Die Straßenlaterne ist an einem kurzen Mast (< 1,5m) befestigt",
|
|
"es": "Esta lámpara está montada en un poste corto (mayoritariamente < 1.5m)"
|
|
}
|
|
},
|
|
{
|
|
"if": "support=pole",
|
|
"then": {
|
|
"en": "This lamp is mounted on a pole",
|
|
"nl": "Deze lantaarn zit op een paal",
|
|
"de": "Die Straßenlaterne ist an einem Mast befestigt",
|
|
"es": "Esta lámpara está montada en un poste",
|
|
"ca": "Aquest fanal està muntat en un pal"
|
|
}
|
|
},
|
|
{
|
|
"if": "support=wall",
|
|
"then": {
|
|
"en": "This lamp is mounted directly to the wall",
|
|
"nl": "Deze lantaarn hangt direct aan de muur",
|
|
"de": "Die Straßenlaterne ist direkt an der Wand befestigt",
|
|
"es": "Esta lámpara está montada directamente en la pared"
|
|
}
|
|
},
|
|
{
|
|
"if": "support=wall_mount",
|
|
"then": {
|
|
"en": "This lamp is mounted to the wall using a metal bar",
|
|
"nl": "Deze lantaarn hangt aan de muur met een metalen balk",
|
|
"de": "Die Straßenlaterne ist mit einer Metallstange an der Wand befestigt",
|
|
"es": "Esta lámpara está montada en la pared utilizando una barra metálica",
|
|
"ca": "Aquest fanal està muntat a la paret utilitzat una barra metàl·lica"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "lamp_mount",
|
|
"question": {
|
|
"en": "How is this lamp mounted to the pole?",
|
|
"nl": "Hoe zit deze lantaarn aan de paal?",
|
|
"de": "Wie ist diese Straßenlaterne am Mast befestigt?",
|
|
"es": "¿Cómo está montada esta lámpara al poste?",
|
|
"ca": "Com està muntat aquest fanal al pal?"
|
|
},
|
|
"condition": "support=pole",
|
|
"mappings": [
|
|
{
|
|
"if": "lamp_mount=straight_mast",
|
|
"then": {
|
|
"en": "This lamp sits atop of a straight mast",
|
|
"nl": "Deze lantaarn zit boven op een rechte paal",
|
|
"de": "Diese Straßenlaterne sitzt auf einem geraden Mast",
|
|
"es": "Esta lampara está encima de un mástil recto",
|
|
"ca": "Aquest fanal es troba al final d'un pal recte"
|
|
}
|
|
},
|
|
{
|
|
"if": "lamp_mount=bent_mast",
|
|
"then": {
|
|
"en": "This lamp sits at the end of a bent mast",
|
|
"nl": "Deze lantaarn zit aan het eind van een gebogen paal",
|
|
"de": "Diese Straßenlaterne sitzt am Ende eines gebogenen Mastes",
|
|
"es": "Esta lámpara está encima de un mástil curvado",
|
|
"ca": "Aquest fanal es troba al final d'un pal doblegat"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "method",
|
|
"question": {
|
|
"en": "What kind of lighting does this lamp use?",
|
|
"nl": "Wat voor verlichting gebruikt deze lantaarn?",
|
|
"de": "Mit welcher Art von Beleuchtung arbeitet diese Straßenlaterne?",
|
|
"es": "¿Qué tipo de iluminación utiliza esta lámpara?",
|
|
"ca": "Quin tipus d'il·luminació utilitza aquest fanal?"
|
|
},
|
|
"mappings": [
|
|
{
|
|
"if": "light:method=electric",
|
|
"then": {
|
|
"en": "This lamp is lit electrically",
|
|
"nl": "Deze lantaarn is elektrisch verlicht",
|
|
"de": "Diese Straßenlaterne leuchtet elektrisch",
|
|
"es": "Esta lámpara se ilumina eléctricamente"
|
|
},
|
|
"hideInAnswer": true
|
|
},
|
|
{
|
|
"if": "light:method=LED",
|
|
"then": {
|
|
"en": "This lamp uses LEDs",
|
|
"nl": "Deze lantaarn gebruikt LEDs",
|
|
"de": "Diese Straßenlaterne verwendet LEDs",
|
|
"es": "Esta lámpara utiliza LEDs",
|
|
"ca": "Aquest fanal utilitza LED"
|
|
}
|
|
},
|
|
{
|
|
"if": "light:method=incandescent",
|
|
"then": {
|
|
"en": "This lamp uses incandescent lighting",
|
|
"nl": "Deze lantaarn gebruikt gloeilampen",
|
|
"de": "Diese Straßenlaterne verwendet Glühlampenlicht",
|
|
"es": "Esta lámpara utiliza iluminación incandescente",
|
|
"ca": "Aquest fanal utilitza il·luminació incandescent"
|
|
}
|
|
},
|
|
{
|
|
"if": "light:method=halogen",
|
|
"then": {
|
|
"en": "This lamp uses halogen lighting",
|
|
"nl": "Deze lantaarn gebruikt halogeen verlichting",
|
|
"de": "Diese Straßenlaterne verwendet Halogenlicht",
|
|
"es": "Esta lámpara utiliza iluminación halógena",
|
|
"ca": "Aquest fanal utilitza il·luminació halògena"
|
|
}
|
|
},
|
|
{
|
|
"if": "light:method=discharge",
|
|
"then": {
|
|
"en": "This lamp uses discharge lamps (unknown type)",
|
|
"nl": "Deze lantaarn gebruikt gasontladingslampen (onbekend type)",
|
|
"de": "Diese Straßenlaterne verwendet Entladungslampen (unbekannter Typ)",
|
|
"es": "Esta lámpara utiliza lámparas de descarga (de tipo desconocido)",
|
|
"ca": "Aquest fanal utilitza làmpades de descàrrega (tipus desconegut)"
|
|
}
|
|
},
|
|
{
|
|
"if": "light:method=mercury",
|
|
"then": {
|
|
"en": "This lamp uses a mercury-vapour lamp (lightly blueish)",
|
|
"nl": "Deze lantaarn gebruikt een kwiklamp (enigszins blauwachtig)",
|
|
"de": "Diese Straßenlaterne verwendet eine Quecksilberdampflampe (leicht bläulich)",
|
|
"es": "Esta lámpara utiliza una lámpara de vapor de mercurio (levemente azulada)",
|
|
"ca": "Aquest fanal utilitza una làmpada de vapor de mercuri (lleugerament blau)"
|
|
}
|
|
},
|
|
{
|
|
"if": "light:method=metal-halide",
|
|
"then": {
|
|
"en": "This lamp uses metal-halide lamps (bright white)",
|
|
"nl": "Deze lantaarn gebruikt metaalhalidelampen",
|
|
"de": "Diese Straßenlaterne verwendet Halogen-Metalldampflampen (hellweiß)",
|
|
"ca": "Aquest fanal utilitza làmpades d'halogenurs metàl·lics (blanc brillant)"
|
|
}
|
|
},
|
|
{
|
|
"if": "light:method=fluorescent",
|
|
"then": {
|
|
"en": "This lamp uses fluorescent lighting",
|
|
"nl": "Deze lantaarn gebruikt fluorescentieverlichting (TL en spaarlamp)",
|
|
"de": "Diese Straßenlaterne verwendet Leuchtstoffröhren",
|
|
"es": "Esta lámpara utiliza iluminación fluorescente",
|
|
"ca": "Aquest fanal utilitza il·luminació fluorescent"
|
|
}
|
|
},
|
|
{
|
|
"if": "light:method=sodium",
|
|
"then": {
|
|
"en": "This lamp uses sodium lamps (unknown type)",
|
|
"nl": "Deze lantaarn gebruikt natriumlampen (onbekend type)",
|
|
"de": "Diese Straßenlaterne verwendet Natriumdampflampen (unbekannter Typ)",
|
|
"es": "Esta lámpara utiliza lámparas de sodio (de tipo desconocido)",
|
|
"ca": "Aquest fanal utilitza làmpades de sodi (tipus desconegut)"
|
|
}
|
|
},
|
|
{
|
|
"if": "light:method=low_pressure_sodium",
|
|
"then": {
|
|
"en": "This lamp uses low pressure sodium lamps (monochrome orange)",
|
|
"nl": "Deze lantaarn gebruikt lagedruknatriumlampen (monochroom oranje)",
|
|
"de": "Diese Straßenlaterne verwendet Niederdruck-Natriumdampflampen (einfarbig orange)",
|
|
"es": "Esta lámpara utiliza lámparas de sodio de baja presión (naranja monocromo)",
|
|
"ca": "Aquest fanal utilitza làmpades de sodi de baixa pressió (taronja monocroma)"
|
|
}
|
|
},
|
|
{
|
|
"if": "light:method=high_pressure_sodium",
|
|
"then": {
|
|
"en": "This lamp uses high pressure sodium lamps (orange with white)",
|
|
"nl": "Deze lantaarn gebruikt hogedruknatriumlampen (oranje met wit)",
|
|
"de": "Diese Straßenlaterne verwendet Hochdruck-Natriumdampflampen (orange mit weiß)",
|
|
"es": "Esta lámpara utiliza lámparas de sodio de alta presión (naranja con blanco)",
|
|
"ca": "Aquest fanal utilitza làmpades de sodi d'alta pressió (taronja amb blanc)"
|
|
}
|
|
},
|
|
{
|
|
"if": "light:method=gas",
|
|
"then": {
|
|
"en": "This lamp is lit using gas",
|
|
"nl": "Deze lantaarn wordt verlicht met gas",
|
|
"de": "Diese Straßenlaterne wird mit Gas beleuchtet",
|
|
"es": "Esta lampara se ilumina con gas",
|
|
"ca": "Aquest fanal s'il·lumina amb gas"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "colour",
|
|
"question": {
|
|
"en": "What colour light does this lamp emit?",
|
|
"nl": "Wat voor kleur licht geeft deze lantaarn?",
|
|
"de": "Welche Lichtfarbe strahlt diese Lampe aus?",
|
|
"es": "¿De qué color es la luz que emite esta lámpara?",
|
|
"ca": "Quin color de llum emet aquest fanal?"
|
|
},
|
|
"render": {
|
|
"en": "This lamp emits {light:colour} light",
|
|
"nl": "Deze lantaarn geeft {light:colour} licht",
|
|
"de": "Diese Lampe strahlt {light:colour} Licht aus",
|
|
"es": "Esta lámpara emite luz {light:colour}"
|
|
},
|
|
"freeform": {
|
|
"key": "light:colour",
|
|
"type": "color"
|
|
},
|
|
"mappings": [
|
|
{
|
|
"if": "light:colour=white",
|
|
"then": {
|
|
"en": "This lamp emits white light",
|
|
"nl": "Deze lantaarn geeft wit licht",
|
|
"de": "Diese Lampe strahlt weißes Licht aus",
|
|
"es": "Esta lámpara emite luz blanca",
|
|
"ca": "Aquest fanal emet llum blanca"
|
|
}
|
|
},
|
|
{
|
|
"if": "light:colour=green",
|
|
"then": {
|
|
"en": "This lamp emits green light",
|
|
"nl": "Deze lantaarn geeft groen licht",
|
|
"de": "Diese Lampe strahlt grünes Licht aus",
|
|
"es": "Esta lámpara emite luz verde",
|
|
"ca": "Aquest fanal emet llum verda"
|
|
}
|
|
},
|
|
{
|
|
"if": "light:colour=orange",
|
|
"then": {
|
|
"en": "This lamp emits orange light",
|
|
"nl": "Deze lantaarn geeft oranje licht",
|
|
"de": "Diese Lampe strahlt orangefarbenes Licht aus",
|
|
"es": "Esta lámpara emite luz naranja",
|
|
"ca": "Aquest fanal emet llum taronja"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "count",
|
|
"render": {
|
|
"en": "This lamp has {light:count} fixtures",
|
|
"nl": "Deze lantaarn heeft {light:count} lampen",
|
|
"de": "Diese Straßenlaterne hat {light:count} Leuchten"
|
|
},
|
|
"question": {
|
|
"en": "How many fixtures does this light have?",
|
|
"nl": "Hoeveel lampen heeft deze lantaarn?",
|
|
"de": "Wie viele Leuchten hat diese Straßenlaterne?",
|
|
"ca": "Quants accessoris té aquest fanal?"
|
|
},
|
|
"condition": "support=pole",
|
|
"freeform": {
|
|
"key": "light:count",
|
|
"type": "pnat"
|
|
},
|
|
"mappings": [
|
|
{
|
|
"if": "light:count=1",
|
|
"then": {
|
|
"en": "This lamp has 1 fixture",
|
|
"nl": "Deze lantaarn heeft 1 lamp",
|
|
"de": "Diese Straßenlaterne hat 1 Leuchte",
|
|
"es": "",
|
|
"ca": "Aquest fanal té 1 aparell"
|
|
}
|
|
},
|
|
{
|
|
"if": "light:count=2",
|
|
"then": {
|
|
"en": "This lamp has 2 fixtures",
|
|
"nl": "Deze lantaarn heeft 2 lampen",
|
|
"de": "Diese Straßenlaterne hat 2 Leuchten",
|
|
"ca": "Aquest fanal té 2 aparells"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "lit",
|
|
"question": {
|
|
"en": "When is this lamp lit?",
|
|
"nl": "Wanneer is deze lantaarn verlicht?",
|
|
"de": "Wann leuchtet diese Straßenlaterne?",
|
|
"es": "¿Cuándo se ilumina esta lámpara?",
|
|
"ca": "Quan s'encén aquest fanal?"
|
|
},
|
|
"mappings": [
|
|
{
|
|
"if": "light:lit=dusk-dawn",
|
|
"then": {
|
|
"en": "This lamp is lit at night",
|
|
"nl": "Deze lantaarn is 's nachts verlicht",
|
|
"de": "Diese Straßenlaterne leuchtet nachts",
|
|
"es": "Esta lámpara está iluminada por la noche",
|
|
"ca": "Aquest fanal s'encén a la nit"
|
|
}
|
|
},
|
|
{
|
|
"if": "light:lit=24/7",
|
|
"then": {
|
|
"en": "This lamp is lit 24/7",
|
|
"nl": "Deze lantaarn is 24/7 verlicht",
|
|
"de": "Diese Straßenlaterne leuchtet durchgehend",
|
|
"es": "Esta lámpara está iluminada 24/7",
|
|
"ca": "Aquest fanal està encès les 24 hores del dia"
|
|
}
|
|
},
|
|
{
|
|
"if": "light:lit=motion",
|
|
"then": {
|
|
"en": "This lamp is lit based on motion",
|
|
"nl": "Deze lantaarn is verlicht op basis van beweging",
|
|
"de": "Diese Straßenlaterne leuchtet bewegungsgesteuert",
|
|
"es": "Esta lámpara se ilumina con el movimiento",
|
|
"ca": "Aquest fanal s'encén en funció del moviment"
|
|
}
|
|
},
|
|
{
|
|
"if": "light:lit=demand",
|
|
"then": {
|
|
"en": "This lamp is lit based on demand (e.g. with a pushbutton)",
|
|
"nl": "Deze lantaarn is verlicht op verzoek (bijv. met een drukknop)",
|
|
"de": "Diese Straßenlaterne leuchtet bei Bedarf (z. B. mit einem Taster)",
|
|
"es": "Esta lámpara se ilumina bajo demanda (ej. con un pulsador)",
|
|
"ca": "Aquest fanal s'encén segons la demanda (per exemple, amb un polsador)"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "direction",
|
|
"render": {
|
|
"en": "This lamp points towards {light:direction}",
|
|
"nl": "Deze lantaarn is gericht naar {light:direction}",
|
|
"de": "Diese Straßenlaterne leuchtet in Richtung {light:direction}",
|
|
"es": "Esta lámpara apunta hacia {light:direction}",
|
|
"ca": "Aquest fanal apunta cap a {light:direction}"
|
|
},
|
|
"question": {
|
|
"en": "Where does this lamp point to?",
|
|
"nl": "Waar is deze lamp heengericht?",
|
|
"de": "Wohin leuchtet diese Straßenlaterne?",
|
|
"es": "¿Hacia donde apunta esta lámpara?",
|
|
"ca": "Cap a on apunta aquest fanal?"
|
|
},
|
|
"condition": "light:count=1",
|
|
"freeform": {
|
|
"key": "light:direction",
|
|
"type": "direction"
|
|
}
|
|
}
|
|
],
|
|
"deletion": {},
|
|
"allowMove": {
|
|
"enableImproveAccuracy": true,
|
|
"enableRelocation": false
|
|
},
|
|
"description": {
|
|
"en": "A layer showing street lights",
|
|
"nl": "Een laag die alle straatlantaarns toont",
|
|
"de": "Eine Ebene mit Straßenbeleuchtung",
|
|
"es": "Una capa que muestra luces callejeras"
|
|
}
|
|
}
|