Main categories of OpenStreetBrowser with support for whitewater
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.

349 lines
9.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
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>{% elseif c|slice(0, 5) == 'maki:' %}<img data-src=\"{{ c }}\">{% else %}{{ c|raw }}{% endif %}"
  30. },
  31. "const": {
  32. "default": {
  33. "sign": "fa-shopping-bag"
  34. },
  35. "shops": [
  36. {
  37. "types": [
  38. "vacant"
  39. ],
  40. "sign": "fa-times"
  41. },
  42. {
  43. "types": [
  44. "alcohol",
  45. "beverages"
  46. ],
  47. "sign": "fa-wine-bottle"
  48. },
  49. {
  50. "types": [
  51. "baby_goods"
  52. ],
  53. "sign": "&#128700;"
  54. },
  55. {
  56. "types": [
  57. "bag",
  58. "general",
  59. "variety_store"
  60. ],
  61. "sign": "fa-shopping-bag"
  62. },
  63. {
  64. "types": [
  65. "bakery",
  66. "confectionery",
  67. "pastry"
  68. ],
  69. "sign": "fa-birthday-cake"
  70. },
  71. {
  72. "types": [
  73. "bicycle"
  74. ],
  75. "sign": "fa-bicycle"
  76. },
  77. {
  78. "types": [
  79. "motorcycle"
  80. ],
  81. "sign": "fa-motorcycle"
  82. },
  83. {
  84. "types": [
  85. "boutique",
  86. "clothes",
  87. "fabric",
  88. "fashion",
  89. "leather",
  90. "sewing",
  91. "tailor",
  92. "dry_cleaning"
  93. ],
  94. "sign": "&#128090;"
  95. },
  96. {
  97. "types": [
  98. "sea_food"
  99. ],
  100. "sign": "fa-fish"
  101. },
  102. {
  103. "types": [
  104. "butcher",
  105. "cheese",
  106. "chocolate",
  107. "deli",
  108. "dairy",
  109. "farm",
  110. "greengrocer",
  111. "pasta",
  112. "spices"
  113. ],
  114. "sign": "fa-cutlery"
  115. },
  116. {
  117. "types": [
  118. "coffee",
  119. "tea"
  120. ],
  121. "sign": "fa-coffee"
  122. },
  123. {
  124. "types": [
  125. "convenience"
  126. ],
  127. "sign": "fa-shopping-basket"
  128. },
  129. {
  130. "types": [
  131. "department_store",
  132. "mall"
  133. ],
  134. "sign": "fa-building"
  135. },
  136. {
  137. "types": [
  138. "electronics",
  139. "computer"
  140. ],
  141. "sign": "fa-tv"
  142. },
  143. {
  144. "types": [
  145. "electrical"
  146. ],
  147. "sign": "fa-bolt"
  148. },
  149. {
  150. "types": [
  151. "lighting"
  152. ],
  153. "sign": "fa-bulb"
  154. },
  155. {
  156. "types": [
  157. "fishing"
  158. ],
  159. "sign": "&#127907;"
  160. },
  161. {
  162. "types": [
  163. "toys"
  164. ],
  165. "sign": "fa-dice"
  166. },
  167. {
  168. "types": [
  169. "florist",
  170. "garden_centre"
  171. ],
  172. "sign": "&#127799;"
  173. },
  174. {
  175. "types": [
  176. "hairdresser"
  177. ],
  178. "sign": "&#128113;"
  179. },
  180. {
  181. "types": [
  182. "ice_cream"
  183. ],
  184. "sign": "&#127848;"
  185. },
  186. {
  187. "types": [
  188. "jewelry"
  189. ],
  190. "sign": "fa-ring"
  191. },
  192. {
  193. "types": [
  194. "kiosk",
  195. "newsagent"
  196. ],
  197. "sign": "fa-newspaper-o"
  198. },
  199. {
  200. "types": [
  201. "shoes"
  202. ],
  203. "sign": "fa-shoe-prints"
  204. },
  205. {
  206. "types": [
  207. "travel_agency"
  208. ],
  209. "sign": "&#129523;"
  210. },
  211. {
  212. "types": [
  213. "supermarket"
  214. ],
  215. "sign": "fa-shopping-cart"
  216. },
  217. {
  218. "types": [
  219. "watches"
  220. ],
  221. "sign": "&#8986;"
  222. },
  223. {
  224. "types": [
  225. "gift"
  226. ],
  227. "sign": "fa-gift"
  228. },
  229. {
  230. "types": [
  231. "locksmith"
  232. ],
  233. "sign": "fa-key"
  234. },
  235. {
  236. "types": [
  237. "doityourself",
  238. "hardware"
  239. ],
  240. "sign": "fa-tools"
  241. },
  242. {
  243. "types": [
  244. "art"
  245. ],
  246. "sign": "fa-palette"
  247. },
  248. {
  249. "types": [
  250. "stationery"
  251. ],
  252. "sign": "fa-pencil-ruler"
  253. },
  254. {
  255. "types": [
  256. "funeral_directors"
  257. ],
  258. "sign": "maki:monument"
  259. },
  260. {
  261. "types": [
  262. "copyshop"
  263. ],
  264. "sign": "fa-copy"
  265. },
  266. {
  267. "types": [
  268. "tobacco"
  269. ],
  270. "sign": "fa-smoking"
  271. },
  272. {
  273. "types": [
  274. "furniture",
  275. "interior_decoration"
  276. ],
  277. "sign": "fa-couch"
  278. },
  279. {
  280. "types": [
  281. "car_repair",
  282. "car",
  283. "car_parts",
  284. "tyres"
  285. ],
  286. "sign": "fa-car"
  287. },
  288. {
  289. "types": [
  290. "beauty",
  291. "cosmetics"
  292. ],
  293. "sign": ""
  294. },
  295. {
  296. "types": [
  297. "music"
  298. ],
  299. "sign": "fa-guitar"
  300. },
  301. {
  302. "types": [
  303. "optician"
  304. ],
  305. "sign": "fa-glasses"
  306. },
  307. {
  308. "types": [
  309. "books"
  310. ],
  311. "sign": "fa-book"
  312. },
  313. {
  314. "types": [
  315. "sports"
  316. ],
  317. "sign": "fa-basketball-ball"
  318. },
  319. {
  320. "types": [
  321. "chemist"
  322. ],
  323. "sign": "fa-tablets"
  324. },
  325. {
  326. "types": [
  327. "pet"
  328. ],
  329. "sign": "fa-paw"
  330. },
  331. {
  332. "types": [
  333. "mobile_phone"
  334. ],
  335. "sign": "fa-mobile-alt"
  336. }
  337. ]
  338. },
  339. "filter": {
  340. "shop": {
  341. "name": "{{ trans('filter:type') }}",
  342. "type": "select",
  343. "show_default": "true",
  344. "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 weight='1' value='other' query='nwr[shop][shop!~\"^(|.*;)({{ list|join('|') }})(|;.*)$\"]'>{{ trans('other') }}</option>",
  345. "sort": "natsort",
  346. "op": "has"
  347. }
  348. }
  349. }