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.

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