Main categories of OpenStreetBrowser
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.

36 lines
1.1 KiB

  1. {
  2. "type": "overpass",
  3. "name": {
  4. "en": "Buildings",
  5. "de": "Gebäude"
  6. },
  7. "query": {
  8. "16": [
  9. "(",
  10. " way[building];",
  11. " relation[building];",
  12. ")"
  13. ]
  14. },
  15. "feature": {
  16. "priority": [
  17. "{% set p = 100 %}",
  18. "{% if tags.name %}{% set p = p - 10 %}{% endif %}",
  19. "{% if tags.amenity %}{% set p = p - 1 %}{% endif %}",
  20. "{% if tags.historic %}{% set p = p - 1 %}{% endif %}",
  21. "{% if tags.culture %}{% set p = p - 1 %}{% endif %}",
  22. "{% if tags.highway %}{% set p = p - 1 %}{% endif %}",
  23. "{% if tags.railway %}{% set p = p - 1 %}{% endif %}",
  24. "{% if tags.aeroway %}{% set p = p - 1 %}{% endif %}",
  25. "{% if tags.amenity %}{% set p = p - 1 %}{% endif %}",
  26. "{% if tags.tourism %}{% set p = p - 1 %}{% endif %}",
  27. "{{ p }}"
  28. ],
  29. "markerSign": null,
  30. "style": {
  31. "fillColor": "#000000",
  32. "color": "#000000",
  33. "weight": "1"
  34. }
  35. }
  36. }