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.

77 lines
2.7 KiB

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