diff --git a/cycle_infrastructure.json b/cycle_infrastructure.json index fdf1ab0b..1894877a 100644 --- a/cycle_infrastructure.json +++ b/cycle_infrastructure.json @@ -8,7 +8,7 @@ ], "16": [ "(", - "way[highway][highway!~'^(motorway.*|trunk.*|footway|service|steps|platform|corridor)$'][bicycle!=no];", + "way[highway][highway!~'^(motorway.*|trunk.*|footway|service|steps|platform|corridor|path)$'][bicycle!=no];", "way[highway~'^(cycleway|living_street)$'];", "way[bicycle~'^(yes|designated)$'];", "way[cycleway];", @@ -20,7 +20,7 @@ "{% set forward = false %}", "{% set backward = false %}", "{% set cycleway = tags.cycleway|split(';') %}", - "{% set road_type = const[tags.highway] ? tags.highway : 'default' %}", + "{% set road_type = const[tags.highway] ? tags.highway : 'shared_lane' %}", "{% set oneway = attribute(tags, 'oneway:bicycle')|default(tags.oneway) %}", "{% if tags.highway == 'path' and tags.bicycle == 'designated' %}{% set road_type = 'cycleway' %}{% endif %}", "{% if oneway in ['yes', '1'] %}{% set forward = road_type %}{% elseif oneway in ['-1'] %}{% set backward = road_type %}{% else %}{% set forward = road_type %}{% set backward = road_type %}{% endif %}", @@ -89,6 +89,16 @@ "pattern2-path-fillOpacity": "1" } }, + "info": [ + "
{{ markerLine({'width': value.width, 'color': value.color})|raw }} | ", + "{{ tagTrans(value.trans_tag|default('highway'), key) }} | ", + "