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.
37 lines
1.1 KiB
37 lines
1.1 KiB
{
|
|
"type": "overpass",
|
|
"name": {
|
|
"de": "Schwarzplan",
|
|
"en": "Figure-ground diagram"
|
|
},
|
|
"query": {
|
|
"16": [
|
|
"(",
|
|
" way[building];",
|
|
" relation[building];",
|
|
")"
|
|
]
|
|
},
|
|
"feature": {
|
|
"markerSymbol": null,
|
|
"priority": [
|
|
"{% set p = 100 %}",
|
|
"{% if tags.name %}{% set p = p - 10 %}{% endif %}",
|
|
"{% if tags.amenity %}{% set p = p - 1 %}{% endif %}",
|
|
"{% if tags.historic %}{% set p = p - 1 %}{% endif %}",
|
|
"{% if tags.culture %}{% set p = p - 1 %}{% endif %}",
|
|
"{% if tags.highway %}{% set p = p - 1 %}{% endif %}",
|
|
"{% if tags.railway %}{% set p = p - 1 %}{% endif %}",
|
|
"{% if tags.aeroway %}{% set p = p - 1 %}{% endif %}",
|
|
"{% if tags.amenity %}{% set p = p - 1 %}{% endif %}",
|
|
"{% if tags.tourism %}{% set p = p - 1 %}{% endif %}",
|
|
"{{ p }}"
|
|
],
|
|
"style": {
|
|
"width": "0",
|
|
"color": "#000000",
|
|
"fillColor": "#000000",
|
|
"fillOpacity": "1"
|
|
}
|
|
}
|
|
}
|