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.

153 lines
4.1 KiB

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