mapcomplete/assets/themes/street_lighting/street_lighting.json
2021-10-19 12:11:56 +02:00

381 lines
No EOL
11 KiB
JSON

{
"id": "street_lighting",
"maintainer": "Robin van der Linde",
"version": "20211018",
"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"
}
},
"icon": "./assets/themes/street_lighting/street_lamp.svg",
"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": "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 weg is verlicht"
}
},
{
"if": "lit=no",
"then": {
"en": "This road is not lit",
"nl": "Deze weg is niet verlicht"
}
},
{
"if": "lit=sunset-sunrise",
"then": {
"en": "This road is lit at night",
"nl": "Deze weg is 's nachts verlicht"
},
"hideInAnswer": true
},
{
"if": "lit=24/7",
"then": {
"en": "This road is lit 24/7",
"nl": "Deze weg 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 weg is verlicht"
}
},
{
"if": "lit=no",
"then": {
"en": "This road is not lit",
"nl": "Deze weg is niet verlicht"
}
},
{
"if": "lit=sunset-sunrise",
"then": {
"en": "This road is lit at night",
"nl": "Deze weg is 's nachts verlicht"
},
"hideInAnswer": true
},
{
"if": "lit=24/7",
"then": {
"en": "This road is lit 24/7",
"nl": "Deze weg is 24/7 verlicht"
}
}
]
}
],
"allowSplit": true
}
]
}