From cd41134110524749439d608438ea9a3706adcf86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20B=C3=B6sch-Plepelits?= Date: Sun, 1 Dec 2024 08:35:32 +0100 Subject: [PATCH] cycleway_types: improve info --- cycleway_types.yaml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/cycleway_types.yaml b/cycleway_types.yaml index ba2f311..cc9d694 100644 --- a/cycleway_types.yaml +++ b/cycleway_types.yaml @@ -423,6 +423,7 @@ info: | {% for k, v in const.types %} + {% if not v.hideInfo %} {{ markerLine({ width: 4, color: v.color }) }} @@ -431,7 +432,28 @@ info: | {{ k }} + {% endif %} {% endfor %} + + {% for k, v in const.otherInfrastructure %} + + + {{ markerLine(evaluate({ highway: 'cycleway', cycleway: k })) }} + + + {{ k }} + + + {% endfor %} + + + + {{ markerLine({ width: 4, color: '#ff0000' }) }} + + + Deprecated or invalid tag! + + const: types: @@ -454,6 +476,7 @@ const: shared: color: '#ff0000' warning: 'Deprecated tag! Use oneway:bicycle=no and cycleway=lane, cycleway:oneway=-1 instead.' + hideInfo: true shared_lane: color: '#003faf' share_busway: @@ -461,15 +484,19 @@ const: opposite: color: '#ff0000' warning: 'Deprecated tag! Use oneway:bicycle=no and cycleway:%other_driving_side%=lane, cycleway:%other_driving_side%:oneway=-1 instead.' + hideInfo: true opposite_lane: color: '#ff0000' warning: 'Deprecated tag! Use oneway:bicycle=no and cycleway:%other_driving_side%=lane, cycleway:%other_driving_side%:oneway=-1 instead.' + hideInfo: true opposite_share_busway: color: '#ff0000' warning: 'Deprecated tag! Use oneway:bicycle=no and cycleway:%other_driving_side%=share_busway, cycleway:%other_driving_side%:oneway=-1 instead.' + hideInfo: true opposite_track: color: '#ff0000' warning: 'Deprecated tag! Use oneway:bicycle=no and cycleway:%other_driving_side%=track, cycleway:%other_driving_side%:oneway=-1 instead.' + hideInfo: true otherInfrastructure: crossing: extraWidth: 4