diff --git a/buildings.json b/buildings.json new file mode 100644 index 0000000..7ad1807 --- /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 14f5e0d..c73a53e 100644 --- a/index.json +++ b/index.json @@ -257,6 +257,9 @@ }, { "id": "works" + }, + { + "id": "buildings" } ] },