From da0cc9b86630eb850a8d3141f5a7a00d4bc5a7cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20B=C3=B6sch-Plepelits?= Date: Wed, 4 Jan 2023 17:03:12 +0100 Subject: [PATCH] parking_lanes: improve details/body --- parking_lanes.yaml | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/parking_lanes.yaml b/parking_lanes.yaml index 5eb223d..04a3d91 100644 --- a/parking_lanes.yaml +++ b/parking_lanes.yaml @@ -8,17 +8,22 @@ feature: {% set leftOrientation = attribute(tags, 'parking:left:orientation')|default(attribute(tags, 'parking:both:orientation'))|default('unknown') %} {% set rightOrientation = attribute(tags, 'parking:right:orientation')|default(attribute(tags, 'parking:both:orientation'))|default('unknown') %} body: | - lt ={{ leftType }}=
- lo ={{ leftOrientation }}= - {{ const.orientation[leftOrientation].dashArray }} - -
- rt ={{ rightType }}=
- ro ={{ rightOrientation }}=
- default,leftType,rightType{% if leftType not in ['no', 'separate'] %},leftOrientation{% endif %}{% if rightType not in ['no', 'separate'] %},rightOrientation{% endif %} + Left: + Right: markerSymbol: '' - description: | - Left: {{ leftType }}, Right: {{ rightType }} + details: | + Left: {{ leftType }} / {{ leftOrientation }}
+ Right: {{ rightType }} / {{ rightOrientation }} styles: | default ,leftType