From 989b4198b182b0b24fe7387434bc437ecd48beb5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Stephan=20B=C3=B6sch-Plepelits?=
 <plepe@noreply.openstreetbrowser.org>
Date: Fri, 16 Mar 2018 21:08:42 +0100
Subject: [PATCH] Agriculture: priorities

---
 agriculture.json | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)

diff --git a/agriculture.json b/agriculture.json
index ad3a03b..e7f2927 100644
--- a/agriculture.json
+++ b/agriculture.json
@@ -26,6 +26,15 @@
         ]
     },
     "feature": {
-        "description": "{{ tagTrans('landuse', tags.landuse) }}"
+        "description": "{{ tagTrans('landuse', tags.landuse) }}",
+        "priority": [
+            "{% if tags.landuse == 'farmyard' %}",
+            "0",
+            "{% elseif tags.landuse == 'allotments' %}",
+            "1",
+            "{% else %}",
+            "2",
+            "{% endif %}"
+        ]
     }
-}
+}
\ No newline at end of file