Main categories of OpenStreetBrowser with public transport zoom level
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.

100 lines
2.9 KiB

7 years ago
  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": "Túrizmus",
  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~\"^(alpine_hut|apartment|camp_site|caravan_site|chalet|guest_house|hostel|hotel|motel|wilderness_hut)$\"];",
  26. "way[tourism~\"^(alpine_hut|apartment|camp_site|caravan_site|chalet|guest_house|hostel|hotel|motel|wilderness_hut)$\"];",
  27. "relation[tourism~\"^(alpine_hut|apartment|camp_site|caravan_site|chalet|guest_house|hostel|hotel|motel|wilderness_hut)$\"];",
  28. ")"
  29. ],
  30. "16": [
  31. "(",
  32. "node[tourism~\"^(alpine_hut|apartment|camp_site|caravan_site|chalet|guest_house|hostel|hotel|information|motel|wilderness_hut)$\"];",
  33. "way[tourism~\"^(alpine_hut|apartment|camp_site|caravan_site|chalet|guest_house|hostel|hotel|information|motel|wilderness_hut)$\"];",
  34. "relation[tourism~\"^(alpine_hut|apartment|camp_site|caravan_site|chalet|guest_house|hostel|hotel|information|motel|wilderness_hut)$\"];",
  35. ")"
  36. ]
  37. },
  38. "feature": {
  39. "description": "{{ tagTrans('tourism', tags.tourism) }}",
  40. "markerSign": "{{ const[tags.tourism].sign|raw }}"
  41. },
  42. "info": [
  43. "<table>",
  44. "{% for value, data in const %}",
  45. "{% if data.zoom <= map.zoom %}",
  46. " <tr>",
  47. " <td>{{ markerCircle({})|raw }}<div class='sign'>{{ data.sign|raw }}</div></td>",
  48. " <td>{{ tagTrans('tourism', value) }}</td>",
  49. " </tr>",
  50. "{% endif %}",
  51. "{% endfor %}",
  52. "</table>"
  53. ],
  54. "const": {
  55. "alpine_hut": {
  56. "sign": "🛌",
  57. "zoom": 13
  58. },
  59. "apartment": {
  60. "sign": "🛌",
  61. "zoom": 13
  62. },
  63. "camp_site": {
  64. "sign": "⛺",
  65. "zoom": 13
  66. },
  67. "caravan_site": {
  68. "sign": "⛺",
  69. "zoom": 13
  70. },
  71. "chalet": {
  72. "sign": "🛌",
  73. "zoom": 13
  74. },
  75. "guest_house": {
  76. "sign": "🛌",
  77. "zoom": 13
  78. },
  79. "hostel": {
  80. "sign": "🛌",
  81. "zoom": 13
  82. },
  83. "hotel": {
  84. "sign": "🛌",
  85. "zoom": 13
  86. },
  87. "motel": {
  88. "sign": "🛌",
  89. "zoom": 13
  90. },
  91. "wilderness_hut": {
  92. "sign": "",
  93. "zoom": 13
  94. },
  95. "information": {
  96. "sign": "ℹ️",
  97. "zoom": 16
  98. }
  99. }
  100. }