From 5a1aa7f9b2cfc6476a0f0188b78e00fb53279e6f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20B=C3=B6sch-Plepelits?= Date: Wed, 4 Jan 2023 21:19:26 +0100 Subject: [PATCH] parking_lanes: show separate type --- parking_lanes.yaml | 36 ++++++++++++++++++++++++++++++------ 1 file changed, 30 insertions(+), 6 deletions(-) diff --git a/parking_lanes.yaml b/parking_lanes.yaml index 6e34d39..538952f 100644 --- a/parking_lanes.yaml +++ b/parking_lanes.yaml @@ -27,13 +27,19 @@ feature: Right: {{ rightType }} / {{ rightOrientation }} styles: | default - ,leftType - ,rightType - {% if leftType not in ['no', 'separate'] %} - ,leftOrientation + {% if leftType == 'separate' %} + ,leftSeparate + {% elseif leftType in ['no', 'unknown'] %} + ,leftType + {% else %} + ,leftType,leftOrientation {% endif %} - {% if rightType not in ['no', 'separate'] %} - ,rightOrientation + {% if rightType == 'separate' %} + ,rightSeparate + {% elseif rightType in ['no', 'unknown'] %} + ,rightType + {% else %} + ,rightType,rightOrientation {% endif %} style: color: '#7f7f7f' @@ -55,6 +61,15 @@ feature: {{ const.orientation[leftOrientation].width }} dashArray: | {{ const.orientation[leftOrientation].dashArray }} + style:leftSeparate: + width: 0 + pattern: arrowHead + pattern-angleCorrection: -90 + pattern-pixelSize: 7 + pattern-lineOffset: -10 + pattern-polygon: false + pattern-repeat: 15 + pattern-path-color: red style:rightType: color: blue offset: | @@ -73,6 +88,15 @@ feature: {{ const.orientation[rightOrientation].width }} dashArray: | {{ const.orientation[rightOrientation].dashArray }} + style:rightSeparate: + width: 0 + pattern: arrowHead + pattern-angleCorrection: 90 + pattern-pixelSize: 7 + pattern-lineOffset: 10 + pattern-polygon: false + pattern-repeat: 15 + pattern-path-color: blue info: | Parking Type: