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.

38 lines
1.2 KiB

  1. {
  2. "type": "overpass",
  3. "name": {
  4. "de": "Schwarzplan",
  5. "en": "Figure-ground diagram"
  6. },
  7. "query": {
  8. "16": [
  9. "(",
  10. " way[building];",
  11. " relation[building];",
  12. ")"
  13. ]
  14. },
  15. "feature": {
  16. "markerSymbol": "",
  17. "listMarkerSymbol": "{{ markerPolygon({fillColor: \"#000000\", fillOpacity: 1 })|raw }}",
  18. "priority": [
  19. "{% set p = 100 %}",
  20. "{% if tags.name %}{% set p = p - 10 %}{% endif %}",
  21. "{% if tags.amenity %}{% set p = p - 1 %}{% endif %}",
  22. "{% if tags.historic %}{% set p = p - 1 %}{% endif %}",
  23. "{% if tags.culture %}{% set p = p - 1 %}{% endif %}",
  24. "{% if tags.highway %}{% set p = p - 1 %}{% endif %}",
  25. "{% if tags.railway %}{% set p = p - 1 %}{% endif %}",
  26. "{% if tags.aeroway %}{% set p = p - 1 %}{% endif %}",
  27. "{% if tags.amenity %}{% set p = p - 1 %}{% endif %}",
  28. "{% if tags.tourism %}{% set p = p - 1 %}{% endif %}",
  29. "{{ p }}"
  30. ],
  31. "style": {
  32. "width": "0",
  33. "color": "#000000",
  34. "fillColor": "#000000",
  35. "fillOpacity": "1"
  36. }
  37. }
  38. }