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.

39 lines
1.3 KiB

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