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.

40 lines
1.2 KiB

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