Main categories of OpenStreetBrowser with public transport zoom level
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.

30 lines
1022 B

8 years ago
  1. {
  2. "type": "overpass",
  3. "name": {
  4. "ast": "Recréu",
  5. "cs": "Volný čas",
  6. "de": "Freizeit",
  7. "el": "Αναψυχή",
  8. "en": "Leisure",
  9. "fr": "Loisirs",
  10. "it": "Tempo libero",
  11. "ja": "レジャー",
  12. "nl": "Vrije tijd",
  13. "ro": "Timp liber",
  14. "ru": "Досуг",
  15. "uk": "Дозвілля"
  16. },
  17. "query": {
  18. "14": "(way[leisure~'^(park|common)$'];relation[leisure='^(park|common)$'];)",
  19. "16": "(node[amenity~'^(bench|swimming_pool)$'];way[leisure~'^(park|common|nature_reserve|swimming_pool)$'];relation[leisure='^(park|common|nature_reserve|swimming_pool)$'];)"
  20. },
  21. "feature": {
  22. "style": {
  23. "color": "green",
  24. "fillColor": "green",
  25. "fillOpacity": "0.2",
  26. "weight": "2"
  27. },
  28. "description": "{% if tags.leisure %}{{ tagTrans('leisure', tags.leisure ) }}{% elseif tags.amenity %}{{ tagTrans('amenity', tags.amenity ) }}{% endif %}"
  29. }
  30. }