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.

138 lines
3.8 KiB

7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
  1. {
  2. "type": "overpass",
  3. "query": {
  4. "14": "(node[shop~'^(mall|department_store)$'];way[shop~'^(mall|department_store)$'];relation[shop~'^(mall|department_store)$'];);",
  5. "16": "(node[shop];way[shop];relation[shop];);"
  6. },
  7. "minZoom": 14,
  8. "feature": {
  9. "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 %}",
  10. "body": "{{ tagTransList('shop', tags.shop) }}",
  11. "description": "{{ tagTransList('shop', tags.shop) }}",
  12. "markerSign": "{% set c = current.sign %}{% if c|slice(0, 3) == 'fa-' %}<i class=\"fa {{ c }}\"></i>{% else %}{{ c|raw }}{% endif %}",
  13. "__": "no icons for: brewing_supplies, charity, second_hand, variety_store"
  14. },
  15. "const": {
  16. "default": {
  17. "sign": "fa-shopping-bag"
  18. },
  19. "shops": [
  20. {
  21. "types": [
  22. "alcohol",
  23. "beverages"
  24. ],
  25. "sign": "fa-beer"
  26. },
  27. {
  28. "types": [
  29. "baby_goods"
  30. ],
  31. "sign": "&#128700;"
  32. },
  33. {
  34. "types": [
  35. "bag",
  36. "general"
  37. ],
  38. "sign": "fa-shopping-bag"
  39. },
  40. {
  41. "types": [
  42. "bakery",
  43. "confectionery",
  44. "pastry"
  45. ],
  46. "sign": "fa-birthday-cake"
  47. },
  48. {
  49. "types": [
  50. "boutique",
  51. "clothes",
  52. "fabric",
  53. "fashion",
  54. "leather",
  55. "sewing",
  56. "tailor"
  57. ],
  58. "sign": "&#128090;"
  59. },
  60. {
  61. "types": [
  62. "butcher",
  63. "cheese",
  64. "chocolate",
  65. "deli",
  66. "dairy",
  67. "farm",
  68. "greengrocer",
  69. "pasta",
  70. "spices"
  71. ],
  72. "sign": "fa-cutlery"
  73. },
  74. {
  75. "types": [
  76. "coffee",
  77. "tea"
  78. ],
  79. "sign": "fa-coffee"
  80. },
  81. {
  82. "types": [
  83. "convenience"
  84. ],
  85. "sign": "fa-shopping-basket"
  86. },
  87. {
  88. "types": [
  89. "department_store",
  90. "mall"
  91. ],
  92. "sign": "fa-building"
  93. },
  94. {
  95. "types": [
  96. "hairdresser"
  97. ],
  98. "sign": "&#128113;"
  99. },
  100. {
  101. "types": [
  102. "ice_cream"
  103. ],
  104. "sign": "&#127848;"
  105. },
  106. {
  107. "types": [
  108. "jewelry"
  109. ],
  110. "sign": "&#128141;"
  111. },
  112. {
  113. "types": [
  114. "kiosk"
  115. ],
  116. "sign": "fa-newspaper-o"
  117. },
  118. {
  119. "types": [
  120. "shoes"
  121. ],
  122. "sign": "&#128095;"
  123. },
  124. {
  125. "types": [
  126. "supermarket"
  127. ],
  128. "sign": "fa-shopping-cart"
  129. },
  130. {
  131. "types": [
  132. "watches"
  133. ],
  134. "sign": "&#8986;"
  135. }
  136. ]
  137. }
  138. }