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.

193 lines
5.3 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": "Compras",
  17. "pt-br": "Compras",
  18. "ro": "Cumpărături",
  19. "ru": "Покупки",
  20. "uk": "Торгівля"
  21. },
  22. "query": {
  23. "14": "(node[shop~'^(mall|department_store)$'];way[shop~'^(mall|department_store)$'];relation[shop~'^(mall|department_store)$'];);",
  24. "16": "(node[shop];way[shop];relation[shop];);"
  25. },
  26. "feature": {
  27. "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 %}",
  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. },
  31. "const": {
  32. "default": {
  33. "sign": "fa-shopping-bag"
  34. },
  35. "shops": [
  36. {
  37. "types": [
  38. "alcohol",
  39. "beverages"
  40. ],
  41. "sign": "fa-beer"
  42. },
  43. {
  44. "types": [
  45. "baby_goods"
  46. ],
  47. "sign": "&#128700;"
  48. },
  49. {
  50. "types": [
  51. "bag",
  52. "general"
  53. ],
  54. "sign": "fa-shopping-bag"
  55. },
  56. {
  57. "types": [
  58. "bakery",
  59. "confectionery",
  60. "pastry"
  61. ],
  62. "sign": "fa-birthday-cake"
  63. },
  64. {
  65. "types": [
  66. "bicycle"
  67. ],
  68. "sign": "&#128690;"
  69. },
  70. {
  71. "types": [
  72. "boutique",
  73. "clothes",
  74. "fabric",
  75. "fashion",
  76. "leather",
  77. "sewing",
  78. "tailor"
  79. ],
  80. "sign": "&#128090;"
  81. },
  82. {
  83. "types": [
  84. "butcher",
  85. "cheese",
  86. "chocolate",
  87. "deli",
  88. "dairy",
  89. "farm",
  90. "greengrocer",
  91. "pasta",
  92. "spices"
  93. ],
  94. "sign": "fa-cutlery"
  95. },
  96. {
  97. "types": [
  98. "coffee",
  99. "tea"
  100. ],
  101. "sign": "fa-coffee"
  102. },
  103. {
  104. "types": [
  105. "convenience"
  106. ],
  107. "sign": "fa-shopping-basket"
  108. },
  109. {
  110. "types": [
  111. "department_store",
  112. "mall"
  113. ],
  114. "sign": "fa-building"
  115. },
  116. {
  117. "types": [
  118. "electronics"
  119. ],
  120. "sign": "&#128250;"
  121. },
  122. {
  123. "types": [
  124. "fishing"
  125. ],
  126. "sign": "&#127907;"
  127. },
  128. {
  129. "types": [
  130. "florist"
  131. ],
  132. "sign": "&#127799;"
  133. },
  134. {
  135. "types": [
  136. "hairdresser"
  137. ],
  138. "sign": "&#128113;"
  139. },
  140. {
  141. "types": [
  142. "ice_cream"
  143. ],
  144. "sign": "&#127848;"
  145. },
  146. {
  147. "types": [
  148. "jewelry"
  149. ],
  150. "sign": "&#128141;"
  151. },
  152. {
  153. "types": [
  154. "kiosk"
  155. ],
  156. "sign": "fa-newspaper-o"
  157. },
  158. {
  159. "types": [
  160. "shoes"
  161. ],
  162. "sign": "&#128095;"
  163. },
  164. {
  165. "types": [
  166. "travel_agency"
  167. ],
  168. "sign": "&#129523;"
  169. },
  170. {
  171. "types": [
  172. "supermarket"
  173. ],
  174. "sign": "fa-shopping-cart"
  175. },
  176. {
  177. "types": [
  178. "watches"
  179. ],
  180. "sign": "&#8986;"
  181. }
  182. ]
  183. },
  184. "filter": {
  185. "shop": {
  186. "name": "{{ trans('filter:type') }}",
  187. "type": "select",
  188. "show_default": "true",
  189. "values": "{% set list = [] %}{% for k, v in const.shops %}{% for t in v.types %}<option value=\"{{ t }}\">{% set list = list|merge([ t ]) %}{{ tagTrans('shop', t) }}</option>{% endfor %}{% endfor %}<option value='other' query='nwr[shop][shop!~\"^(|.*;)({{ list|join('|') }})(|;.*)$\"]'>{{ trans('other') }}</option>",
  190. "op": "has"
  191. }
  192. }
  193. }