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.

134 lines
5.4 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. "markerSign": "{{ const[tags.leisure]|raw }}"
  45. },
  46. "filter": {
  47. "access": {
  48. "name": "{{ keyTrans('access') }}",
  49. "type": "select",
  50. "show_default": "true",
  51. "placeholder": "{{ trans(\"tag:access!=private\") }}",
  52. "valueName": "{{ tagTrans(\"access\", value) }}",
  53. "values": {
  54. "*": {
  55. "name": "<{{ trans('any value') }}>",
  56. "query": "nwr",
  57. "weight": -1
  58. },
  59. "yes": {},
  60. "private": {},
  61. "permissive": {},
  62. "customers": {},
  63. "discouraged": {},
  64. "unknown": {
  65. "name": "{{ trans(\"unknown\") }}",
  66. "query": "nwr[\"access\"=\"unknown\"]"
  67. },
  68. "!": {
  69. "name": "<{{ trans('empty value') }}>",
  70. "query": "nwr[!access]",
  71. "weight": 1
  72. },
  73. "?": {
  74. "name": "<{{ trans(\"other\") }}>",
  75. "query": "nwr[access][\"access\"!~\"^(public|private|permissive|customers|discouraged|unknown|yes)$\"]",
  76. "weight": 2
  77. }
  78. },
  79. "emptyQuery": "nwr[\"access\"!=\"private\"]"
  80. },
  81. "leisure": {
  82. "name": "{{ trans('filter:type') }}",
  83. "type": "select",
  84. "values": "{% set list = [] %}{% for k, v in const %}<option value=\"{{ k }}\">{% set list = list|merge([ k ]) %}{{ tagTrans('leisure', k) }}</option>{% endfor %}<option weight='1' value='other' query='nwr[leisure][leisure!~\"^(|.*;)({{ list|join('|') }})(|;.*)$\"]'>{{ trans('other') }}</option>",
  85. "sort": "natsort",
  86. "op": "has"
  87. }
  88. },
  89. "const": {
  90. "adult_gaming_centre": "<img data-src='maki:gaming'>",
  91. "amusement_arcade": "<img data-src='maki:gaming'>",
  92. "bandstand": "<img data-src='maki:landmark'>",
  93. "beach_resort": "<img data-src='maki:beach'>",
  94. "bird_hide": "<i class='fas fa-crow'></i>",
  95. "bleachers": "<img data-src='temaki:bleachers'>",
  96. "bowling_alley": "<img data-src='maki:bowling-alley'>",
  97. "common": "",
  98. "dance": "💃",
  99. "disc_golf_course": "<img data-src='temaki:disc_golf_basket'>",
  100. "dog_park": "<img data-src='maki:dog-park'>",
  101. "escape_game": "<i class='fas fa-shoe-prints'></i>",
  102. "firepit": "<img data-src='maki:fire-station'>",
  103. "fishing": "<img data-src='temaki:fishing_pier'>",
  104. "fitness_centre": "<img data-src='maki:fitness-center'>",
  105. "fitness_station": "<img data-src='temaki:physiotherapist'>",
  106. "garden": "<img data-src='maki:garden'>",
  107. "golf_course": "<img data-src='maki:golf'>",
  108. "hackerspace": "<img data-src='maki:hardware'>",
  109. "horse_riding": "<img data-src='maki:horse-riding'>",
  110. "ice_rink": "<img data-src='temaki:ice_skating'>",
  111. "indoor_play": "<img data-src='temaki:play_structure'>",
  112. "marina": "<img data-src='temaki:boat'>",
  113. "miniature_golf": "<img data-src='temaki:golf_green'>",
  114. "nature_reserve": "<img data-src='maki:natural'>",
  115. "outdoor_seating": "<i class='fas fa-chair'></i>",
  116. "park": "<img data-src='maki:park'>",
  117. "picnic_table": "<img data-src='maki:picnic-site'>",
  118. "pitch": "<img data-src='maki:pitch'>",
  119. "playground": "<img data-src='maki:playground'>",
  120. "sauna": "<i class='fas fa-hot-tub'></i>",
  121. "slipway": "<img data-src='maki:slipway'>",
  122. "sport": "<img data-src='maki:soccer'>",
  123. "sports_centre": "<img data-src='temaki:tennis'>",
  124. "sports_hall": "<img data-src='maki:fitness-center'>",
  125. "stadium": "<img data-src='maki:stadium'>",
  126. "summer_camp": "<i class='fas fa-sun'></i>",
  127. "swimming_area": "<img data-src='maki:swimming'>",
  128. "swimming_pool": "<img data-src='maki:swimming?size=11'>",
  129. "track": "<img data-src='temaki:speedway_oval'>",
  130. "trampoline_park": "",
  131. "water_park": "<img data-src='temaki:diving'>",
  132. "wildlife_hide": "<img data-src='temaki:zoo'>"
  133. }
  134. }