forked from MapComplete/MapComplete
160 lines
No EOL
3.8 KiB
JSON
160 lines
No EOL
3.8 KiB
JSON
{
|
|
"id": "street_lighting",
|
|
"maintainer": "Robin van der Linde",
|
|
"version": "2021-10-22",
|
|
"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/layers/street_lamps/street_lamp.svg",
|
|
"startZoom": 19,
|
|
"startLat": 52.99319,
|
|
"startLon": 6.56113,
|
|
"layers": [
|
|
"street_lamps",
|
|
{
|
|
"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
|
|
}
|
|
]
|
|
} |