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.

84 lines
2.7 KiB

  1. {
  2. "type": "category",
  3. "query": "(node[shop];way[shop];relation[shop];);",
  4. "minZoom": 16,
  5. "feature": {
  6. "pre": "{% set current = const.default %}{% for v in const.shops %}{% if tags.shop in v.types %}{% set current = v %}{% endif %}{% endfor %}",
  7. "body": "{{ tagTrans('shop', tags.shop) }}",
  8. "description": "{{ tagTrans('shop', tags.shop) }}",
  9. "markerSign": "{% set c = current.sign %}{% if c|slice(0, 3) == 'fa-' %}<i class=\"fa {{ c }}\"></i>{% else %}{{ c|raw }}{% endif %}",
  10. "__": "need better icons for: bakery, butcher, cheese, ice_cream, ",
  11. "__": "no icons for: brewing_supplies, charity, second_hand, variety_store"
  12. },
  13. "const": {
  14. "default": {
  15. "sign": "fa-shopping-bag"
  16. },
  17. "shops": [
  18. {
  19. "types": [ "alcohol", "beverages" ],
  20. "sign": "fa-beer"
  21. },
  22. {
  23. "types": [ "baby_goods" ],
  24. "sign": "&#128700;"
  25. },
  26. {
  27. "types": [ "bag", "general" ],
  28. "sign": "fa-shopping-bag"
  29. },
  30. {
  31. "types": [ "bakery", "confectionery", "pastry" ],
  32. "sign": "fa-birthday-cake"
  33. },
  34. {
  35. "types": [ "boutique", "clothes", "fabric", "fashion", "leather", "sewing", "tailor" ],
  36. "sign": "&#128090;"
  37. },
  38. {
  39. "types": [ "butcher", "cheese", "chocolate", "deli", "dairy", "farm", "greengrocer", "pasta", "spices" ],
  40. "sign": "fa-cutlery"
  41. },
  42. {
  43. "types": [ "coffee", "tea" ],
  44. "sign": "fa-coffee"
  45. },
  46. {
  47. "types": [ "convenience" ],
  48. "sign": "fa-shopping-basket"
  49. },
  50. {
  51. "types": [ "department_store", "mall" ],
  52. "sign": "fa-building"
  53. },
  54. {
  55. "types": [ "hairdresser" ],
  56. "sign": "&#128113;"
  57. },
  58. {
  59. "types": [ "ice_cream" ],
  60. "sign": "&#127848;"
  61. },
  62. {
  63. "types": [ "jewelry" ],
  64. "sign": "&#128141;"
  65. },
  66. {
  67. "types": [ "kiosk" ],
  68. "sign": "fa-newspaper-o"
  69. },
  70. {
  71. "types": [ "shoes" ],
  72. "sign": "&#128095;"
  73. },
  74. {
  75. "types": [ "supermarket" ],
  76. "sign": "fa-shopping-cart"
  77. },
  78. {
  79. "types": [ "watches" ],
  80. "sign": "&#8986;"
  81. }
  82. ]
  83. }
  84. }