From 0a9958e711ea6fba7cad9bcfbcdbf33e135496bb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Stephan=20B=C3=B6sch-Plepelits?= <skunk@xover.mud.at>
Date: Sun, 6 Aug 2017 13:37:23 +0200
Subject: [PATCH] Split tourism into tourism_services and toursim_attractions

---
 culture_religion.json                 |  3 +++
 index.json                            |  2 +-
 tourism_attractions.json              | 39 +++++++++++++++++++++++++++
 tourism.json => tourism_services.json | 13 ++-------
 4 files changed, 45 insertions(+), 12 deletions(-)
 create mode 100644 tourism_attractions.json
 rename tourism.json => tourism_services.json (68%)

diff --git a/culture_religion.json b/culture_religion.json
index fc2c1f5..886fc91 100644
--- a/culture_religion.json
+++ b/culture_religion.json
@@ -28,6 +28,9 @@
         },
         {
             "id": "religion"
+        },
+        {
+            "id": "tourism_attractions"
         }
     ]
 }
diff --git a/index.json b/index.json
index 062f743..3930803 100644
--- a/index.json
+++ b/index.json
@@ -83,7 +83,7 @@
                     "id": "public"
                 },
                 {
-                    "id": "tourism"
+                    "id": "tourism_services"
                 }
             ]
         },
diff --git a/tourism_attractions.json b/tourism_attractions.json
new file mode 100644
index 0000000..0e964fe
--- /dev/null
+++ b/tourism_attractions.json
@@ -0,0 +1,39 @@
+{
+    "type": "overpass",
+    "name": {
+        "ast": "Turismu",
+        "cs": "Turistika",
+        "de": "Tourismus",
+        "el": "Τουρισμός",
+        "en": "Tourism",
+        "et": "Turism",
+        "fr": "Tourisme",
+        "hu": "Túrizmus",
+        "it": "Turismo",
+        "ja": "観光",
+        "nl": "Toerisme",
+        "pl": "Turystyka",
+        "ro": "Turism",
+        "ru": "Туризм",
+        "uk": "Туризм"
+    },
+    "query": {
+        "13": "(\nnode[tourism][tourism!~\"^(alpine_hut|apartment|camp_site|caravan_site|chalet|guest_house|hostel|hotel|information|motel|wilderness_hut)$\"];\nway[tourism][tourism!~\"^(alpine_hut|apartment|camp_site|caravan_site|chalet|guest_house|hostel|hotel|information|motel|wilderness_hut)$\"];\nrelation[tourism][tourism!~\"^(alpine_hut|apartment|camp_site|caravan_site|chalet|guest_house|hostel|hotel|information|motel|wilderness_hut)$\"]\n)"
+    },
+    "feature": {
+        "description": "{{ tagTrans('tourism', tags.tourism) }}",
+        "body": "{{ tagTrans('tourism', tags.tourism) }}",
+        "markerSign": "{{ const[tags.tourism] }}"
+    },
+    "const": {
+        "aquarium": "🐟",
+        "artwork": "🛌",
+        "attraction": "",
+        "gallery": "🖼",
+        "museum": "",
+        "picnic_site": "",
+        "theme_park": "",
+        "viewpoint": "",
+        "zoo": "🦁"
+    }
+}
diff --git a/tourism.json b/tourism_services.json
similarity index 68%
rename from tourism.json
rename to tourism_services.json
index 63b78f2..7d03c58 100644
--- a/tourism.json
+++ b/tourism_services.json
@@ -18,7 +18,7 @@
         "uk": "Туризм"
     },
     "query": {
-        "13": "(\nnode[tourism];\nway[tourism];\nrelation[tourism]\n)"
+        "13": "(\nnode[tourism~\"^(alpine_hut|apartment|camp_site|caravan_site|chalet|guest_house|hostel|hotel|information|motel|wilderness_hut)$\"];\nway[tourism~\"^(alpine_hut|apartment|camp_site|caravan_site|chalet|guest_house|hostel|hotel|information|motel|wilderness_hut)$\"];\nrelation[tourism~\"^(alpine_hut|apartment|camp_site|caravan_site|chalet|guest_house|hostel|hotel|information|motel|wilderness_hut)$\"]\n)"
     },
     "feature": {
         "description": "{{ tagTrans('tourism', tags.tourism) }}",
@@ -28,23 +28,14 @@
     "const": {
         "alpine_hut": "🛌",
         "apartment": "🛌",
-        "aquarium": "🐟",
-        "artwork": "🛌",
-        "attraction": "",
         "camp_site": "⛺",
         "caravan_site": "⛺",
         "chalet": "🛌",
-        "gallery": "🖼",
         "guest_house": "🛌",
         "hostel": "🛌",
         "hotel": "🛌",
         "information": "",
         "motel": "🛌",
-        "museum": "",
-        "picnic_site": "",
-        "theme_park": "",
-        "viewpoint": "",
-        "wilderness_hut": "",
-        "zoo": "🦁"
+        "wilderness_hut": ""
     }
 }