From d83f22a4c7abd30ab137874a50f7ea7858e7c97b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Stephan=20B=C3=B6sch-Plepelits?=
 <plepe@noreply.openstreetbrowser.org>
Date: Sat, 30 Jul 2022 17:42:58 +0200
Subject: [PATCH] =?UTF-8?q?=E2=80=9Eexample3.yaml=E2=80=9C=20hinzuf=C3=BCg?=
 =?UTF-8?q?en?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 example3.yaml | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 example3.yaml

diff --git a/example3.yaml b/example3.yaml
new file mode 100644
index 0000000..43e22b2
--- /dev/null
+++ b/example3.yaml
@@ -0,0 +1,20 @@
+type: overpass
+name: 
+  en: Roads # English name of the category
+query:
+  9: way[highway~"^(motorway|trunk)$"];
+  11: way[highway~"^(motorway|trunk|primary)$"];
+  13: way[highway~"^(motorway|trunk|primary|secondary|tertiary)$"];
+  15: way[highway~"^(motorway|trunk|primary|secondary|tertiary|road|residential)$"];
+feature:
+  description: |
+    {{ tagTrans('highway', tags.highway) }}
+  markerSymbol: # empty, to hide the marker
+  listMarkerSymbol: line
+  style:
+    width: 4
+    color: |
+      {% if tags.highway == 'motorway' %}#ff0000
+      {% elseif tags.highway == 'trunk' %}#ff3f00
+      {% elseif tags.highway == 'primary' %}#ff7f00
+      {% else %}#ffff00{% endif %}
\ No newline at end of file