You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
750 B
28 lines
750 B
{
|
|
"type": "overpass",
|
|
"name": {
|
|
"en": "Street Lighting",
|
|
"de": "Straßenbeleuchtung",
|
|
"nl": "Straatverlichting"
|
|
},
|
|
"query": {
|
|
"16": "(way[highway];)",
|
|
"18": "(way[highway];node[highway=street_lamp];)"
|
|
},
|
|
"feature": {
|
|
"markerSymbol": "",
|
|
"style": {
|
|
"color": [
|
|
"{% if attribute(tags, 'lit') == \"yes\" %}",
|
|
"yellow",
|
|
"{% elseif attribute(tags, 'highway') == \"street_lamp\" %}",
|
|
"yellow",
|
|
"{% elseif attribute(tags, 'lit') == \"no\" %}",
|
|
"black",
|
|
"{% else %}",
|
|
"grey",
|
|
"{% endif %}"
|
|
]
|
|
}
|
|
}
|
|
}
|