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.

142 lines
5.6 KiB

  1. {
  2. "type": "overpass",
  3. "name": {
  4. "ast": "Recréu",
  5. "ca": "Oci",
  6. "cs": "Volný čas",
  7. "de": "Freizeit",
  8. "el": "Αναψυχή",
  9. "en": "Leisure",
  10. "es": "Ocio",
  11. "fr": "Loisirs",
  12. "gl": "Lecer",
  13. "hu": "Szabadidő",
  14. "it": "Tempo libero",
  15. "ja": "レジャー",
  16. "nb": "Fritid",
  17. "nl": "Vrije tijd",
  18. "oc": "Lesers",
  19. "pl": "Wypoczynek",
  20. "pt": "Lazer",
  21. "pt-br": "Lazer",
  22. "ro": "Timp liber",
  23. "ru": "Досуг",
  24. "sr": "Разонода",
  25. "tr": "Boş zaman",
  26. "uk": "Дозвілля"
  27. },
  28. "query": {
  29. "15": [
  30. "(",
  31. "node[leisure];",
  32. "way[leisure];",
  33. "relation[leisure];",
  34. ")"
  35. ]
  36. },
  37. "feature": {
  38. "description": [
  39. "{% if tags.leisure == 'pitch' and tags.sport %}",
  40. " {% set pitchName = tagTransList('leisure=pitch sport', tags.sport) %}",
  41. "{% endif %}",
  42. "",
  43. "{% if pitchName and pitchName != tags.sport %}",
  44. " {{ pitchName }} ",
  45. "{% else %}",
  46. " {{ tagTrans('leisure', tags.leisure) }}",
  47. " {% if tags.leisure == 'pitch' and tags.sport %}",
  48. " - {{ tagTransList('sport', tags.sport) }}",
  49. " {% endif %}",
  50. "{% endif %}"
  51. ],
  52. "markerSign": "{{ const[tags.leisure]|raw }}"
  53. },
  54. "filter": {
  55. "access": {
  56. "name": "{{ keyTrans('access') }}",
  57. "type": "select",
  58. "show_default": "true",
  59. "placeholder": "{{ trans(\"tag:access!=private\") }}",
  60. "valueName": "{{ tagTrans(\"access\", value) }}",
  61. "values": {
  62. "*": {
  63. "name": "<{{ trans('any value') }}>",
  64. "query": "nwr",
  65. "weight": -1
  66. },
  67. "yes": {},
  68. "private": {},
  69. "permissive": {},
  70. "customers": {},
  71. "discouraged": {},
  72. "unknown": {
  73. "name": "{{ trans(\"unknown\") }}",
  74. "query": "nwr[\"access\"=\"unknown\"]"
  75. },
  76. "!": {
  77. "name": "<{{ trans('empty value') }}>",
  78. "query": "nwr[!access]",
  79. "weight": 1
  80. },
  81. "?": {
  82. "name": "<{{ trans(\"other\") }}>",
  83. "query": "nwr[access][\"access\"!~\"^(public|private|permissive|customers|discouraged|unknown|yes)$\"]",
  84. "weight": 2
  85. }
  86. },
  87. "emptyQuery": "nwr[\"access\"!=\"private\"]"
  88. },
  89. "leisure": {
  90. "name": "{{ trans('filter:type') }}",
  91. "type": "select",
  92. "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>",
  93. "sort": "natsort",
  94. "op": "has"
  95. }
  96. },
  97. "const": {
  98. "adult_gaming_centre": "<img data-src='maki:gaming'>",
  99. "amusement_arcade": "<img data-src='maki:gaming'>",
  100. "bandstand": "<img data-src='maki:landmark'>",
  101. "beach_resort": "<img data-src='maki:beach'>",
  102. "bird_hide": "<i class='fas fa-crow'></i>",
  103. "bleachers": "<img data-src='temaki:bleachers'>",
  104. "bowling_alley": "<img data-src='maki:bowling-alley'>",
  105. "common": "",
  106. "dance": "💃",
  107. "disc_golf_course": "<img data-src='temaki:disc_golf_basket'>",
  108. "dog_park": "<img data-src='maki:dog-park'>",
  109. "escape_game": "<i class='fas fa-shoe-prints'></i>",
  110. "firepit": "<img data-src='maki:fire-station'>",
  111. "fishing": "<img data-src='temaki:fishing_pier'>",
  112. "fitness_centre": "<img data-src='maki:fitness-centre'>",
  113. "fitness_station": "<img data-src='temaki:physiotherapist'>",
  114. "garden": "<img data-src='maki:garden'>",
  115. "golf_course": "<img data-src='maki:golf'>",
  116. "hackerspace": "<img data-src='maki:hardware'>",
  117. "horse_riding": "<img data-src='maki:horse-riding'>",
  118. "ice_rink": "<img data-src='temaki:ice_skating'>",
  119. "indoor_play": "<img data-src='temaki:play_structure'>",
  120. "marina": "<img data-src='temaki:boat'>",
  121. "miniature_golf": "<img data-src='temaki:golf_green'>",
  122. "nature_reserve": "<img data-src='maki:natural'>",
  123. "outdoor_seating": "<i class='fas fa-chair'></i>",
  124. "park": "<img data-src='maki:park'>",
  125. "picnic_table": "<img data-src='maki:picnic-site'>",
  126. "pitch": "<img data-src='maki:pitch'>",
  127. "playground": "<img data-src='maki:playground'>",
  128. "sauna": "<i class='fas fa-hot-tub'></i>",
  129. "slipway": "<img data-src='maki:slipway'>",
  130. "sport": "<img data-src='maki:soccer'>",
  131. "sports_centre": "<img data-src='temaki:tennis'>",
  132. "sports_hall": "<img data-src='maki:fitness-centre'>",
  133. "stadium": "<img data-src='maki:stadium'>",
  134. "summer_camp": "<i class='fas fa-sun'></i>",
  135. "swimming_area": "<img data-src='maki:swimming'>",
  136. "swimming_pool": "<img data-src='maki:swimming?size=11'>",
  137. "track": "<img data-src='temaki:speedway_oval'>",
  138. "trampoline_park": "",
  139. "water_park": "<img data-src='temaki:diving'>",
  140. "wildlife_hide": "<img data-src='temaki:zoo'>"
  141. }
  142. }