From 8fa3be8b581e0b78810c5bd68654758324250bdb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20B=C3=B6sch-Plepelits?= Date: Sat, 15 Oct 2022 11:39:03 +0200 Subject: [PATCH] footways: map info: shared/segregated cycle- and footway --- footways.yaml | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/footways.yaml b/footways.yaml index 33ee293..0878759 100644 --- a/footways.yaml +++ b/footways.yaml @@ -72,7 +72,11 @@ feature: {% if tags.footway %} {{ tagTrans('footway', tags.footway) }} {% elseif tags.highway %} - {{ tagTrans('highway', tags.highway) }} + {% if tags.segregated %} + {{ tagTrans('highway', tags.highway ~ ' segregated=' ~ tags.segregated) }} + {% else %} + {{ tagTrans('highway', tags.highway) }} + {% endif %} {% elseif tags.railway %} {{ tagTrans('railway', tags.railway) }} {% endif %} @@ -254,7 +258,7 @@ info: | dashOffset: 3 } }) }} - highway=cycleway segregated=no + {{ tagTrans('highway', 'cycleway segregated=no') }} {{ markerLine({ @@ -270,7 +274,7 @@ info: | offset: 1 } }) }} - highway=cycleway segregated=yes + {{ tagTrans('highway', 'cycleway segregated=yes') }} {% for k, d in const.sidewalks %} @@ -317,12 +321,12 @@ const: key: railway color: '#00ff00' sidewalks: - yes: + 'yes': color: '#ff007f' styles: 'leftr,left' - separate: + 'separate': color: '#ff007f' styles: 'leftr' - no: + 'no': color: '#000000' - styles: 'leftr,left' + styles: 'leftr'