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.

152 lines
4.1 KiB

7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
  1. {
  2. "type": "overpass",
  3. "name": {
  4. "ast": "Compres",
  5. "cs": "Obchody",
  6. "de": "Einkauf",
  7. "el": "Αγορές",
  8. "en": "Shopping",
  9. "et": "Ostmine",
  10. "fr": "Magasinage/Shopping",
  11. "hu": "Vásárlás",
  12. "it": "Acquisti",
  13. "ja": "ショッピング",
  14. "nl": "Winkelen",
  15. "pl": "Zakupy",
  16. "ro": "Cumpărături",
  17. "ru": "Покупки",
  18. "uk": "Торгівля"
  19. },
  20. "query": {
  21. "14": "(node[shop~'^(mall|department_store)$'];way[shop~'^(mall|department_store)$'];relation[shop~'^(mall|department_store)$'];);",
  22. "16": "(node[shop];way[shop];relation[shop];);"
  23. },
  24. "feature": {
  25. "pre": "{% set shop0 = tags.shop|split(';')[0] %}{% set current = const.default %}{% for v in const.shops %}{% if shop0 in v.types %}{% set current = v %}{% endif %}{% endfor %}",
  26. "description": "{{ tagTransList('shop', tags.shop) }}",
  27. "markerSign": "{% set c = current.sign %}{% if c|slice(0, 3) == 'fa-' %}<i class=\"fa {{ c }}\"></i>{% else %}{{ c|raw }}{% endif %}"
  28. },
  29. "const": {
  30. "default": {
  31. "sign": "fa-shopping-bag"
  32. },
  33. "shops": [
  34. {
  35. "types": [
  36. "alcohol",
  37. "beverages"
  38. ],
  39. "sign": "fa-beer"
  40. },
  41. {
  42. "types": [
  43. "baby_goods"
  44. ],
  45. "sign": "&#128700;"
  46. },
  47. {
  48. "types": [
  49. "bag",
  50. "general"
  51. ],
  52. "sign": "fa-shopping-bag"
  53. },
  54. {
  55. "types": [
  56. "bakery",
  57. "confectionery",
  58. "pastry"
  59. ],
  60. "sign": "fa-birthday-cake"
  61. },
  62. {
  63. "types": [
  64. "boutique",
  65. "clothes",
  66. "fabric",
  67. "fashion",
  68. "leather",
  69. "sewing",
  70. "tailor"
  71. ],
  72. "sign": "&#128090;"
  73. },
  74. {
  75. "types": [
  76. "butcher",
  77. "cheese",
  78. "chocolate",
  79. "deli",
  80. "dairy",
  81. "farm",
  82. "greengrocer",
  83. "pasta",
  84. "spices"
  85. ],
  86. "sign": "fa-cutlery"
  87. },
  88. {
  89. "types": [
  90. "coffee",
  91. "tea"
  92. ],
  93. "sign": "fa-coffee"
  94. },
  95. {
  96. "types": [
  97. "convenience"
  98. ],
  99. "sign": "fa-shopping-basket"
  100. },
  101. {
  102. "types": [
  103. "department_store",
  104. "mall"
  105. ],
  106. "sign": "fa-building"
  107. },
  108. {
  109. "types": [
  110. "hairdresser"
  111. ],
  112. "sign": "&#128113;"
  113. },
  114. {
  115. "types": [
  116. "ice_cream"
  117. ],
  118. "sign": "&#127848;"
  119. },
  120. {
  121. "types": [
  122. "jewelry"
  123. ],
  124. "sign": "&#128141;"
  125. },
  126. {
  127. "types": [
  128. "kiosk"
  129. ],
  130. "sign": "fa-newspaper-o"
  131. },
  132. {
  133. "types": [
  134. "shoes"
  135. ],
  136. "sign": "&#128095;"
  137. },
  138. {
  139. "types": [
  140. "supermarket"
  141. ],
  142. "sign": "fa-shopping-cart"
  143. },
  144. {
  145. "types": [
  146. "watches"
  147. ],
  148. "sign": "&#8986;"
  149. }
  150. ]
  151. }
  152. }