From 62423473c53633666a29496415c0a4fa96b5364d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Stephan=20B=C3=B6sch-Plepelits?= <skunk@xover.mud.at>
Date: Sun, 11 Jun 2017 21:38:35 +0200
Subject: [PATCH] Category shopping (unfinished); include font-awesome

---
 index.json | 4 ++++
 shop.json  | 9 +++++++++
 2 files changed, 13 insertions(+)
 create mode 100644 shop.json

diff --git a/index.json b/index.json
index 9d1ce5d..b8098b5 100644
--- a/index.json
+++ b/index.json
@@ -5,6 +5,10 @@
             "id": "gastro",
             "name:en": "Gastronomy"
         },
+        {
+            "id": "shop",
+            "name:en": "Shopping"
+        },
         {
             "id": "trees",
             "name:en": "Trees"
diff --git a/shop.json b/shop.json
new file mode 100644
index 0000000..ca81f80
--- /dev/null
+++ b/shop.json
@@ -0,0 +1,9 @@
+{
+    "type": "category",
+    "query": "(node[shop];way[shop];relation[shop];);",
+    "minZoom": 16,
+    "markerSign": "{% set c = { alcohol: 'fa-beer', baby_goods: '&#128700;', bag: 'fa-shopping-bag', bakery: 'fa-birthday-cake', beverages: 'fa-beer', boutique: '&#128090;', butcher: 'fa-cutlery', cheese: 'fa-cutlery', chocolate: 'fa-cutlery', clothes: '&#128090;', coffee: 'ia-coffee', confectionery: 'fa-birthday-cake', convenience: 'fa-shopping-basket', deli: 'fa-cutlery', dairy: 'fa-cutlery', department_store: 'fa-building', fabric: '&#128090;', farm: 'fa-cutlery', fashion: '&#128090;', general: 'fa-shopping-bag', greengrocer: 'fa-cutlery', hairdresser: '&#128113;', ice_cream: '&#127848;', jewelry: '&#128141;', kiosk: 'fa-newspaper-o', leather: '&#128090;', mall: 'fa-building', pasta: 'fa-cutlery', pastry: 'fa-birthday-cake', seafood: 'fa-cutlery', sewing: '&#128090;', shoes: '&#128095;', spices: 'fa-cutlery', supermarket: 'fa-shopping-cart', tailor: '&#128090;', tea: 'fa-coffee', watches: '&#8986;' }[tags.shop]|default('fa-shopping-bag') %}{% if c|slice(0, 3) == 'fa-' %}<i class=\"fa {{ c }}\"></i>{% else %}{{ c|raw }}{% endif %}",
+    "__": "need better icons for: bakery, butcher, cheese, ice_cream, ",
+    "__": "no icons for: brewing_supplies, charity, second_hand, variety_store", 
+    "featureBody": "{{ tags.shop }}"
+}