From c93f3cb948ab5cc7fadb5f5aa9d6f72f4dec5b60 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Stephan=20B=C3=B6sch-Plepelits?= <skunk@xover.mud.at>
Date: Mon, 17 Jul 2017 22:21:20 +0200
Subject: [PATCH] new category 'education'

---
 education.json | 17 +++++++++++++++++
 index.json     |  3 +++
 2 files changed, 20 insertions(+)
 create mode 100644 education.json

diff --git a/education.json b/education.json
new file mode 100644
index 0000000..1d92afa
--- /dev/null
+++ b/education.json
@@ -0,0 +1,17 @@
+{
+    "type": "overpass",
+    "query": {
+      "11": "(node[amenity~'^(college|university|library)$'];way[amenity~'^(college|university|library)$'];relation[amenity~'^(college|university|library)$'];)",
+      "14": "(node[amenity~'^(college|university|library|school|kindergarten|language_school)$'];way[amenity~'^(college|university|library|school|kindergarten|language_school)$'];relation[amenity~'^(college|university|library|school|kindergarten|language_school)$'];)",
+      "16": "(node[amenity~'^(college|university|library|school|kindergarten|public_bookcase)$'];way[amenity~'^(college|university|library|school|kindergarten|public_bookcase)$'];relation[amenity~'^(college|university|library|school|kindergarten|public_bookcase)$'];)"
+    },
+    "minZoom": 11,
+    "feature": {
+        "markerSign": "{% if tags.amenity == 'university' or tags.amenity == 'college' %}🎓{% elseif tags.amenity == 'library' %}🕮{% elseif tags.amenity == 'school' or tags.amenity == 'language_school' %}🏫{% elseif tags.amenity == 'kindergarten' %}⛹{% elseif tags.amenity == 'public_bookcase' %}📚{% endif %}",
+        "body": "{{ tagTrans('amenity', tags.amenity) }}<br/>{% if tags.operator %}{{ tagTrans('operator') }}: {{ tags.operator }}<br/>{% endif %}",
+        "description": "{{ tagTrans('amenity', tags.amenity) }}",
+        "priority": "{% if tags.amenity == 'university' %}0{% elseif tags.amenity == 'college' %}1{% elseif tags.amenity == 'library' %}2{% elseif tags.amenity == 'school' or tags.amenity == 'language_school' %}3{% elseif tags.amenity == 'kindergarten' %}4{% elseif tags.amenity == 'public_bookcase' %}5{% endif %}"
+    }
+}
+
+
diff --git a/index.json b/index.json
index 9f3f03d..2cce7f4 100644
--- a/index.json
+++ b/index.json
@@ -23,6 +23,9 @@
             "id": "services",
             "type": "index",
             "subCategories": [
+                {
+                    "id": "education"
+                },
                 {
                     "id": "communication"
                 },