From b4897eadd23b7416dce35fdc7830974b5c2b4c65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20B=C3=B6sch-Plepelits?= 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