From 7c3c32c692392ab6c98d41cd114bb2cec62e00a8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Stephan=20B=C3=B6sch-Plepelits?= <skunk@xover.mud.at>
Date: Sun, 6 Jan 2019 20:35:04 +0100
Subject: [PATCH] Entrances (unfin)

---
 buildings-entrances.json | 24 ++++++++++++++++++++++++
 buildings.json           |  3 +++
 2 files changed, 27 insertions(+)
 create mode 100644 buildings-entrances.json

diff --git a/buildings-entrances.json b/buildings-entrances.json
new file mode 100644
index 0000000..583b2a8
--- /dev/null
+++ b/buildings-entrances.json
@@ -0,0 +1,24 @@
+{
+    "type": "overpass",
+    "name": {
+        "de": "Eingänge",
+        "en": "Entrances"
+    },
+    "query": {
+        "16": [
+            "(",
+            "  node[entrance];",
+            "  node[building=entrance];",
+            ")"
+        ]
+    },
+    "feature": {
+        "description": [
+            "{% if tags.entrance == 'yes' or (not tags.entrance and tags.building == 'entrance') %}",
+            "{{ keyTrans('entrance') }}",
+            "{% else %}",
+            "{{ tagTrans('entrance', tags.entrance) }}",
+            "{% endif %}"
+        ]
+    }
+}
diff --git a/buildings.json b/buildings.json
index ba4e1e0..fe3010a 100644
--- a/buildings.json
+++ b/buildings.json
@@ -18,6 +18,9 @@
         },
         {
             "id": "buildings-start_date"
+        },
+        {
+            "id": "buildings-entrances"
         }
     ]
 }