mapcomplete/assets/themes/street_lighting/street_lighting.json

187 lines
4.2 KiB
JSON
Raw Normal View History

{
"id": "street_lighting",
"maintainer": "Robin van der Linde",
"version": "2021-10-22",
"language": [
"en",
2021-11-25 17:59:12 +01:00
"nl",
"ru"
],
"title": {
"en": "Street Lighting",
2021-11-25 17:59:12 +01:00
"nl": "Straatverlichting",
"ru": "Уличное освещение"
},
"description": {
"en": "On this map you can find everything about street lighting",
"nl": "Op deze kaart vind je alles over straatlantaarns"
},
"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!=",
"service!=driveway"
]
}
},
"minZoom": 16,
"title": {
"render": {
"en": "Lit street",
"nl": "Verlichte straat"
},
"mappings": [
{
"if": "name~*",
"then": "{name}"
}
]
},
2021-11-03 11:58:14 +01:00
"mapRendering": [
{
"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",
2021-10-19 12:14:31 +02:00
"nl": "Deze straat is verlicht"
}
},
{
"if": "lit=no",
"then": {
2021-11-04 17:27:45 +01:00
"en": "This street is not lit",
2021-10-19 12:14:31 +02:00
"nl": "Deze straat is niet verlicht"
}
},
{
"if": "lit=sunset-sunrise",
"then": {
2021-10-19 12:14:31 +02:00
"en": "This street is lit at night",
"nl": "Deze straat is 's nachts verlicht"
},
"hideInAnswer": true
},
{
"if": "lit=24/7",
"then": {
2021-10-19 12:14:31 +02:00
"en": "This street is lit 24/7",
"nl": "Deze straat is 24/7 verlicht"
}
}
]
}
],
"allowSplit": true
},
{
"id": "all_streets",
"name": {
"en": "All streets",
2021-11-25 17:59:12 +01:00
"nl": "Alle straten",
"ru": "Все улицы"
},
"source": {
"osmTags": {
2021-11-07 15:44:22 +01:00
"and": [
"highway!=",
"service!=driveway",
"highway!=platform"
]
}
},
"minZoom": 19,
"title": {
"render": {
"en": "Street",
2021-11-25 17:59:12 +01:00
"nl": "Straat",
"ru": "Улица"
},
"mappings": [
{
"if": "name~*",
"then": "{name}"
}
]
},
2021-11-03 11:58:14 +01:00
"mapRendering": [
{
"color": {
2021-11-07 15:44:22 +01:00
"render": "#a9a9a9",
"mappings": [
{
2021-11-07 15:44:22 +01:00
"if": "lit=no",
"then": "#303030"
}
]
}
2021-11-03 11:58:14 +01:00
}
],
"tagRenderings": [
{
"id": "lit",
"question": {
"en": "Is this street lit?",
"nl": "Is deze straat verlicht?"
},
"mappings": [
{
"if": "lit=yes",
"then": {
"en": "This street is lit",
2021-10-19 12:14:31 +02:00
"nl": "Deze straat is verlicht"
}
},
{
"if": "lit=no",
"then": {
2021-11-04 17:27:45 +01:00
"en": "This street is not lit",
2021-10-19 12:14:31 +02:00
"nl": "Deze straat is niet verlicht"
}
},
{
"if": "lit=sunset-sunrise",
"then": {
2021-10-19 12:14:31 +02:00
"en": "This street is lit at night",
"nl": "Deze straat is 's nachts verlicht"
},
"hideInAnswer": true
},
{
"if": "lit=24/7",
"then": {
2021-10-19 12:14:31 +02:00
"en": "This street is lit 24/7",
"nl": "Deze straat is 24/7 verlicht"
}
}
]
}
],
"allowSplit": true
}
]
}