From 7eb6db9285292f84233a9f448e886531a464cecb 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:29:47 +0200
Subject: [PATCH] Category 'religion'

---
 culture_religion.json |  3 +++
 religion.json         | 10 ++++++++++
 2 files changed, 13 insertions(+)

diff --git a/culture_religion.json b/culture_religion.json
index 4d712cf..fc2c1f5 100644
--- a/culture_religion.json
+++ b/culture_religion.json
@@ -25,6 +25,9 @@
         },
         {
             "id": "historic"
+        },
+        {
+            "id": "religion"
         }
     ]
 }
diff --git a/religion.json b/religion.json
index a9f78eb..cf33bde 100644
--- a/religion.json
+++ b/religion.json
@@ -1,4 +1,5 @@
 {
+    "type": "overpass",
     "name": {
         "ast": "Relixón",
         "cs": "Religion",
@@ -14,5 +15,14 @@
         "ro": "Religie",
         "ru": "Религия",
         "uk": "Релігія"
+    },
+    "query": {
+        "13": "(\nnode[amenity~\"^(place_of_worship|grave_yard|crematorium)$\"];\nway[amenity~\"^(place_of_worship|grave_yard|crematorium)$\"];\nrelation[amenity~\"^(place_of_worship|grave_yard|crematorium)$\"];\nway[landuse~\"^(cemetery)$\"];\nrelation[landuse~\"^(cemetery)$\"];\n)"
+    },
+    "feature": {
+        "pre": "{% if tags.landuse == 'cemetery' %}\n{% set key = 'landuse' %}\n{% set value = tags.landuse %}\n{% else %}\n{% set key = 'amenity' %}\n{% set value = tags.amenity %}\n{% endif %}",
+        "description": "{{ tagTrans(key, value) }}{% if tags.religion %}: {{ tagTransList('religion', tags.religion) }}{% endif %}",
+        "body": "{{ tagTrans(key, value) }}\n{% if tags.religion %}\n  <br/>\n  {{ keyTrans('religion') }}: {{ tagTransList('religion', tags.religion) }}\n{% endif %}\n{% if tags.denomination %}\n  <br/>\n  {{ keyTrans('denomination') }}: {{ tagTransList('denomination', tags.denomination) }}\n{% endif %}",
+        "markerSign": "{% if tags.religion == 'christian' %}✝\n{% elseif tags.religion == 'muslim' %}☪\n{% elseif tags.religion == 'buddhist' %}☸\n{% elseif tags.religion == 'hindu' %}ॐ\n{% elseif tags.religion == 'jewish' %}✡\n{% elseif tags.religion == 'pagan' %}☆\n{% endif %}"
     }
 }