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.

71 lines
2.5 KiB

  1. {
  2. "type": "overpass",
  3. "name": {
  4. "ast": "Turismu",
  5. "cs": "Turistika",
  6. "de": "Tourismus",
  7. "el": "Τουρισμός",
  8. "en": "Tourism",
  9. "et": "Turism",
  10. "fr": "Tourisme",
  11. "hu": "Látnivalók",
  12. "it": "Turismo",
  13. "ja": "観光",
  14. "nl": "Toerisme",
  15. "pl": "Turystyka",
  16. "pt": "Turismo",
  17. "pt-br": "Turismo",
  18. "ro": "Turism",
  19. "ru": "Туризм",
  20. "uk": "Туризм"
  21. },
  22. "query": {
  23. "13": [
  24. "(",
  25. "node[tourism][tourism!~\"^(alpine_hut|apartment|camp_site|caravan_site|chalet|guest_house|hostel|hotel|information|motel|wilderness_hut)$\"];",
  26. "way[tourism][tourism!~\"^(alpine_hut|apartment|camp_site|caravan_site|chalet|guest_house|hostel|hotel|information|motel|wilderness_hut)$\"];",
  27. "relation[tourism][tourism!~\"^(alpine_hut|apartment|camp_site|caravan_site|chalet|guest_house|hostel|hotel|information|motel|wilderness_hut)$\"];",
  28. ")"
  29. ]
  30. },
  31. "feature": {
  32. "description": "{{ tagTrans('tourism', tags.tourism) }}",
  33. "markerSign": "{{ const[tags.tourism]|raw }}"
  34. },
  35. "info": [
  36. "<table>",
  37. "{% for value, sign in const %}",
  38. " <tr>",
  39. " <td>{{ markerCircle({})|raw }}<div class='sign'>{{ sign|raw }}</div></td>",
  40. " <td>{{ tagTrans('tourism', value) }}</td>",
  41. " </tr>",
  42. "{% endfor %}",
  43. " <tr>",
  44. " <td>{{ markerCircle({})|raw }}<div class='sign'></div></td>",
  45. " <td>{{ trans('other') }}</td>",
  46. " </tr>",
  47. "</table>"
  48. ],
  49. "const": {
  50. "aquarium": "🐟",
  51. "artwork": "🎨 ",
  52. "attraction": "<img data-src='maki:attraction'>",
  53. "gallery": "🖼",
  54. "museum": "<img data-src='maki:museum'>",
  55. "picnic_site": "<img data-src='maki:picnic-site'>",
  56. "theme_park": "<img data-src='maki:amusement-park'>",
  57. "viewpoint": "<i class='fas fa-eye' aria-hidden='true'></i>",
  58. "zoo": "🦁"
  59. },
  60. "filter": {
  61. "type": {
  62. "name": "{{ trans('filter:type') }}",
  63. "show_default": "true",
  64. "query": "nwr[{{ value }}]",
  65. "type": "select",
  66. "key": "tourism",
  67. "values": "{% set list = [] %}{% for t, v in const %}<option value=\"{{ t }}\">{% set list = list|merge([ t ]) %}{{ tagTrans('tourism', t) }}</option>{% endfor %}",
  68. "op": "has"
  69. }
  70. }
  71. }