diff --git a/buildings.json b/buildings.json new file mode 100644 index 00000000..7ad18072 --- /dev/null +++ b/buildings.json @@ -0,0 +1,14 @@ +{ + "type": "overpass", + "name": { + "en": "Buildings", + "de": "Gebäude" + }, + "query": { + "16": "(\n way[building];\n relation[building];\n)" + }, + "feature": { + "priority": "{% set p = 100 %}\n{% if tags.name %}{% set p = p - 10 %}{% endif %}\n{% if tags.amenity %}{% set p = p - 1 %}{% endif %}\n{% if tags.historic %}{% set p = p - 1 %}{% endif %}\n{% if tags.culture %}{% set p = p - 1 %}{% endif %}\n{% if tags.highway %}{% set p = p - 1 %}{% endif %}\n{% if tags.railway %}{% set p = p - 1 %}{% endif %}\n{% if tags.aeroway %}{% set p = p - 1 %}{% endif %}\n{% if tags.amenity %}{% set p = p - 1 %}{% endif %}\n{% if tags.tourism %}{% set p = p - 1 %}{% endif %}\n{{ p }}", + "markerSign": null + } +} diff --git a/index.json b/index.json index 14f5e0d8..c73a53e1 100644 --- a/index.json +++ b/index.json @@ -257,6 +257,9 @@ }, { "id": "works" + }, + { + "id": "buildings" } ] },