529 lines
No EOL
15 KiB
JSON
529 lines
No EOL
15 KiB
JSON
{
|
|
"id": "street_lighting",
|
|
"maintainer": "Robin van der Linde",
|
|
"version": "20211019",
|
|
"language": [
|
|
"en",
|
|
"nl"
|
|
],
|
|
"title": {
|
|
"en": "Street Lighting",
|
|
"nl": "Straatverlichting"
|
|
},
|
|
"description": {
|
|
"en": "A theme showing information about street lamps, like light type, mounting, light colour and much more.",
|
|
"nl": "Een thema met details over straatlantaarns zoals verlichtingstype, montage, lichtkleur en veel meer."
|
|
},
|
|
"icon": "./assets/themes/street_lighting/street_lamp.svg",
|
|
"startZoom": 19,
|
|
"startLat": 52.99319,
|
|
"startLon": 6.56113,
|
|
"layers": [
|
|
{
|
|
"id": "streetlamps",
|
|
"name": {
|
|
"en": "Street Lamps",
|
|
"nl": "Straatlantaarns"
|
|
},
|
|
"source": {
|
|
"osmTags": "highway=street_lamp"
|
|
},
|
|
"minZoom": 16,
|
|
"title": {
|
|
"render": {
|
|
"en": "Street Lamp",
|
|
"nl": "Straatlantaarn"
|
|
},
|
|
"mappings": [
|
|
{
|
|
"if": "ref~*",
|
|
"then": {
|
|
"en": "Street Lamp {ref}",
|
|
"nl": "Straatlantaarn {ref}"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"icon": "./assets/themes/street_lighting/street_lamp.svg",
|
|
"iconOverlays": [
|
|
{
|
|
"if": "light:colour=white",
|
|
"then": "circle:white",
|
|
"badge": true
|
|
},
|
|
{
|
|
"if": "light:colour=orange",
|
|
"then": "circle:#FFB000",
|
|
"badge": true
|
|
},
|
|
{
|
|
"if": "light:colour=green",
|
|
"then": "circle:#55FF55",
|
|
"badge": true
|
|
}
|
|
],
|
|
"presets": [
|
|
{
|
|
"title": {
|
|
"en": "street lamp",
|
|
"nl": "straatlantaarn"
|
|
},
|
|
"tags": [
|
|
"highway=street_lamp"
|
|
],
|
|
"preciseInput": true
|
|
}
|
|
],
|
|
"tagRenderings": [
|
|
{
|
|
"id": "ref",
|
|
"render": {
|
|
"en": "This street lamp has the reference number {ref}",
|
|
"nl": "Deze straatlantaarn heeft het nummer {ref}"
|
|
},
|
|
"question": {
|
|
"en": "What is the reference number of this street lamp?",
|
|
"nl": "Wat is het nummer van deze straatlantaarn?"
|
|
},
|
|
"freeform": {
|
|
"key": "ref"
|
|
}
|
|
},
|
|
{
|
|
"id": "support",
|
|
"question": {
|
|
"en": "How is this street lamp mounted?",
|
|
"nl": "Hoe is deze straatlantaarn gemonteerd?"
|
|
},
|
|
"mappings": [
|
|
{
|
|
"if": "support=catenary",
|
|
"then": {
|
|
"en": "This lamp is suspended using cables",
|
|
"nl": "Deze lantaarn hangt aan kabels"
|
|
}
|
|
},
|
|
{
|
|
"if": "support=ceiling",
|
|
"then": {
|
|
"en": "This lamp is mounted on a ceiling",
|
|
"nl": "Deze lantaarn hangt aan een plafond"
|
|
}
|
|
},
|
|
{
|
|
"if": "support=ground",
|
|
"then": {
|
|
"en": "This lamp is mounted in the ground",
|
|
"nl": "Deze lantaarn zit in de grond"
|
|
}
|
|
},
|
|
{
|
|
"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)"
|
|
}
|
|
},
|
|
{
|
|
"if": "support=pole",
|
|
"then": {
|
|
"en": "This lamp is mounted on a pole",
|
|
"nl": "Deze lantaarn zit op een paal"
|
|
}
|
|
},
|
|
{
|
|
"if": "support=wall",
|
|
"then": {
|
|
"en": "This lamp is mounted directly to the wall",
|
|
"nl": "Deze lantaarn hangt direct aan de muur"
|
|
}
|
|
},
|
|
{
|
|
"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"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "lamp_mount",
|
|
"question": {
|
|
"en": "How is this lamp mounted to the pole?",
|
|
"nl": "Hoe zit deze lantaarn aan de paal?"
|
|
},
|
|
"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"
|
|
}
|
|
},
|
|
{
|
|
"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"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "method",
|
|
"question": {
|
|
"en": "What kind of lighting does this lamp use?",
|
|
"nl": "Wat voor verlichting gebruikt deze lantaarn?"
|
|
},
|
|
"mappings": [
|
|
{
|
|
"if": "light:method=electric",
|
|
"then": {
|
|
"en": "This lamp is lit electrically",
|
|
"nl": "Deze lantaarn is elektrisch verlicht"
|
|
},
|
|
"hideInAnswer": true
|
|
},
|
|
{
|
|
"if": "light:method=LED",
|
|
"then": {
|
|
"en": "This lamp uses LEDs",
|
|
"nl": "Deze lantaarn gebruikt LEDs"
|
|
}
|
|
},
|
|
{
|
|
"if": "light:method=incandescent",
|
|
"then": {
|
|
"en": "This lamp uses incandescent lighting",
|
|
"nl": "Deze lantaarn gebruikt gloeilampen"
|
|
}
|
|
},
|
|
{
|
|
"if": "light:method=halogen",
|
|
"then": {
|
|
"en": "This lamp uses halogen lighting",
|
|
"nl": "Deze lantaarn gebruikt halogeen verlichting"
|
|
}
|
|
},
|
|
{
|
|
"if": "light:method=discharge",
|
|
"then": {
|
|
"en": "This lamp uses discharge lamps (unknown type)",
|
|
"nl": "Deze lantaarn gebruikt gasontladingslampen (onbekend type)"
|
|
}
|
|
},
|
|
{
|
|
"if": "light:method=mercury",
|
|
"then": {
|
|
"en": "This lamp uses a mercury-vapour lamp (lightly blueish)",
|
|
"nl": "Deze lantaarn gebruikt een kwiklamp (enigszins blauwachtig)"
|
|
}
|
|
},
|
|
{
|
|
"if": "light:method=metal-halide",
|
|
"then": {
|
|
"en": "This lamp uses metal-halide lamps (bright white)",
|
|
"nl": "Deze lantaarn gebruikt metaalhalidelampen"
|
|
}
|
|
},
|
|
{
|
|
"if": "light:method=fluorescent",
|
|
"then": {
|
|
"en": "This lamp uses fluorescent lighting",
|
|
"nl": "Deze lantaarn gebruikt fluorescentieverlichting (TL en spaarlamp)"
|
|
}
|
|
},
|
|
{
|
|
"if": "light:method=sodium",
|
|
"then": {
|
|
"en": "This lamp uses sodium lamps (unknown type)",
|
|
"nl": "Deze lantaarn gebruikt natriumlampen (onbekend type)"
|
|
}
|
|
},
|
|
{
|
|
"if": "light:method=low_pressure_sodium",
|
|
"then": {
|
|
"en": "This lamp uses low pressure sodium lamps (monochrome orange)",
|
|
"nl": "Deze lantaarn gebruikt lagedruknatriumlampen (monochroom oranje)"
|
|
}
|
|
},
|
|
{
|
|
"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)"
|
|
}
|
|
},
|
|
{
|
|
"if": "light:method=gas",
|
|
"then": {
|
|
"en": "This lamp is lit using gas",
|
|
"nl": "Deze lantaarn wordt verlicht met gas"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "colour",
|
|
"question": {
|
|
"en": "What colour light does this lamp emit?",
|
|
"nl": "Wat voor kleur licht geeft deze lantaarn?"
|
|
},
|
|
"render": {
|
|
"en": "This lamp emits {light:colour} light",
|
|
"nl": "Deze lantaarn geeft {light:colour} licht"
|
|
},
|
|
"freeform": {
|
|
"key": "light:colour"
|
|
},
|
|
"mappings": [
|
|
{
|
|
"if": "light:colour=white",
|
|
"then": {
|
|
"en": "This lamp emits white light",
|
|
"nl": "Deze lantaarn geeft wit licht"
|
|
}
|
|
},
|
|
{
|
|
"if": "light:colour=green",
|
|
"then": {
|
|
"en": "This lamp emits green light",
|
|
"nl": "Deze lantaarn geeft groen licht"
|
|
}
|
|
},
|
|
{
|
|
"if": "light:colour=orange",
|
|
"then": {
|
|
"en": "This lamp emits orange light",
|
|
"nl": "Deze lantaarn geeft oranje licht"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "count",
|
|
"render": {
|
|
"en": "This lamp has {light:count} fixtures",
|
|
"nl": "Deze lantaarn heeft {light:count} lampen"
|
|
},
|
|
"question": {
|
|
"en": "How many fixtures does this light have?",
|
|
"nl": "Hoeveel lampen heeft deze lantaarn?"
|
|
},
|
|
"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"
|
|
}
|
|
},
|
|
{
|
|
"if": "light:count=2",
|
|
"then": {
|
|
"en": "This lamp has 2 fixtures",
|
|
"nl": "Deze lantaarn heeft 2 lampen"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "lit",
|
|
"question": {
|
|
"en": "When is this lamp lit?",
|
|
"nl": "Wanneer is deze lantaarn verlicht?"
|
|
},
|
|
"mappings": [
|
|
{
|
|
"if": "light:lit=dusk-dawn",
|
|
"then": {
|
|
"en": "This lamp is lit at night",
|
|
"nl": "Deze lantaarn is 's nachts verlicht"
|
|
}
|
|
},
|
|
{
|
|
"if": "light:lit=24/7",
|
|
"then": {
|
|
"en": "This lamp is lit 24/7",
|
|
"nl": "Deze lantaarn is 24/7 verlicht"
|
|
}
|
|
},
|
|
{
|
|
"if": "light:lit=motion",
|
|
"then": {
|
|
"en": "This lamp is lit based on motion",
|
|
"nl": "Deze lantaarn is verlicht op basis van beweging"
|
|
}
|
|
},
|
|
{
|
|
"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)"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "direction",
|
|
"render": {
|
|
"en": "This lamp points towards {light:direction}",
|
|
"nl": "Deze lantaarn is gericht naar {light:direction}"
|
|
},
|
|
"question": {
|
|
"en": "Where does this lamp point to?",
|
|
"nl": "Waar is deze lamp heengericht?"
|
|
},
|
|
"condition": "light:count=1",
|
|
"freeform": {
|
|
"key": "light:direction",
|
|
"type": "direction"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "lit_streets",
|
|
"name": {
|
|
"en": "Lit streets",
|
|
"nl": "Verlichte straten"
|
|
},
|
|
"source": {
|
|
"osmTags": {
|
|
"and": [
|
|
"highway!=",
|
|
"lit!=no",
|
|
"lit!="
|
|
]
|
|
}
|
|
},
|
|
"minZoom": 16,
|
|
"title": {
|
|
"render": {
|
|
"en": "Lit street",
|
|
"nl": "Verlichte straat"
|
|
},
|
|
"mappings": [
|
|
{
|
|
"if": "name~*",
|
|
"then": "{name}"
|
|
}
|
|
]
|
|
},
|
|
"color": "#ff0",
|
|
"tagRenderings": [
|
|
{
|
|
"id": "lit",
|
|
"question": {
|
|
"en": "Is this street lit?",
|
|
"nl": "Is deze straat verlicht?"
|
|
},
|
|
"mappings": [
|
|
{
|
|
"if": "lit=yes",
|
|
"then": {
|
|
"en": "This street is lit",
|
|
"nl": "Deze straat is verlicht"
|
|
}
|
|
},
|
|
{
|
|
"if": "lit=no",
|
|
"then": {
|
|
"en": "This road is not lit",
|
|
"nl": "Deze straat is niet verlicht"
|
|
}
|
|
},
|
|
{
|
|
"if": "lit=sunset-sunrise",
|
|
"then": {
|
|
"en": "This street is lit at night",
|
|
"nl": "Deze straat is 's nachts verlicht"
|
|
},
|
|
"hideInAnswer": true
|
|
},
|
|
{
|
|
"if": "lit=24/7",
|
|
"then": {
|
|
"en": "This street is lit 24/7",
|
|
"nl": "Deze straat is 24/7 verlicht"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"allowSplit": true
|
|
},
|
|
{
|
|
"id": "all_streets",
|
|
"name": {
|
|
"en": "All streets",
|
|
"nl": "Alle straten"
|
|
},
|
|
"source": {
|
|
"osmTags": "highway!="
|
|
},
|
|
"minZoom": 19,
|
|
"title": {
|
|
"render": {
|
|
"en": "Street",
|
|
"nl": "Straat"
|
|
},
|
|
"mappings": [
|
|
{
|
|
"if": "name~*",
|
|
"then": "{name}"
|
|
}
|
|
]
|
|
},
|
|
"color": "#a9a9a9",
|
|
"tagRenderings": [
|
|
{
|
|
"id": "lit",
|
|
"question": {
|
|
"en": "Is this street lit?",
|
|
"nl": "Is deze straat verlicht?"
|
|
},
|
|
"mappings": [
|
|
{
|
|
"if": "lit=yes",
|
|
"then": {
|
|
"en": "This street is lit",
|
|
"nl": "Deze straat is verlicht"
|
|
}
|
|
},
|
|
{
|
|
"if": "lit=no",
|
|
"then": {
|
|
"en": "This road is not lit",
|
|
"nl": "Deze straat is niet verlicht"
|
|
}
|
|
},
|
|
{
|
|
"if": "lit=sunset-sunrise",
|
|
"then": {
|
|
"en": "This street is lit at night",
|
|
"nl": "Deze straat is 's nachts verlicht"
|
|
},
|
|
"hideInAnswer": true
|
|
},
|
|
{
|
|
"if": "lit=24/7",
|
|
"then": {
|
|
"en": "This street is lit 24/7",
|
|
"nl": "Deze straat is 24/7 verlicht"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"allowSplit": true
|
|
}
|
|
]
|
|
} |