From 55ad8a7c0e778a582bbf55ee13de63c3b284e4eb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Stephan=20B=C3=B6sch-Plepelits?= <skunk@xover.mud.at>
Date: Mon, 26 Nov 2018 21:06:54 +0100
Subject: [PATCH 1/3] office: new category

---
 index.json  |  3 +++
 office.json | 13 +++++++++++++
 2 files changed, 16 insertions(+)
 create mode 100644 office.json

diff --git a/index.json b/index.json
index aebc34b..bf2c076 100644
--- a/index.json
+++ b/index.json
@@ -89,6 +89,9 @@
                 {
                     "id": "communication"
                 },
+                {
+                    "id": "office"
+                },
                 {
                     "id": "financial"
                 },
diff --git a/office.json b/office.json
new file mode 100644
index 0000000..4ae627a
--- /dev/null
+++ b/office.json
@@ -0,0 +1,13 @@
+{
+    "type": "overpass",
+    "name": {
+        "en": "Offices",
+        "de": "Büros"
+    },
+    "query": {
+        "14": "nwr[office]"
+    },
+    "feature": {
+        "description": "{{ tagTrans('office', tags.office) }}"
+    }
+}

From bff3d77ad7c72c6d7e0f0e57874b08821f72f36e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Stephan=20B=C3=B6sch-Plepelits?= <skunk@xover.mud.at>
Date: Mon, 26 Nov 2018 21:11:21 +0100
Subject: [PATCH 2/3] office: distingish office=government, government=*

---
 office.json | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/office.json b/office.json
index 4ae627a..5675114 100644
--- a/office.json
+++ b/office.json
@@ -8,6 +8,9 @@
         "14": "nwr[office]"
     },
     "feature": {
-        "description": "{{ tagTrans('office', tags.office) }}"
+        "description": [
+            "{{ tagTrans('office', tags.office) }}",
+            "{% if tags.office == 'government' and tags.government %}({{ tagTrans('government', tags.government) }}){% endif %}"
+        ]
     }
 }

From 24b3e32fc761c65b0c3cb64483ea7177ed6a2704 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Stephan=20B=C3=B6sch-Plepelits?= <skunk@xover.mud.at>
Date: Wed, 28 Nov 2018 21:59:12 +0100
Subject: [PATCH 3/3] office: icons for common office types (+ german
 translation)

---
 office.json | 32 ++++++++++++++++++++++++++++++--
 1 file changed, 30 insertions(+), 2 deletions(-)

diff --git a/office.json b/office.json
index 5675114..75bd828 100644
--- a/office.json
+++ b/office.json
@@ -2,7 +2,7 @@
     "type": "overpass",
     "name": {
         "en": "Offices",
-        "de": "Büros"
+        "de": "Ämter, Dienst- und Geschäftsstellen"
     },
     "query": {
         "14": "nwr[office]"
@@ -11,6 +11,34 @@
         "description": [
             "{{ tagTrans('office', tags.office) }}",
             "{% if tags.office == 'government' and tags.government %}({{ tagTrans('government', tags.government) }}){% endif %}"
-        ]
+        ],
+        "markerSign": "{{ const[tags.office]|raw }}"
+    },
+    "const": {
+        "government": "<i class='fas fa-landmark'></i>",
+        "company": "<i class='fas fa-building'></i>",
+        "estate_agent": "<i class='fas fa-home'></i>",
+        "insurance": "<i class='fas fa-file-signature'></i>",
+        "lawyer": "<i class='fas fa-gavel'></i>",
+        "educational_institution": "<i class='fas fa-school'></i>",
+        "administrative": "<i class='fas fa-landmark'></i>",
+        "telecommunication": "<i class='fas fa-phone'></i>",
+        "ngo": "<i class='fas fa-people-carry'></i>",
+        "quango": "<i class='fas fa-people-carry'></i>",
+        "association": "<i class='fas fa-people-carry'></i>",
+        "it": "<i class='fas fa-desktop'></i>",
+        "accountant": "<i class='fas fa-money-bill-alt'></i>",
+        "tax_advisor": "<i class='fas fa-money-bill-alt'></i>",
+        "employment_agency": "<i class='fas fa-user'></i>",
+        "research": "<i class='fas fa-flask'></i>",
+        "religion": "<i class='fas fa-pray'></i>",
+        "architect": "<i class='fas fa-torii-gate'></i>",
+        "financial": "<i class='fas fa-money-bill'></i>",
+        "newspaper": "<i class='fas fa-newspaper'></i>",
+        "political_party": "<i class='fas fa-flag'></i>",
+        "advertising_agency": "<i class='fas fa-ad'></i>",
+        "therapist": "<i class='fas fa-couch'></i>",
+        "travel_agent": "<i class='fas fa-plane-departure'></i>",
+        "publisher": "<i class='fas fa-book'></i>"
     }
 }