|
|
@ -23,6 +23,13 @@ feature: |
|
|
|
{% set type = 'bicycle_road' %} |
|
|
|
{% endif %} |
|
|
|
|
|
|
|
{% set mainOneway = tags.oneway %} |
|
|
|
{% if mainOneway == 'yes' %} |
|
|
|
{% set mainOneway = 1 %} |
|
|
|
{% elseif mainOneway == 'no' %} |
|
|
|
{% set mainOneway = 0 %} |
|
|
|
{% endif %} |
|
|
|
|
|
|
|
{% set oneway = attribute(tags, 'oneway:bicycle')|default(tags.oneway) %} |
|
|
|
{% if oneway == 'yes' %} |
|
|
|
{% set oneway = 1 %} |
|
|
@ -80,6 +87,12 @@ feature: |
|
|
|
{% set rightOneway = 0 %} |
|
|
|
{% endif %} |
|
|
|
|
|
|
|
{% if mainOneway and ((not rightCycle and mainOneway == rightOneway) or (not leftCycle and mainOneway == leftOneway)) %} |
|
|
|
{% set oneway = mainOneway %} |
|
|
|
{% elseif mainOneway == oneway and ((rightCycle and mainOneway == rightOneway) or (leftCycle and mainOneway == leftOneway)) %} |
|
|
|
{% set oneway = 0 %} |
|
|
|
{% endif %} |
|
|
|
|
|
|
|
styles: | |
|
|
|
{% if tags.bridge and tags.bridge != 'no' %} |
|
|
|
bridge_outer,bridge_inner, |
|
|
|