mapcomplete/assets/themes/street_lighting/street_lighting.json

204 lines
No EOL
5 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"id": "street_lighting",
"maintainer": "Robin van der Linde",
"version": "2021-10-22",
"language": [
"en",
"nl",
"ru",
"zh_Hant"
],
"title": {
"en": "Street Lighting",
"nl": "Straatverlichting",
"ru": "Уличное освещение",
"zh_Hant": "道路照明"
},
"description": {
"en": "On this map you can find everything about street lighting",
"nl": "Op deze kaart vind je alles over straatlantaarns",
"zh_Hant": "在這份地圖你可以找到任何有關路燈的事情"
},
"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",
"zh_Hant": "有照明的道路"
},
"source": {
"osmTags": {
"and": [
"highway!=",
"lit!=no",
"lit!=",
"service!=driveway"
]
}
},
"minZoom": 16,
"title": {
"render": {
"en": "Lit street",
"nl": "Verlichte straat",
"zh_Hant": "照明道路"
},
"mappings": [
{
"if": "name~*",
"then": "{name}"
}
]
},
"mapRendering": [
{
"color": "#ff0"
}
],
"tagRenderings": [
{
"id": "lit",
"question": {
"en": "Is this street lit?",
"nl": "Is deze straat verlicht?",
"zh_Hant": "這道路有路燈嗎?"
},
"mappings": [
{
"if": "lit=yes",
"then": {
"en": "This street is lit",
"nl": "Deze straat is verlicht",
"zh_Hant": "這個道路有照明"
}
},
{
"if": "lit=no",
"then": {
"en": "This street is not lit",
"nl": "Deze straat is niet verlicht",
"zh_Hant": "這個道路沒有照明"
}
},
{
"if": "lit=sunset-sunrise",
"then": {
"en": "This street is lit at night",
"nl": "Deze straat is 's nachts verlicht",
"zh_Hant": "這個道路晚上有照明"
},
"hideInAnswer": true
},
{
"if": "lit=24/7",
"then": {
"en": "This street is lit 24/7",
"nl": "Deze straat is 24/7 verlicht",
"zh_Hant": "這個道路 24/7 有照明"
}
}
]
}
],
"allowSplit": true
},
{
"id": "all_streets",
"name": {
"en": "All streets",
"nl": "Alle straten",
"ru": "Все улицы",
"zh_Hant": "所有道路"
},
"source": {
"osmTags": {
"and": [
"highway!=",
"service!=driveway",
"highway!=platform"
]
}
},
"minZoom": 19,
"title": {
"render": {
"en": "Street",
"nl": "Straat",
"ru": "Улица",
"zh_Hant": "照明"
},
"mappings": [
{
"if": "name~*",
"then": "{name}"
}
]
},
"mapRendering": [
{
"color": {
"render": "#a9a9a9",
"mappings": [
{
"if": "lit=no",
"then": "#303030"
}
]
}
}
],
"tagRenderings": [
{
"id": "lit",
"question": {
"en": "Is this street lit?",
"nl": "Is deze straat verlicht?",
"zh_Hant": "這道路有照明嗎?"
},
"mappings": [
{
"if": "lit=yes",
"then": {
"en": "This street is lit",
"nl": "Deze straat is verlicht",
"zh_Hant": "這道路有照明"
}
},
{
"if": "lit=no",
"then": {
"en": "This street is not lit",
"nl": "Deze straat is niet verlicht",
"zh_Hant": "這道路沒有照明"
}
},
{
"if": "lit=sunset-sunrise",
"then": {
"en": "This street is lit at night",
"nl": "Deze straat is 's nachts verlicht",
"zh_Hant": "這道路晚上有照明"
},
"hideInAnswer": true
},
{
"if": "lit=24/7",
"then": {
"en": "This street is lit 24/7",
"nl": "Deze straat is 24/7 verlicht",
"zh_Hant": "這道路 24/7 有照明"
}
}
]
}
],
"allowSplit": true
}
]
}