Main categories of OpenStreetBrowser with support for whitewater
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.2 KiB

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