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.

398 lines
11 KiB

  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": [
  28. "{% set shop0 = tags.shop|split(';')[0] %}",
  29. "{% set current = const.default %}",
  30. "{% if const.shops[shop0] %}",
  31. " {% set current = const.shops[shop0] %}",
  32. "{% endif %}"
  33. ],
  34. "description": [
  35. "{% if tags.shop == 'yes' %}",
  36. " {{ keyTrans('shop') }}",
  37. "{% else %}",
  38. " {{ tagTransList('shop', tags.shop) }}",
  39. "{% endif %}"
  40. ],
  41. "markerSign": [
  42. "{% set c = current.sign %}",
  43. "{% if c|slice(0, 4) == 'fas:' %}",
  44. " <i class=\"fas fa-{{ c|slice(4) }}\"></i>",
  45. "{% elseif c|slice(0, 4) == 'far:' %}",
  46. " <i class=\"far fa-{{ c|slice(4) }}\"></i>",
  47. "{% elseif c|slice(0, 5) == 'maki:' %}",
  48. " <img data-src=\"{{ c }}\">",
  49. "{% else %}",
  50. " {{ c|raw }}",
  51. "{% endif %}"
  52. ],
  53. "body": [
  54. "<ul>",
  55. " {% if tags.clothes %}",
  56. " <li class='hasSymbol'>",
  57. " <i class=\"fas fa-tshirt\" aria-hidden=\"true\"></i>",
  58. " <span class='key'>{{ keyTrans('clothes') }}:</span>",
  59. " <span class='value'>{{ tagTransList('clothes', tags.clothes) }}</span>",
  60. " </li>",
  61. " {% endif %}",
  62. "</ul>"
  63. ]
  64. },
  65. "const": {
  66. "default": {
  67. "sign": "fas:shopping-bag"
  68. },
  69. "shops": {
  70. "vacant": {
  71. "sign": "fas:times"
  72. },
  73. "alcohol": {
  74. "sign": "fas:wine-bottle"
  75. },
  76. "wine": {
  77. "sign": "fas:wine-bottle"
  78. },
  79. "beverages": {
  80. "sign": "fas:wine-bottle"
  81. },
  82. "baby_goods": {
  83. "sign": "fas:baby"
  84. },
  85. "bag": {
  86. "sign": "fas:shopping-bag"
  87. },
  88. "general": {
  89. "sign": "fas:shopping-bag"
  90. },
  91. "variety_store": {
  92. "sign": "fas:shopping-bag"
  93. },
  94. "bakery": {
  95. "sign": "fas:birthday-cake"
  96. },
  97. "confectionery": {
  98. "sign": "fas:birthday-cake"
  99. },
  100. "pastry": {
  101. "sign": "fas:birthday-cake"
  102. },
  103. "bicycle": {
  104. "sign": "fas:bicycle"
  105. },
  106. "motorcycle": {
  107. "sign": "fas:motorcycle"
  108. },
  109. "boutique": {
  110. "sign": "&#128090;"
  111. },
  112. "clothes": {
  113. "sign": "&#128090;"
  114. },
  115. "fabric": {
  116. "sign": "&#128090;"
  117. },
  118. "fashion": {
  119. "sign": "&#128090;"
  120. },
  121. "leather": {
  122. "sign": "&#128090;"
  123. },
  124. "sewing": {
  125. "sign": "&#128090;"
  126. },
  127. "tailor": {
  128. "sign": "&#128090;"
  129. },
  130. "dry_cleaning": {
  131. "sign": "&#128090;"
  132. },
  133. "sea_food": {
  134. "sign": "fas:fish"
  135. },
  136. "butcher": {
  137. "sign": "fas:utensils"
  138. },
  139. "cheese": {
  140. "sign": "fas:utensils"
  141. },
  142. "chocolate": {
  143. "sign": "fas:utensils"
  144. },
  145. "deli": {
  146. "sign": "fas:utensils"
  147. },
  148. "dairy": {
  149. "sign": "fas:utensils"
  150. },
  151. "farm": {
  152. "sign": "fas:utensils"
  153. },
  154. "greengrocer": {
  155. "sign": "fas:utensils"
  156. },
  157. "pasta": {
  158. "sign": "fas:utensils"
  159. },
  160. "spices": {
  161. "sign": "fas:utensils"
  162. },
  163. "coffee": {
  164. "sign": "fas:coffee"
  165. },
  166. "tea": {
  167. "sign": "fas:coffee"
  168. },
  169. "convenience": {
  170. "sign": "fas:shopping-basket"
  171. },
  172. "department_store": {
  173. "sign": "fas:building"
  174. },
  175. "mall": {
  176. "sign": "fas:building"
  177. },
  178. "electronics": {
  179. "sign": "fas:tv"
  180. },
  181. "computer": {
  182. "sign": "fas:desktop"
  183. },
  184. "electrical": {
  185. "sign": "fas:bolt"
  186. },
  187. "lighting": {
  188. "sign": "fas:bulb"
  189. },
  190. "fishing": {
  191. "sign": "fas:fish"
  192. },
  193. "toys": {
  194. "sign": "fas:dice"
  195. },
  196. "florist": {
  197. "sign": "&#127799;"
  198. },
  199. "garden_centre": {
  200. "sign": "&#127799;"
  201. },
  202. "hairdresser": {
  203. "sign": "&#128113;"
  204. },
  205. "ice_cream": {
  206. "sign": "fas:ice-cream"
  207. },
  208. "jewelry": {
  209. "sign": "fas:ring"
  210. },
  211. "kiosk": {
  212. "sign": "fas:newspaper"
  213. },
  214. "newsagent": {
  215. "sign": "fas:newspaper"
  216. },
  217. "shoes": {
  218. "sign": "fas:shoe-prints"
  219. },
  220. "travel_agency": {
  221. "sign": "&#129523;"
  222. },
  223. "supermarket": {
  224. "sign": "fas:shopping-cart"
  225. },
  226. "watches": {
  227. "sign": "far:clock"
  228. },
  229. "gift": {
  230. "sign": "fas:gift"
  231. },
  232. "locksmith": {
  233. "sign": "fas:key"
  234. },
  235. "houseware": {
  236. "sign": "fas:tools"
  237. },
  238. "doityourself": {
  239. "sign": "fas:tools"
  240. },
  241. "hardware": {
  242. "sign": "fas:tools"
  243. },
  244. "art": {
  245. "sign": "fas:palette"
  246. },
  247. "stationery": {
  248. "sign": "fas:pencil-ruler"
  249. },
  250. "funeral_directors": {
  251. "sign": "maki:monument"
  252. },
  253. "copyshop": {
  254. "sign": "fas:copy"
  255. },
  256. "tobacco": {
  257. "sign": "fas:smoking"
  258. },
  259. "furniture": {
  260. "sign": "fas:couch"
  261. },
  262. "interior_decoration": {
  263. "sign": "fas:couch"
  264. },
  265. "car_repair": {
  266. "sign": "fas:car"
  267. },
  268. "car": {
  269. "sign": "fas:car"
  270. },
  271. "car_parts": {
  272. "sign": "fas:car"
  273. },
  274. "tyres": {
  275. "sign": "fas:car"
  276. },
  277. "beauty": {
  278. "sign": ""
  279. },
  280. "cosmetics": {
  281. "sign": ""
  282. },
  283. "music": {
  284. "sign": "fas:guitar"
  285. },
  286. "optician": {
  287. "sign": "fas:glasses"
  288. },
  289. "books": {
  290. "sign": "fas:book"
  291. },
  292. "sports": {
  293. "sign": "fas:basketball-ball"
  294. },
  295. "chemist": {
  296. "sign": "fas:tablets"
  297. },
  298. "pet": {
  299. "sign": "fas:paw"
  300. },
  301. "photo": {
  302. "sign": "fas:camera"
  303. },
  304. "ticket": {
  305. "sign": "fas:ticket-alt"
  306. },
  307. "outdoor": {
  308. "sign": "fas:campground"
  309. },
  310. "massage": {
  311. "sign": ""
  312. },
  313. "paint": {
  314. "sign": "fas:paint-roller"
  315. },
  316. "fabric": {
  317. "sign": ""
  318. },
  319. "trade": {
  320. "sign": "fas:tools"
  321. },
  322. "bookmaker": {
  323. "sign": "fas:money-bill-wave"
  324. },
  325. "kitchen": {
  326. "sign": "fas:utensils"
  327. },
  328. "second_hand": {
  329. "sign": ""
  330. },
  331. "lottery": {
  332. "sign": "fas:money-bill-wave"
  333. },
  334. "pawnbroker": {
  335. "sign": "fas:money-bill-wave"
  336. },
  337. "bed": {
  338. "sign": "fas:bed"
  339. },
  340. "charity": {
  341. "sign": "fas:hand-holding-heart"
  342. },
  343. "tattoo": {
  344. "sign": ""
  345. },
  346. "mobile_phone": {
  347. "sign": "fas:mobile-alt"
  348. }
  349. },
  350. "clothes": [
  351. "women",
  352. "men",
  353. "leather",
  354. "fur",
  355. "underwear",
  356. "children",
  357. "wedding",
  358. "sports",
  359. "workwear",
  360. "lingerie",
  361. "babies",
  362. "hats",
  363. "fashion",
  364. "suits",
  365. "unisexs",
  366. "traditional",
  367. "costumes",
  368. "bridal",
  369. "oversize",
  370. "swimwear",
  371. "maternity",
  372. "brand",
  373. "military",
  374. "vintage",
  375. "accessories",
  376. "schoolwear",
  377. "motorcycle",
  378. "denim"
  379. ]
  380. },
  381. "filter": {
  382. "shop": {
  383. "name": "{{ trans('filter:type') }}",
  384. "type": "select",
  385. "show_default": "true",
  386. "values": "{% set list = [] %}{% for k, v in const.shops %}<option value=\"{{ k }}\">{% set list = list|merge([ k ]) %}{{ tagTrans('shop', k) }}</option>{% endfor %}<option weight='1' value='other' query='nwr[shop][shop!~\"^(|.*;)({{ list|join('|') }})(|;.*)$\"]'>{{ trans('other') }}</option>",
  387. "sort": "natsort",
  388. "op": "has"
  389. },
  390. "clothes": {
  391. "name": "{{ keyTrans('clothes') }}",
  392. "type": "select",
  393. "values": "{% set list = [] %}<option weight='-1' value='*' query='nwr[clothes]'>{{ trans('any value') }}</option>{% for k in const.clothes %}{% set list = list|merge([ k ]) %}<option value='{{ k }}'>{{ tagTrans('clothes', k) }}</option>{% endfor %}<option weight='1' value='other' query='nwr[clothes][clothes!~\"^(|.*;)({{ list|join('|') }})(|;.*)$\"]'>{{ trans('other') }}</option>",
  394. "sort": "natsort",
  395. "op": "has"
  396. }
  397. }
  398. }