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.

98 lines
2.9 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": "Services touristiques",
  11. "hu": "Túrizmus",
  12. "it": "Turismo",
  13. "ja": "観光",
  14. "nl": "Toerisme",
  15. "pl": "Turystyka",
  16. "ro": "Turism",
  17. "ru": "Туризм",
  18. "uk": "Туризм"
  19. },
  20. "query": {
  21. "13": [
  22. "(",
  23. "node[tourism~\"^(alpine_hut|apartment|camp_site|caravan_site|chalet|guest_house|hostel|hotel|motel|wilderness_hut)$\"];",
  24. "way[tourism~\"^(alpine_hut|apartment|camp_site|caravan_site|chalet|guest_house|hostel|hotel|motel|wilderness_hut)$\"];",
  25. "relation[tourism~\"^(alpine_hut|apartment|camp_site|caravan_site|chalet|guest_house|hostel|hotel|motel|wilderness_hut)$\"]",
  26. ")"
  27. ],
  28. "16": [
  29. "(",
  30. "node[tourism~\"^(alpine_hut|apartment|camp_site|caravan_site|chalet|guest_house|hostel|hotel|information|motel|wilderness_hut)$\"];",
  31. "way[tourism~\"^(alpine_hut|apartment|camp_site|caravan_site|chalet|guest_house|hostel|hotel|information|motel|wilderness_hut)$\"];",
  32. "relation[tourism~\"^(alpine_hut|apartment|camp_site|caravan_site|chalet|guest_house|hostel|hotel|information|motel|wilderness_hut)$\"]",
  33. ")"
  34. ]
  35. },
  36. "feature": {
  37. "description": "{{ tagTrans('tourism', tags.tourism) }}",
  38. "markerSign": "{{ const[tags.tourism].sign|raw }}"
  39. },
  40. "info": [
  41. "<table>",
  42. "{% for value, data in const %}",
  43. "{% if data.zoom <= map.zoom %}",
  44. " <tr>",
  45. " <td>{{ markerCircle({})|raw }}<div class='sign'>{{ data.sign|raw }}</div></td>",
  46. " <td>{{ tagTrans('tourism', value) }}</td>",
  47. " </tr>",
  48. "{% endif %}",
  49. "{% endfor %}",
  50. "</table>"
  51. ],
  52. "const": {
  53. "alpine_hut": {
  54. "sign": "🛌",
  55. "zoom": 13
  56. },
  57. "apartment": {
  58. "sign": "🛌",
  59. "zoom": 13
  60. },
  61. "camp_site": {
  62. "sign": "⛺",
  63. "zoom": 13
  64. },
  65. "caravan_site": {
  66. "sign": "⛺",
  67. "zoom": 13
  68. },
  69. "chalet": {
  70. "sign": "🛌",
  71. "zoom": 13
  72. },
  73. "guest_house": {
  74. "sign": "🛌",
  75. "zoom": 13
  76. },
  77. "hostel": {
  78. "sign": "🛌",
  79. "zoom": 13
  80. },
  81. "hotel": {
  82. "sign": "🛌",
  83. "zoom": 13
  84. },
  85. "motel": {
  86. "sign": "🛌",
  87. "zoom": 13
  88. },
  89. "wilderness_hut": {
  90. "sign": "",
  91. "zoom": 13
  92. },
  93. "information": {
  94. "sign": "ℹ️",
  95. "zoom": 16
  96. }
  97. }
  98. }