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.

45 lines
1.2 KiB

  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. "hu": "Szabadidő",
  11. "it": "Tempo libero",
  12. "ja": "レジャー",
  13. "nl": "Vrije tijd",
  14. "pt": "Lazer",
  15. "pt-br": "Lazer",
  16. "ro": "Timp liber",
  17. "ru": "Досуг",
  18. "uk": "Дозвілля"
  19. },
  20. "query": {
  21. "15": [
  22. "(",
  23. "node[leisure];",
  24. "way[leisure];",
  25. "relation[leisure];",
  26. ")"
  27. ]
  28. },
  29. "feature": {
  30. "description": [
  31. "{% if tags.leisure == 'pitch' and tags.sport %}",
  32. " {% set pitchName = tagTransList('leisure=pitch sport', tags.sport) %}",
  33. "{% endif %}",
  34. "",
  35. "{% if pitchName and pitchName != tags.sport %}",
  36. " {{ pitchName }} ",
  37. "{% else %}",
  38. " {{ tagTrans('leisure', tags.leisure) }}",
  39. " {% if tags.leisure == 'pitch' and tags.sport %}",
  40. " - {{ tagTransList('sport', tags.sport) }}",
  41. " {% endif %}",
  42. "{% endif %}"
  43. ]
  44. }
  45. }