From 688708581d26c5933a15232d7a621635062dcb86 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Stephan=20B=C3=B6sch-Plepelits?= <skunk@xover.mud.at>
Date: Sun, 31 May 2020 07:11:21 +0200
Subject: [PATCH] construction: instead of e.g. highway=construction, print
 value of construction

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

diff --git a/construction.json b/construction.json
index 73495f7..289d2dc 100644
--- a/construction.json
+++ b/construction.json
@@ -30,7 +30,10 @@
         "pre": [
             "{% if tags.highway == 'construction' %}",
             "{% set key = 'highway' %}",
-            "{% set value = tags.highway %}",
+            "{% set value = tags.construction %}",
+            "{% elseif tags.landuse == 'construction' and tags.construction %}",
+            "{% set key = 'landuse' %}",
+            "{% set value = tags.construction %}",
             "{% else %}",
             "{% set key = 'landuse' %}",
             "{% set value = tags.landuse %}",