Browse Source

New category: buildings

master
parent
commit
388a7eea19
  1. 14
      buildings.json
  2. 3
      index.json

14
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
}
}

3
index.json

@ -257,6 +257,9 @@
}, },
{ {
"id": "works" "id": "works"
},
{
"id": "buildings"
} }
] ]
}, },

Loading…
Cancel
Save