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.
40 lines
1.2 KiB
40 lines
1.2 KiB
{
|
|
"type": "overpass",
|
|
"name": {
|
|
"de": "Gebäude",
|
|
"en": "Buildings",
|
|
"fr": "Bâtiments",
|
|
"hu": "Épületek",
|
|
"pt": "Edifícios",
|
|
"pt-br": "Edificações"
|
|
},
|
|
"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": "1",
|
|
"color": "#000000",
|
|
"fillColor": "#000000"
|
|
}
|
|
}
|
|
}
|