|
@ -31,7 +31,18 @@ |
|
|
"{% set lanes = tags.lanes|default(attribute(tags, 'lanes:forward')|default(0) + attribute(tags, 'lanes:backward')|default(0))|default(tags.oneway ? 1 : 2) %}", |
|
|
"{% set lanes = tags.lanes|default(attribute(tags, 'lanes:forward')|default(0) + attribute(tags, 'lanes:backward')|default(0))|default(tags.oneway ? 1 : 2) %}", |
|
|
"{% set lanes_width = lanes * 3 %}", |
|
|
"{% set lanes_width = lanes * 3 %}", |
|
|
"{% set forward_lanes = attribute(tags, 'lanes:forward')|default(oneway ? lanes : lanes // 2) %}", |
|
|
"{% set forward_lanes = attribute(tags, 'lanes:forward')|default(oneway ? lanes : lanes // 2) %}", |
|
|
"{% set backward_lanes = attribute(tags, 'lanes:backward')|default(oneway ? 0 : lanes // 2) %}" |
|
|
"{% set backward_lanes = attribute(tags, 'lanes:backward')|default(oneway ? 0 : lanes // 2) %}", |
|
|
|
|
|
"{% if attribute(tags, 'turn:lanes:backward') %}", |
|
|
|
|
|
" {% set turn_lanes_backward = attribute(tags, 'turn:lanes:backward')|split('|') %}", |
|
|
|
|
|
"{% else %}", |
|
|
|
|
|
" {% set turn_lanes_backward = ['through','through','through','through','through','through','through','through','through','through','through','through']|slice(0, backward_lanes) %}", |
|
|
|
|
|
"{% endif %}", |
|
|
|
|
|
"{% if attribute(tags, 'turn:lanes:forward') or attribute(tags, 'turn:lanes') %}", |
|
|
|
|
|
" {% set turn_lanes_forward = attribute(tags, 'turn:lanes:forward')|default(attribute(tags, 'turn:lanes'))|split('|') %}", |
|
|
|
|
|
"{% else %}", |
|
|
|
|
|
" {% set turn_lanes_forward = ['through','through','through','through','through','through','through','through','through','through','through','through']|slice(0, forward_lanes) %}", |
|
|
|
|
|
"{% endif %}", |
|
|
|
|
|
"{% set turn_lanes = turn_lanes_backward|merge(turn_lanes_forward) %}" |
|
|
], |
|
|
], |
|
|
"description": "{{ keyTrans('lanes') }}: {% if tags.lanes %}{{ tags.lanes }}{% else %}{{ lanes }}?{% endif %} {% if attribute(tags, 'lanes:forward') or attribute(tags, 'lanes:backward') %}(↑{{ forward_lanes }} ↓{{ backward_lanes }}){% endif %}", |
|
|
"description": "{{ keyTrans('lanes') }}: {% if tags.lanes %}{{ tags.lanes }}{% else %}{{ lanes }}?{% endif %} {% if attribute(tags, 'lanes:forward') or attribute(tags, 'lanes:backward') %}(↑{{ forward_lanes }} ↓{{ backward_lanes }}){% endif %}", |
|
|
"body": [ |
|
|
"body": [ |
|
@ -286,256 +297,496 @@ |
|
|
"color": "white" |
|
|
"color": "white" |
|
|
}, |
|
|
}, |
|
|
"style:sign1": { |
|
|
"style:sign1": { |
|
|
"_": "{% set lane_forward = backward_lanes < 1 %}", |
|
|
"_": "{% set lane_forward = backward_lanes < 1 %}{% set lane_turn = turn_lanes[1 - 1]|split(';') %}", |
|
|
"width": "0", |
|
|
"width": "0", |
|
|
"pattern0": "dash", |
|
|
"pattern0": "dash", |
|
|
"pattern0-repeat": "30m", |
|
|
"pattern0-repeat": "30m", |
|
|
"pattern0-pixelSize": "4m", |
|
|
"pattern0-pixelSize": "3m", |
|
|
"pattern0-offset": "15.0m", |
|
|
"pattern0-offset": "15.0m", |
|
|
"pattern0-path-color": "white", |
|
|
"pattern0-path-color": "white", |
|
|
"pattern0-path-width": "0.3m", |
|
|
"pattern0-path-width": "0.3m", |
|
|
"pattern0-lineOffset": "{{ lanes_width / -2 + 1.5 }}m", |
|
|
"pattern0-lineOffset": "{{ lanes_width / -2 + 1 * 3 - 1.5 }}m", |
|
|
"pattern1": "arrowHead", |
|
|
"patternThrough": "{% if 'through' in lane_turn %}arrowHead{% endif %}", |
|
|
"pattern1-repeat": "30m", |
|
|
"patternThrough-repeat": "30m", |
|
|
"pattern1-offset": "{{ lane_forward ? '17.0m' : '13.0m' }}", |
|
|
"patternThrough-offset": "{{ lane_forward ? '17m' : '12m' }}", |
|
|
"pattern1-polygon": "false", |
|
|
"patternThrough-polygon": "true", |
|
|
"pattern1-angleCorrection": "{{ lane_forward ? 0 : 180 }}", |
|
|
"patternThrough-angleCorrection": "{{ lane_forward ? 0 : 180 }}", |
|
|
"pattern1-pixelSize": "1.0m", |
|
|
"patternThrough-pixelSize": "1.2m", |
|
|
"pattern1-path-color": "white", |
|
|
"patternThrough-path-color": "white", |
|
|
"pattern1-path-width": "0.3m", |
|
|
"patternThrough-path-width": "0", |
|
|
"pattern1-path-fillOpacity": "0", |
|
|
"patternThrough-path-fillOpacity": "1", |
|
|
"pattern1-lineOffset": "{{ lanes_width / -2 + 1.5 }}m" |
|
|
"patternThrough-lineOffset": "{{ lanes_width / -2 + 1 * 3 - 1.5 }}m", |
|
|
|
|
|
"patternLeft": "{% if 'left' in lane_turn %}arrowHead{% endif %}", |
|
|
|
|
|
"patternLeft-repeat": "30m", |
|
|
|
|
|
"patternLeft-offset": "{{ 15 + (lane_forward ? 1 : -1) * (2 - ('through' in lane_turn ? 2 : 0)) }}m", |
|
|
|
|
|
"patternLeft-polygon": "true", |
|
|
|
|
|
"patternLeft-angleCorrection": "{{ lane_forward ? -90 : 90 }}", |
|
|
|
|
|
"patternLeft-pixelSize": "1.2m", |
|
|
|
|
|
"patternLeft-path-color": "white", |
|
|
|
|
|
"patternLeft-path-width": "0", |
|
|
|
|
|
"patternLeft-path-fillOpacity": "1", |
|
|
|
|
|
"patternLeft-lineOffset": "{{ lanes_width / -2 + 1 * 3 - 1.5 + (lane_forward ? -1.25 : 1.25) }}m", |
|
|
|
|
|
"patternRight": "{% if 'right' in lane_turn %}arrowHead{% endif %}", |
|
|
|
|
|
"patternRight-repeat": "30m", |
|
|
|
|
|
"patternRight-offset": "{{ 15 + (lane_forward ? 1 : -1) * (2 - ('through' in lane_turn ? 2 : 0)) }}m", |
|
|
|
|
|
"patternRight-polygon": "true", |
|
|
|
|
|
"patternRight-angleCorrection": "{{ lane_forward ? 90 : -90 }}", |
|
|
|
|
|
"patternRight-pixelSize": "1.2m", |
|
|
|
|
|
"patternRight-path-color": "white", |
|
|
|
|
|
"patternRight-path-width": "0", |
|
|
|
|
|
"patternRight-path-fillOpacity": "1", |
|
|
|
|
|
"patternRight-lineOffset": "{{ lanes_width / -2 + 1 * 3 - 1.5 + (lane_forward ? 1.25 : -1.25) }}m" |
|
|
}, |
|
|
}, |
|
|
"style:sign2": { |
|
|
"style:sign2": { |
|
|
"_": "{% set lane_forward = backward_lanes < 2 %}", |
|
|
"_": "{% set lane_forward = backward_lanes < 2 %}{% set lane_turn = turn_lanes[2 - 1]|split(';') %}", |
|
|
"width": "0", |
|
|
"width": "0", |
|
|
"pattern0": "dash", |
|
|
"pattern0": "dash", |
|
|
"pattern0-repeat": "30m", |
|
|
"pattern0-repeat": "30m", |
|
|
"pattern0-pixelSize": "4m", |
|
|
"pattern0-pixelSize": "3m", |
|
|
"pattern0-offset": "15.0m", |
|
|
"pattern0-offset": "15.0m", |
|
|
"pattern0-path-color": "white", |
|
|
"pattern0-path-color": "white", |
|
|
"pattern0-path-width": "0.3m", |
|
|
"pattern0-path-width": "0.3m", |
|
|
"pattern0-lineOffset": "{{ lanes_width / -2 + 4.5 }}m", |
|
|
"pattern0-lineOffset": "{{ lanes_width / -2 + 2 * 3 - 1.5 }}m", |
|
|
"pattern1": "arrowHead", |
|
|
"patternThrough": "{% if 'through' in lane_turn %}arrowHead{% endif %}", |
|
|
"pattern1-repeat": "30m", |
|
|
"patternThrough-repeat": "30m", |
|
|
"pattern1-offset": "{{ lane_forward ? '17.0m' : '13.0m' }}", |
|
|
"patternThrough-offset": "{{ lane_forward ? '17m' : '12m' }}", |
|
|
"pattern1-polygon": "false", |
|
|
"patternThrough-polygon": "true", |
|
|
"pattern1-angleCorrection": "{{ lane_forward ? 0 : 180 }}", |
|
|
"patternThrough-angleCorrection": "{{ lane_forward ? 0 : 180 }}", |
|
|
"pattern1-pixelSize": "1.0m", |
|
|
"patternThrough-pixelSize": "1.2m", |
|
|
"pattern1-path-color": "white", |
|
|
"patternThrough-path-color": "white", |
|
|
"pattern1-path-width": "0.3m", |
|
|
"patternThrough-path-width": "0", |
|
|
"pattern1-path-fillOpacity": "0", |
|
|
"patternThrough-path-fillOpacity": "1", |
|
|
"pattern1-lineOffset": "{{ lanes_width / -2 + 4.5 }}m" |
|
|
"patternThrough-lineOffset": "{{ lanes_width / -2 + 2 * 3 - 1.5 }}m", |
|
|
|
|
|
"patternLeft": "{% if 'left' in lane_turn %}arrowHead{% endif %}", |
|
|
|
|
|
"patternLeft-repeat": "30m", |
|
|
|
|
|
"patternLeft-offset": "{{ 15 + (lane_forward ? 1 : -1) * (2 - ('through' in lane_turn ? 2 : 0)) }}m", |
|
|
|
|
|
"patternLeft-polygon": "true", |
|
|
|
|
|
"patternLeft-angleCorrection": "{{ lane_forward ? -90 : 90 }}", |
|
|
|
|
|
"patternLeft-pixelSize": "1.2m", |
|
|
|
|
|
"patternLeft-path-color": "white", |
|
|
|
|
|
"patternLeft-path-width": "0", |
|
|
|
|
|
"patternLeft-path-fillOpacity": "1", |
|
|
|
|
|
"patternLeft-lineOffset": "{{ lanes_width / -2 + 2 * 3 - 1.5 + (lane_forward ? -1.25 : 1.25) }}m", |
|
|
|
|
|
"patternRight": "{% if 'right' in lane_turn %}arrowHead{% endif %}", |
|
|
|
|
|
"patternRight-repeat": "30m", |
|
|
|
|
|
"patternRight-offset": "{{ 15 + (lane_forward ? 1 : -1) * (2 - ('through' in lane_turn ? 2 : 0)) }}m", |
|
|
|
|
|
"patternRight-polygon": "true", |
|
|
|
|
|
"patternRight-angleCorrection": "{{ lane_forward ? 90 : -90 }}", |
|
|
|
|
|
"patternRight-pixelSize": "1.2m", |
|
|
|
|
|
"patternRight-path-color": "white", |
|
|
|
|
|
"patternRight-path-width": "0", |
|
|
|
|
|
"patternRight-path-fillOpacity": "1", |
|
|
|
|
|
"patternRight-lineOffset": "{{ lanes_width / -2 + 2 * 3 - 1.5 + (lane_forward ? 1.25 : -1.25) }}m" |
|
|
}, |
|
|
}, |
|
|
"style:sign3": { |
|
|
"style:sign3": { |
|
|
"_": "{% set lane_forward = backward_lanes < 3 %}", |
|
|
"_": "{% set lane_forward = backward_lanes < 3 %}{% set lane_turn = turn_lanes[3 - 1]|split(';') %}", |
|
|
"width": "0", |
|
|
"width": "0", |
|
|
"pattern0": "dash", |
|
|
"pattern0": "dash", |
|
|
"pattern0-repeat": "30m", |
|
|
"pattern0-repeat": "30m", |
|
|
"pattern0-pixelSize": "4m", |
|
|
"pattern0-pixelSize": "3m", |
|
|
"pattern0-offset": "15.0m", |
|
|
"pattern0-offset": "15.0m", |
|
|
"pattern0-path-color": "white", |
|
|
"pattern0-path-color": "white", |
|
|
"pattern0-path-width": "0.3m", |
|
|
"pattern0-path-width": "0.3m", |
|
|
"pattern0-lineOffset": "{{ lanes_width / -2 + 7.5 }}m", |
|
|
"pattern0-lineOffset": "{{ lanes_width / -2 + 3 * 3 - 1.5 }}m", |
|
|
"pattern1": "arrowHead", |
|
|
"patternThrough": "{% if 'through' in lane_turn %}arrowHead{% endif %}", |
|
|
"pattern1-repeat": "30m", |
|
|
"patternThrough-repeat": "30m", |
|
|
"pattern1-offset": "{{ lane_forward ? '17.0m' : '13.0m' }}", |
|
|
"patternThrough-offset": "{{ lane_forward ? '17m' : '12m' }}", |
|
|
"pattern1-polygon": "false", |
|
|
"patternThrough-polygon": "true", |
|
|
"pattern1-angleCorrection": "{{ lane_forward ? 0 : 180 }}", |
|
|
"patternThrough-angleCorrection": "{{ lane_forward ? 0 : 180 }}", |
|
|
"pattern1-pixelSize": "1.0m", |
|
|
"patternThrough-pixelSize": "1.2m", |
|
|
"pattern1-path-color": "white", |
|
|
"patternThrough-path-color": "white", |
|
|
"pattern1-path-width": "0.3m", |
|
|
"patternThrough-path-width": "0", |
|
|
"pattern1-path-fillOpacity": "0", |
|
|
"patternThrough-path-fillOpacity": "1", |
|
|
"pattern1-lineOffset": "{{ lanes_width / -2 + 7.5 }}m" |
|
|
"patternThrough-lineOffset": "{{ lanes_width / -2 + 3 * 3 - 1.5 }}m", |
|
|
|
|
|
"patternLeft": "{% if 'left' in lane_turn %}arrowHead{% endif %}", |
|
|
|
|
|
"patternLeft-repeat": "30m", |
|
|
|
|
|
"patternLeft-offset": "{{ 15 + (lane_forward ? 1 : -1) * (2 - ('through' in lane_turn ? 2 : 0)) }}m", |
|
|
|
|
|
"patternLeft-polygon": "true", |
|
|
|
|
|
"patternLeft-angleCorrection": "{{ lane_forward ? -90 : 90 }}", |
|
|
|
|
|
"patternLeft-pixelSize": "1.2m", |
|
|
|
|
|
"patternLeft-path-color": "white", |
|
|
|
|
|
"patternLeft-path-width": "0", |
|
|
|
|
|
"patternLeft-path-fillOpacity": "1", |
|
|
|
|
|
"patternLeft-lineOffset": "{{ lanes_width / -2 + 3 * 3 - 1.5 + (lane_forward ? -1.25 : 1.25) }}m", |
|
|
|
|
|
"patternRight": "{% if 'right' in lane_turn %}arrowHead{% endif %}", |
|
|
|
|
|
"patternRight-repeat": "30m", |
|
|
|
|
|
"patternRight-offset": "{{ 15 + (lane_forward ? 1 : -1) * (2 - ('through' in lane_turn ? 2 : 0)) }}m", |
|
|
|
|
|
"patternRight-polygon": "true", |
|
|
|
|
|
"patternRight-angleCorrection": "{{ lane_forward ? 90 : -90 }}", |
|
|
|
|
|
"patternRight-pixelSize": "1.2m", |
|
|
|
|
|
"patternRight-path-color": "white", |
|
|
|
|
|
"patternRight-path-width": "0", |
|
|
|
|
|
"patternRight-path-fillOpacity": "1", |
|
|
|
|
|
"patternRight-lineOffset": "{{ lanes_width / -2 + 3 * 3 - 1.5 + (lane_forward ? 1.25 : -1.25) }}m" |
|
|
}, |
|
|
}, |
|
|
"style:sign4": { |
|
|
"style:sign4": { |
|
|
"_": "{% set lane_forward = backward_lanes < 4 %}", |
|
|
"_": "{% set lane_forward = backward_lanes < 4 %}{% set lane_turn = turn_lanes[4 - 1]|split(';') %}", |
|
|
"width": "0", |
|
|
"width": "0", |
|
|
"pattern0": "dash", |
|
|
"pattern0": "dash", |
|
|
"pattern0-repeat": "30m", |
|
|
"pattern0-repeat": "30m", |
|
|
"pattern0-pixelSize": "4m", |
|
|
"pattern0-pixelSize": "3m", |
|
|
"pattern0-offset": "15.0m", |
|
|
"pattern0-offset": "15.0m", |
|
|
"pattern0-path-color": "white", |
|
|
"pattern0-path-color": "white", |
|
|
"pattern0-path-width": "0.3m", |
|
|
"pattern0-path-width": "0.3m", |
|
|
"pattern0-lineOffset": "{{ lanes_width / -2 + 10.5 }}m", |
|
|
"pattern0-lineOffset": "{{ lanes_width / -2 + 4 * 3 - 1.5 }}m", |
|
|
"pattern1": "arrowHead", |
|
|
"patternThrough": "{% if 'through' in lane_turn %}arrowHead{% endif %}", |
|
|
"pattern1-repeat": "30m", |
|
|
"patternThrough-repeat": "30m", |
|
|
"pattern1-offset": "{{ lane_forward ? '17.0m' : '13.0m' }}", |
|
|
"patternThrough-offset": "{{ lane_forward ? '17m' : '12m' }}", |
|
|
"pattern1-polygon": "false", |
|
|
"patternThrough-polygon": "true", |
|
|
"pattern1-angleCorrection": "{{ lane_forward ? 0 : 180 }}", |
|
|
"patternThrough-angleCorrection": "{{ lane_forward ? 0 : 180 }}", |
|
|
"pattern1-pixelSize": "1.0m", |
|
|
"patternThrough-pixelSize": "1.2m", |
|
|
"pattern1-path-color": "white", |
|
|
"patternThrough-path-color": "white", |
|
|
"pattern1-path-width": "0.3m", |
|
|
"patternThrough-path-width": "0", |
|
|
"pattern1-path-fillOpacity": "0", |
|
|
"patternThrough-path-fillOpacity": "1", |
|
|
"pattern1-lineOffset": "{{ lanes_width / -2 + 10.5 }}m" |
|
|
"patternThrough-lineOffset": "{{ lanes_width / -2 + 4 * 3 - 1.5 }}m", |
|
|
|
|
|
"patternLeft": "{% if 'left' in lane_turn %}arrowHead{% endif %}", |
|
|
|
|
|
"patternLeft-repeat": "30m", |
|
|
|
|
|
"patternLeft-offset": "{{ 15 + (lane_forward ? 1 : -1) * (2 - ('through' in lane_turn ? 2 : 0)) }}m", |
|
|
|
|
|
"patternLeft-polygon": "true", |
|
|
|
|
|
"patternLeft-angleCorrection": "{{ lane_forward ? -90 : 90 }}", |
|
|
|
|
|
"patternLeft-pixelSize": "1.2m", |
|
|
|
|
|
"patternLeft-path-color": "white", |
|
|
|
|
|
"patternLeft-path-width": "0", |
|
|
|
|
|
"patternLeft-path-fillOpacity": "1", |
|
|
|
|
|
"patternLeft-lineOffset": "{{ lanes_width / -2 + 4 * 3 - 1.5 + (lane_forward ? -1.25 : 1.25) }}m", |
|
|
|
|
|
"patternRight": "{% if 'right' in lane_turn %}arrowHead{% endif %}", |
|
|
|
|
|
"patternRight-repeat": "30m", |
|
|
|
|
|
"patternRight-offset": "{{ 15 + (lane_forward ? 1 : -1) * (2 - ('through' in lane_turn ? 2 : 0)) }}m", |
|
|
|
|
|
"patternRight-polygon": "true", |
|
|
|
|
|
"patternRight-angleCorrection": "{{ lane_forward ? 90 : -90 }}", |
|
|
|
|
|
"patternRight-pixelSize": "1.2m", |
|
|
|
|
|
"patternRight-path-color": "white", |
|
|
|
|
|
"patternRight-path-width": "0", |
|
|
|
|
|
"patternRight-path-fillOpacity": "1", |
|
|
|
|
|
"patternRight-lineOffset": "{{ lanes_width / -2 + 4 * 3 - 1.5 + (lane_forward ? 1.25 : -1.25) }}m" |
|
|
}, |
|
|
}, |
|
|
"style:sign5": { |
|
|
"style:sign5": { |
|
|
"_": "{% set lane_forward = backward_lanes < 5 %}", |
|
|
"_": "{% set lane_forward = backward_lanes < 5 %}{% set lane_turn = turn_lanes[5 - 1]|split(';') %}", |
|
|
"width": "0", |
|
|
"width": "0", |
|
|
"pattern0": "dash", |
|
|
"pattern0": "dash", |
|
|
"pattern0-repeat": "30m", |
|
|
"pattern0-repeat": "30m", |
|
|
"pattern0-pixelSize": "4m", |
|
|
"pattern0-pixelSize": "3m", |
|
|
"pattern0-offset": "15.0m", |
|
|
"pattern0-offset": "15.0m", |
|
|
"pattern0-path-color": "white", |
|
|
"pattern0-path-color": "white", |
|
|
"pattern0-path-width": "0.3m", |
|
|
"pattern0-path-width": "0.3m", |
|
|
"pattern0-lineOffset": "{{ lanes_width / -2 + 13.5 }}m", |
|
|
"pattern0-lineOffset": "{{ lanes_width / -2 + 5 * 3 - 1.5 }}m", |
|
|
"pattern1": "arrowHead", |
|
|
"patternThrough": "{% if 'through' in lane_turn %}arrowHead{% endif %}", |
|
|
"pattern1-repeat": "30m", |
|
|
"patternThrough-repeat": "30m", |
|
|
"pattern1-offset": "{{ lane_forward ? '17.0m' : '13.0m' }}", |
|
|
"patternThrough-offset": "{{ lane_forward ? '17m' : '12m' }}", |
|
|
"pattern1-polygon": "false", |
|
|
"patternThrough-polygon": "true", |
|
|
"pattern1-angleCorrection": "{{ lane_forward ? 0 : 180 }}", |
|
|
"patternThrough-angleCorrection": "{{ lane_forward ? 0 : 180 }}", |
|
|
"pattern1-pixelSize": "1.0m", |
|
|
"patternThrough-pixelSize": "1.2m", |
|
|
"pattern1-path-color": "white", |
|
|
"patternThrough-path-color": "white", |
|
|
"pattern1-path-width": "0.3m", |
|
|
"patternThrough-path-width": "0", |
|
|
"pattern1-path-fillOpacity": "0", |
|
|
"patternThrough-path-fillOpacity": "1", |
|
|
"pattern1-lineOffset": "{{ lanes_width / -2 + 13.5 }}m" |
|
|
"patternThrough-lineOffset": "{{ lanes_width / -2 + 5 * 3 - 1.5 }}m", |
|
|
|
|
|
"patternLeft": "{% if 'left' in lane_turn %}arrowHead{% endif %}", |
|
|
|
|
|
"patternLeft-repeat": "30m", |
|
|
|
|
|
"patternLeft-offset": "{{ 15 + (lane_forward ? 1 : -1) * (2 - ('through' in lane_turn ? 2 : 0)) }}m", |
|
|
|
|
|
"patternLeft-polygon": "true", |
|
|
|
|
|
"patternLeft-angleCorrection": "{{ lane_forward ? -90 : 90 }}", |
|
|
|
|
|
"patternLeft-pixelSize": "1.2m", |
|
|
|
|
|
"patternLeft-path-color": "white", |
|
|
|
|
|
"patternLeft-path-width": "0", |
|
|
|
|
|
"patternLeft-path-fillOpacity": "1", |
|
|
|
|
|
"patternLeft-lineOffset": "{{ lanes_width / -2 + 5 * 3 - 1.5 + (lane_forward ? -1.25 : 1.25) }}m", |
|
|
|
|
|
"patternRight": "{% if 'right' in lane_turn %}arrowHead{% endif %}", |
|
|
|
|
|
"patternRight-repeat": "30m", |
|
|
|
|
|
"patternRight-offset": "{{ 15 + (lane_forward ? 1 : -1) * (2 - ('through' in lane_turn ? 2 : 0)) }}m", |
|
|
|
|
|
"patternRight-polygon": "true", |
|
|
|
|
|
"patternRight-angleCorrection": "{{ lane_forward ? 90 : -90 }}", |
|
|
|
|
|
"patternRight-pixelSize": "1.2m", |
|
|
|
|
|
"patternRight-path-color": "white", |
|
|
|
|
|
"patternRight-path-width": "0", |
|
|
|
|
|
"patternRight-path-fillOpacity": "1", |
|
|
|
|
|
"patternRight-lineOffset": "{{ lanes_width / -2 + 5 * 3 - 1.5 + (lane_forward ? 1.25 : -1.25) }}m" |
|
|
}, |
|
|
}, |
|
|
"style:sign6": { |
|
|
"style:sign6": { |
|
|
"_": "{% set lane_forward = backward_lanes < 6 %}", |
|
|
"_": "{% set lane_forward = backward_lanes < 6 %}{% set lane_turn = turn_lanes[6 - 1]|split(';') %}", |
|
|
"width": "0", |
|
|
"width": "0", |
|
|
"pattern0": "dash", |
|
|
"pattern0": "dash", |
|
|
"pattern0-repeat": "30m", |
|
|
"pattern0-repeat": "30m", |
|
|
"pattern0-pixelSize": "4m", |
|
|
"pattern0-pixelSize": "3m", |
|
|
"pattern0-offset": "15.0m", |
|
|
"pattern0-offset": "15.0m", |
|
|
"pattern0-path-color": "white", |
|
|
"pattern0-path-color": "white", |
|
|
"pattern0-path-width": "0.3m", |
|
|
"pattern0-path-width": "0.3m", |
|
|
"pattern0-lineOffset": "{{ lanes_width / -2 + 16.5 }}m", |
|
|
"pattern0-lineOffset": "{{ lanes_width / -2 + 6 * 3 - 1.5 }}m", |
|
|
"pattern1": "arrowHead", |
|
|
"patternThrough": "{% if 'through' in lane_turn %}arrowHead{% endif %}", |
|
|
"pattern1-repeat": "30m", |
|
|
"patternThrough-repeat": "30m", |
|
|
"pattern1-offset": "{{ lane_forward ? '17.0m' : '13.0m' }}", |
|
|
"patternThrough-offset": "{{ lane_forward ? '17m' : '12m' }}", |
|
|
"pattern1-polygon": "false", |
|
|
"patternThrough-polygon": "true", |
|
|
"pattern1-angleCorrection": "{{ lane_forward ? 0 : 180 }}", |
|
|
"patternThrough-angleCorrection": "{{ lane_forward ? 0 : 180 }}", |
|
|
"pattern1-pixelSize": "1.0m", |
|
|
"patternThrough-pixelSize": "1.2m", |
|
|
"pattern1-path-color": "white", |
|
|
"patternThrough-path-color": "white", |
|
|
"pattern1-path-width": "0.3m", |
|
|
"patternThrough-path-width": "0", |
|
|
"pattern1-path-fillOpacity": "0", |
|
|
"patternThrough-path-fillOpacity": "1", |
|
|
"pattern1-lineOffset": "{{ lanes_width / -2 + 16.5 }}m" |
|
|
"patternThrough-lineOffset": "{{ lanes_width / -2 + 6 * 3 - 1.5 }}m", |
|
|
|
|
|
"patternLeft": "{% if 'left' in lane_turn %}arrowHead{% endif %}", |
|
|
|
|
|
"patternLeft-repeat": "30m", |
|
|
|
|
|
"patternLeft-offset": "{{ 15 + (lane_forward ? 1 : -1) * (2 - ('through' in lane_turn ? 2 : 0)) }}m", |
|
|
|
|
|
"patternLeft-polygon": "true", |
|
|
|
|
|
"patternLeft-angleCorrection": "{{ lane_forward ? -90 : 90 }}", |
|
|
|
|
|
"patternLeft-pixelSize": "1.2m", |
|
|
|
|
|
"patternLeft-path-color": "white", |
|
|
|
|
|
"patternLeft-path-width": "0", |
|
|
|
|
|
"patternLeft-path-fillOpacity": "1", |
|
|
|
|
|
"patternLeft-lineOffset": "{{ lanes_width / -2 + 6 * 3 - 1.5 + (lane_forward ? -1.25 : 1.25) }}m", |
|
|
|
|
|
"patternRight": "{% if 'right' in lane_turn %}arrowHead{% endif %}", |
|
|
|
|
|
"patternRight-repeat": "30m", |
|
|
|
|
|
"patternRight-offset": "{{ 15 + (lane_forward ? 1 : -1) * (2 - ('through' in lane_turn ? 2 : 0)) }}m", |
|
|
|
|
|
"patternRight-polygon": "true", |
|
|
|
|
|
"patternRight-angleCorrection": "{{ lane_forward ? 90 : -90 }}", |
|
|
|
|
|
"patternRight-pixelSize": "1.2m", |
|
|
|
|
|
"patternRight-path-color": "white", |
|
|
|
|
|
"patternRight-path-width": "0", |
|
|
|
|
|
"patternRight-path-fillOpacity": "1", |
|
|
|
|
|
"patternRight-lineOffset": "{{ lanes_width / -2 + 6 * 3 - 1.5 + (lane_forward ? 1.25 : -1.25) }}m" |
|
|
}, |
|
|
}, |
|
|
"style:sign7": { |
|
|
"style:sign7": { |
|
|
"_": "{% set lane_forward = backward_lanes < 7 %}", |
|
|
"_": "{% set lane_forward = backward_lanes < 7 %}{% set lane_turn = turn_lanes[7 - 1]|split(';') %}", |
|
|
"width": "0", |
|
|
"width": "0", |
|
|
"pattern0": "dash", |
|
|
"pattern0": "dash", |
|
|
"pattern0-repeat": "30m", |
|
|
"pattern0-repeat": "30m", |
|
|
"pattern0-pixelSize": "4m", |
|
|
"pattern0-pixelSize": "3m", |
|
|
"pattern0-offset": "15.0m", |
|
|
"pattern0-offset": "15.0m", |
|
|
"pattern0-path-color": "white", |
|
|
"pattern0-path-color": "white", |
|
|
"pattern0-path-width": "0.3m", |
|
|
"pattern0-path-width": "0.3m", |
|
|
"pattern0-lineOffset": "{{ lanes_width / -2 + 19.5 }}m", |
|
|
"pattern0-lineOffset": "{{ lanes_width / -2 + 7 * 3 - 1.5 }}m", |
|
|
"pattern1": "arrowHead", |
|
|
"patternThrough": "{% if 'through' in lane_turn %}arrowHead{% endif %}", |
|
|
"pattern1-repeat": "30m", |
|
|
"patternThrough-repeat": "30m", |
|
|
"pattern1-offset": "{{ lane_forward ? '17.0m' : '13.0m' }}", |
|
|
"patternThrough-offset": "{{ lane_forward ? '17m' : '12m' }}", |
|
|
"pattern1-polygon": "false", |
|
|
"patternThrough-polygon": "true", |
|
|
"pattern1-angleCorrection": "{{ lane_forward ? 0 : 180 }}", |
|
|
"patternThrough-angleCorrection": "{{ lane_forward ? 0 : 180 }}", |
|
|
"pattern1-pixelSize": "1.0m", |
|
|
"patternThrough-pixelSize": "1.2m", |
|
|
"pattern1-path-color": "white", |
|
|
"patternThrough-path-color": "white", |
|
|
"pattern1-path-width": "0.3m", |
|
|
"patternThrough-path-width": "0", |
|
|
"pattern1-path-fillOpacity": "0", |
|
|
"patternThrough-path-fillOpacity": "1", |
|
|
"pattern1-lineOffset": "{{ lanes_width / -2 + 19.5 }}m" |
|
|
"patternThrough-lineOffset": "{{ lanes_width / -2 + 7 * 3 - 1.5 }}m", |
|
|
|
|
|
"patternLeft": "{% if 'left' in lane_turn %}arrowHead{% endif %}", |
|
|
|
|
|
"patternLeft-repeat": "30m", |
|
|
|
|
|
"patternLeft-offset": "{{ 15 + (lane_forward ? 1 : -1) * (2 - ('through' in lane_turn ? 2 : 0)) }}m", |
|
|
|
|
|
"patternLeft-polygon": "true", |
|
|
|
|
|
"patternLeft-angleCorrection": "{{ lane_forward ? -90 : 90 }}", |
|
|
|
|
|
"patternLeft-pixelSize": "1.2m", |
|
|
|
|
|
"patternLeft-path-color": "white", |
|
|
|
|
|
"patternLeft-path-width": "0", |
|
|
|
|
|
"patternLeft-path-fillOpacity": "1", |
|
|
|
|
|
"patternLeft-lineOffset": "{{ lanes_width / -2 + 7 * 3 - 1.5 + (lane_forward ? -1.25 : 1.25) }}m", |
|
|
|
|
|
"patternRight": "{% if 'right' in lane_turn %}arrowHead{% endif %}", |
|
|
|
|
|
"patternRight-repeat": "30m", |
|
|
|
|
|
"patternRight-offset": "{{ 15 + (lane_forward ? 1 : -1) * (2 - ('through' in lane_turn ? 2 : 0)) }}m", |
|
|
|
|
|
"patternRight-polygon": "true", |
|
|
|
|
|
"patternRight-angleCorrection": "{{ lane_forward ? 90 : -90 }}", |
|
|
|
|
|
"patternRight-pixelSize": "1.2m", |
|
|
|
|
|
"patternRight-path-color": "white", |
|
|
|
|
|
"patternRight-path-width": "0", |
|
|
|
|
|
"patternRight-path-fillOpacity": "1", |
|
|
|
|
|
"patternRight-lineOffset": "{{ lanes_width / -2 + 7 * 3 - 1.5 + (lane_forward ? 1.25 : -1.25) }}m" |
|
|
}, |
|
|
}, |
|
|
"style:sign8": { |
|
|
"style:sign8": { |
|
|
"_": "{% set lane_forward = backward_lanes < 8 %}", |
|
|
"_": "{% set lane_forward = backward_lanes < 8 %}{% set lane_turn = turn_lanes[8 - 1]|split(';') %}", |
|
|
"width": "0", |
|
|
"width": "0", |
|
|
"pattern0": "dash", |
|
|
"pattern0": "dash", |
|
|
"pattern0-repeat": "30m", |
|
|
"pattern0-repeat": "30m", |
|
|
"pattern0-pixelSize": "4m", |
|
|
"pattern0-pixelSize": "3m", |
|
|
"pattern0-offset": "15.0m", |
|
|
"pattern0-offset": "15.0m", |
|
|
"pattern0-path-color": "white", |
|
|
"pattern0-path-color": "white", |
|
|
"pattern0-path-width": "0.3m", |
|
|
"pattern0-path-width": "0.3m", |
|
|
"pattern0-lineOffset": "{{ lanes_width / -2 + 22.5 }}m", |
|
|
"pattern0-lineOffset": "{{ lanes_width / -2 + 8 * 3 - 1.5 }}m", |
|
|
"pattern1": "arrowHead", |
|
|
"patternThrough": "{% if 'through' in lane_turn %}arrowHead{% endif %}", |
|
|
"pattern1-repeat": "30m", |
|
|
"patternThrough-repeat": "30m", |
|
|
"pattern1-offset": "{{ lane_forward ? '17.0m' : '13.0m' }}", |
|
|
"patternThrough-offset": "{{ lane_forward ? '17m' : '12m' }}", |
|
|
"pattern1-polygon": "false", |
|
|
"patternThrough-polygon": "true", |
|
|
"pattern1-angleCorrection": "{{ lane_forward ? 0 : 180 }}", |
|
|
"patternThrough-angleCorrection": "{{ lane_forward ? 0 : 180 }}", |
|
|
"pattern1-pixelSize": "1.0m", |
|
|
"patternThrough-pixelSize": "1.2m", |
|
|
"pattern1-path-color": "white", |
|
|
"patternThrough-path-color": "white", |
|
|
"pattern1-path-width": "0.3m", |
|
|
"patternThrough-path-width": "0", |
|
|
"pattern1-path-fillOpacity": "0", |
|
|
"patternThrough-path-fillOpacity": "1", |
|
|
"pattern1-lineOffset": "{{ lanes_width / -2 + 22.5 }}m" |
|
|
"patternThrough-lineOffset": "{{ lanes_width / -2 + 8 * 3 - 1.5 }}m", |
|
|
|
|
|
"patternLeft": "{% if 'left' in lane_turn %}arrowHead{% endif %}", |
|
|
|
|
|
"patternLeft-repeat": "30m", |
|
|
|
|
|
"patternLeft-offset": "{{ 15 + (lane_forward ? 1 : -1) * (2 - ('through' in lane_turn ? 2 : 0)) }}m", |
|
|
|
|
|
"patternLeft-polygon": "true", |
|
|
|
|
|
"patternLeft-angleCorrection": "{{ lane_forward ? -90 : 90 }}", |
|
|
|
|
|
"patternLeft-pixelSize": "1.2m", |
|
|
|
|
|
"patternLeft-path-color": "white", |
|
|
|
|
|
"patternLeft-path-width": "0", |
|
|
|
|
|
"patternLeft-path-fillOpacity": "1", |
|
|
|
|
|
"patternLeft-lineOffset": "{{ lanes_width / -2 + 8 * 3 - 1.5 + (lane_forward ? -1.25 : 1.25) }}m", |
|
|
|
|
|
"patternRight": "{% if 'right' in lane_turn %}arrowHead{% endif %}", |
|
|
|
|
|
"patternRight-repeat": "30m", |
|
|
|
|
|
"patternRight-offset": "{{ 15 + (lane_forward ? 1 : -1) * (2 - ('through' in lane_turn ? 2 : 0)) }}m", |
|
|
|
|
|
"patternRight-polygon": "true", |
|
|
|
|
|
"patternRight-angleCorrection": "{{ lane_forward ? 90 : -90 }}", |
|
|
|
|
|
"patternRight-pixelSize": "1.2m", |
|
|
|
|
|
"patternRight-path-color": "white", |
|
|
|
|
|
"patternRight-path-width": "0", |
|
|
|
|
|
"patternRight-path-fillOpacity": "1", |
|
|
|
|
|
"patternRight-lineOffset": "{{ lanes_width / -2 + 8 * 3 - 1.5 + (lane_forward ? 1.25 : -1.25) }}m" |
|
|
}, |
|
|
}, |
|
|
"style:sign9": { |
|
|
"style:sign9": { |
|
|
"_": "{% set lane_forward = backward_lanes < 9 %}", |
|
|
"_": "{% set lane_forward = backward_lanes < 9 %}{% set lane_turn = turn_lanes[9 - 1]|split(';') %}", |
|
|
"width": "0", |
|
|
"width": "0", |
|
|
"pattern0": "dash", |
|
|
"pattern0": "dash", |
|
|
"pattern0-repeat": "30m", |
|
|
"pattern0-repeat": "30m", |
|
|
"pattern0-pixelSize": "4m", |
|
|
"pattern0-pixelSize": "3m", |
|
|
"pattern0-offset": "15.0m", |
|
|
"pattern0-offset": "15.0m", |
|
|
"pattern0-path-color": "white", |
|
|
"pattern0-path-color": "white", |
|
|
"pattern0-path-width": "0.3m", |
|
|
"pattern0-path-width": "0.3m", |
|
|
"pattern0-lineOffset": "{{ lanes_width / -2 + 25.5 }}m", |
|
|
"pattern0-lineOffset": "{{ lanes_width / -2 + 9 * 3 - 1.5 }}m", |
|
|
"pattern1": "arrowHead", |
|
|
"patternThrough": "{% if 'through' in lane_turn %}arrowHead{% endif %}", |
|
|
"pattern1-repeat": "30m", |
|
|
"patternThrough-repeat": "30m", |
|
|
"pattern1-offset": "{{ lane_forward ? '17.0m' : '13.0m' }}", |
|
|
"patternThrough-offset": "{{ lane_forward ? '17m' : '12m' }}", |
|
|
"pattern1-polygon": "false", |
|
|
"patternThrough-polygon": "true", |
|
|
"pattern1-angleCorrection": "{{ lane_forward ? 0 : 180 }}", |
|
|
"patternThrough-angleCorrection": "{{ lane_forward ? 0 : 180 }}", |
|
|
"pattern1-pixelSize": "1.0m", |
|
|
"patternThrough-pixelSize": "1.2m", |
|
|
"pattern1-path-color": "white", |
|
|
"patternThrough-path-color": "white", |
|
|
"pattern1-path-width": "0.3m", |
|
|
"patternThrough-path-width": "0", |
|
|
"pattern1-path-fillOpacity": "0", |
|
|
"patternThrough-path-fillOpacity": "1", |
|
|
"pattern1-lineOffset": "{{ lanes_width / -2 + 25.5 }}m" |
|
|
"patternThrough-lineOffset": "{{ lanes_width / -2 + 9 * 3 - 1.5 }}m", |
|
|
|
|
|
"patternLeft": "{% if 'left' in lane_turn %}arrowHead{% endif %}", |
|
|
|
|
|
"patternLeft-repeat": "30m", |
|
|
|
|
|
"patternLeft-offset": "{{ 15 + (lane_forward ? 1 : -1) * (2 - ('through' in lane_turn ? 2 : 0)) }}m", |
|
|
|
|
|
"patternLeft-polygon": "true", |
|
|
|
|
|
"patternLeft-angleCorrection": "{{ lane_forward ? -90 : 90 }}", |
|
|
|
|
|
"patternLeft-pixelSize": "1.2m", |
|
|
|
|
|
"patternLeft-path-color": "white", |
|
|
|
|
|
"patternLeft-path-width": "0", |
|
|
|
|
|
"patternLeft-path-fillOpacity": "1", |
|
|
|
|
|
"patternLeft-lineOffset": "{{ lanes_width / -2 + 9 * 3 - 1.5 + (lane_forward ? -1.25 : 1.25) }}m", |
|
|
|
|
|
"patternRight": "{% if 'right' in lane_turn %}arrowHead{% endif %}", |
|
|
|
|
|
"patternRight-repeat": "30m", |
|
|
|
|
|
"patternRight-offset": "{{ 15 + (lane_forward ? 1 : -1) * (2 - ('through' in lane_turn ? 2 : 0)) }}m", |
|
|
|
|
|
"patternRight-polygon": "true", |
|
|
|
|
|
"patternRight-angleCorrection": "{{ lane_forward ? 90 : -90 }}", |
|
|
|
|
|
"patternRight-pixelSize": "1.2m", |
|
|
|
|
|
"patternRight-path-color": "white", |
|
|
|
|
|
"patternRight-path-width": "0", |
|
|
|
|
|
"patternRight-path-fillOpacity": "1", |
|
|
|
|
|
"patternRight-lineOffset": "{{ lanes_width / -2 + 9 * 3 - 1.5 + (lane_forward ? 1.25 : -1.25) }}m" |
|
|
}, |
|
|
}, |
|
|
"style:sign10": { |
|
|
"style:sign10": { |
|
|
"_": "{% set lane_forward = backward_lanes < 10 %}", |
|
|
"_": "{% set lane_forward = backward_lanes < 10 %}{% set lane_turn = turn_lanes[10 - 1]|split(';') %}", |
|
|
"width": "0", |
|
|
"width": "0", |
|
|
"pattern0": "dash", |
|
|
"pattern0": "dash", |
|
|
"pattern0-repeat": "30m", |
|
|
"pattern0-repeat": "30m", |
|
|
"pattern0-pixelSize": "4m", |
|
|
"pattern0-pixelSize": "3m", |
|
|
"pattern0-offset": "15.0m", |
|
|
"pattern0-offset": "15.0m", |
|
|
"pattern0-path-color": "white", |
|
|
"pattern0-path-color": "white", |
|
|
"pattern0-path-width": "0.3m", |
|
|
"pattern0-path-width": "0.3m", |
|
|
"pattern0-lineOffset": "{{ lanes_width / -2 + 28.5 }}m", |
|
|
"pattern0-lineOffset": "{{ lanes_width / -2 + 10 * 3 - 1.5 }}m", |
|
|
"pattern1": "arrowHead", |
|
|
"patternThrough": "{% if 'through' in lane_turn %}arrowHead{% endif %}", |
|
|
"pattern1-repeat": "30m", |
|
|
"patternThrough-repeat": "30m", |
|
|
"pattern1-offset": "{{ lane_forward ? '17.0m' : '13.0m' }}", |
|
|
"patternThrough-offset": "{{ lane_forward ? '17m' : '12m' }}", |
|
|
"pattern1-polygon": "false", |
|
|
"patternThrough-polygon": "true", |
|
|
"pattern1-angleCorrection": "{{ lane_forward ? 0 : 180 }}", |
|
|
"patternThrough-angleCorrection": "{{ lane_forward ? 0 : 180 }}", |
|
|
"pattern1-pixelSize": "1.0m", |
|
|
"patternThrough-pixelSize": "1.2m", |
|
|
"pattern1-path-color": "white", |
|
|
"patternThrough-path-color": "white", |
|
|
"pattern1-path-width": "0.3m", |
|
|
"patternThrough-path-width": "0", |
|
|
"pattern1-path-fillOpacity": "0", |
|
|
"patternThrough-path-fillOpacity": "1", |
|
|
"pattern1-lineOffset": "{{ lanes_width / -2 + 28.5 }}m" |
|
|
"patternThrough-lineOffset": "{{ lanes_width / -2 + 10 * 3 - 1.5 }}m", |
|
|
|
|
|
"patternLeft": "{% if 'left' in lane_turn %}arrowHead{% endif %}", |
|
|
|
|
|
"patternLeft-repeat": "30m", |
|
|
|
|
|
"patternLeft-offset": "{{ 15 + (lane_forward ? 1 : -1) * (2 - ('through' in lane_turn ? 2 : 0)) }}m", |
|
|
|
|
|
"patternLeft-polygon": "true", |
|
|
|
|
|
"patternLeft-angleCorrection": "{{ lane_forward ? -90 : 90 }}", |
|
|
|
|
|
"patternLeft-pixelSize": "1.2m", |
|
|
|
|
|
"patternLeft-path-color": "white", |
|
|
|
|
|
"patternLeft-path-width": "0", |
|
|
|
|
|
"patternLeft-path-fillOpacity": "1", |
|
|
|
|
|
"patternLeft-lineOffset": "{{ lanes_width / -2 + 10 * 3 - 1.5 + (lane_forward ? -1.25 : 1.25) }}m", |
|
|
|
|
|
"patternRight": "{% if 'right' in lane_turn %}arrowHead{% endif %}", |
|
|
|
|
|
"patternRight-repeat": "30m", |
|
|
|
|
|
"patternRight-offset": "{{ 15 + (lane_forward ? 1 : -1) * (2 - ('through' in lane_turn ? 2 : 0)) }}m", |
|
|
|
|
|
"patternRight-polygon": "true", |
|
|
|
|
|
"patternRight-angleCorrection": "{{ lane_forward ? 90 : -90 }}", |
|
|
|
|
|
"patternRight-pixelSize": "1.2m", |
|
|
|
|
|
"patternRight-path-color": "white", |
|
|
|
|
|
"patternRight-path-width": "0", |
|
|
|
|
|
"patternRight-path-fillOpacity": "1", |
|
|
|
|
|
"patternRight-lineOffset": "{{ lanes_width / -2 + 10 * 3 - 1.5 + (lane_forward ? 1.25 : -1.25) }}m" |
|
|
}, |
|
|
}, |
|
|
"style:sign11": { |
|
|
"style:sign11": { |
|
|
"_": "{% set lane_forward = backward_lanes < 11 %}", |
|
|
"_": "{% set lane_forward = backward_lanes < 11 %}{% set lane_turn = turn_lanes[11 - 1]|split(';') %}", |
|
|
"width": "0", |
|
|
"width": "0", |
|
|
"pattern0": "dash", |
|
|
"pattern0": "dash", |
|
|
"pattern0-repeat": "30m", |
|
|
"pattern0-repeat": "30m", |
|
|
"pattern0-pixelSize": "4m", |
|
|
"pattern0-pixelSize": "3m", |
|
|
"pattern0-offset": "15.0m", |
|
|
"pattern0-offset": "15.0m", |
|
|
"pattern0-path-color": "white", |
|
|
"pattern0-path-color": "white", |
|
|
"pattern0-path-width": "0.3m", |
|
|
"pattern0-path-width": "0.3m", |
|
|
"pattern0-lineOffset": "{{ lanes_width / -2 + 31.5 }}m", |
|
|
"pattern0-lineOffset": "{{ lanes_width / -2 + 11 * 3 - 1.5 }}m", |
|
|
"pattern1": "arrowHead", |
|
|
"patternThrough": "{% if 'through' in lane_turn %}arrowHead{% endif %}", |
|
|
"pattern1-repeat": "30m", |
|
|
"patternThrough-repeat": "30m", |
|
|
"pattern1-offset": "{{ lane_forward ? '17.0m' : '13.0m' }}", |
|
|
"patternThrough-offset": "{{ lane_forward ? '17m' : '12m' }}", |
|
|
"pattern1-polygon": "false", |
|
|
"patternThrough-polygon": "true", |
|
|
"pattern1-angleCorrection": "{{ lane_forward ? 0 : 180 }}", |
|
|
"patternThrough-angleCorrection": "{{ lane_forward ? 0 : 180 }}", |
|
|
"pattern1-pixelSize": "1.0m", |
|
|
"patternThrough-pixelSize": "1.2m", |
|
|
"pattern1-path-color": "white", |
|
|
"patternThrough-path-color": "white", |
|
|
"pattern1-path-width": "0.3m", |
|
|
"patternThrough-path-width": "0", |
|
|
"pattern1-path-fillOpacity": "0", |
|
|
"patternThrough-path-fillOpacity": "1", |
|
|
"pattern1-lineOffset": "{{ lanes_width / -2 + 31.5 }}m" |
|
|
"patternThrough-lineOffset": "{{ lanes_width / -2 + 11 * 3 - 1.5 }}m", |
|
|
|
|
|
"patternLeft": "{% if 'left' in lane_turn %}arrowHead{% endif %}", |
|
|
|
|
|
"patternLeft-repeat": "30m", |
|
|
|
|
|
"patternLeft-offset": "{{ 15 + (lane_forward ? 1 : -1) * (2 - ('through' in lane_turn ? 2 : 0)) }}m", |
|
|
|
|
|
"patternLeft-polygon": "true", |
|
|
|
|
|
"patternLeft-angleCorrection": "{{ lane_forward ? -90 : 90 }}", |
|
|
|
|
|
"patternLeft-pixelSize": "1.2m", |
|
|
|
|
|
"patternLeft-path-color": "white", |
|
|
|
|
|
"patternLeft-path-width": "0", |
|
|
|
|
|
"patternLeft-path-fillOpacity": "1", |
|
|
|
|
|
"patternLeft-lineOffset": "{{ lanes_width / -2 + 11 * 3 - 1.5 + (lane_forward ? -1.25 : 1.25) }}m", |
|
|
|
|
|
"patternRight": "{% if 'right' in lane_turn %}arrowHead{% endif %}", |
|
|
|
|
|
"patternRight-repeat": "30m", |
|
|
|
|
|
"patternRight-offset": "{{ 15 + (lane_forward ? 1 : -1) * (2 - ('through' in lane_turn ? 2 : 0)) }}m", |
|
|
|
|
|
"patternRight-polygon": "true", |
|
|
|
|
|
"patternRight-angleCorrection": "{{ lane_forward ? 90 : -90 }}", |
|
|
|
|
|
"patternRight-pixelSize": "1.2m", |
|
|
|
|
|
"patternRight-path-color": "white", |
|
|
|
|
|
"patternRight-path-width": "0", |
|
|
|
|
|
"patternRight-path-fillOpacity": "1", |
|
|
|
|
|
"patternRight-lineOffset": "{{ lanes_width / -2 + 11 * 3 - 1.5 + (lane_forward ? 1.25 : -1.25) }}m" |
|
|
}, |
|
|
}, |
|
|
"style:sign12": { |
|
|
"style:sign12": { |
|
|
"_": "{% set lane_forward = backward_lanes < 12 %}", |
|
|
"_": "{% set lane_forward = backward_lanes < 12 %}{% set lane_turn = turn_lanes[12 - 1]|split(';') %}", |
|
|
"width": "0", |
|
|
"width": "0", |
|
|
"pattern0": "dash", |
|
|
"pattern0": "dash", |
|
|
"pattern0-repeat": "30m", |
|
|
"pattern0-repeat": "30m", |
|
|
"pattern0-pixelSize": "4m", |
|
|
"pattern0-pixelSize": "3m", |
|
|
"pattern0-offset": "15.0m", |
|
|
"pattern0-offset": "15.0m", |
|
|
"pattern0-path-color": "white", |
|
|
"pattern0-path-color": "white", |
|
|
"pattern0-path-width": "0.3m", |
|
|
"pattern0-path-width": "0.3m", |
|
|
"pattern0-lineOffset": "{{ lanes_width / -2 + 34.5 }}m", |
|
|
"pattern0-lineOffset": "{{ lanes_width / -2 + 12 * 3 - 1.5 }}m", |
|
|
"pattern1": "arrowHead", |
|
|
"patternThrough": "{% if 'through' in lane_turn %}arrowHead{% endif %}", |
|
|
"pattern1-repeat": "30m", |
|
|
"patternThrough-repeat": "30m", |
|
|
"pattern1-offset": "{{ lane_forward ? '17.0m' : '13.0m' }}", |
|
|
"patternThrough-offset": "{{ lane_forward ? '17m' : '12m' }}", |
|
|
"pattern1-polygon": "false", |
|
|
"patternThrough-polygon": "true", |
|
|
"pattern1-angleCorrection": "{{ lane_forward ? 0 : 180 }}", |
|
|
"patternThrough-angleCorrection": "{{ lane_forward ? 0 : 180 }}", |
|
|
"pattern1-pixelSize": "1.0m", |
|
|
"patternThrough-pixelSize": "1.2m", |
|
|
"pattern1-path-color": "white", |
|
|
"patternThrough-path-color": "white", |
|
|
"pattern1-path-width": "0.3m", |
|
|
"patternThrough-path-width": "0", |
|
|
"pattern1-path-fillOpacity": "0", |
|
|
"patternThrough-path-fillOpacity": "1", |
|
|
"pattern1-lineOffset": "{{ lanes_width / -2 + 34.5 }}m" |
|
|
"patternThrough-lineOffset": "{{ lanes_width / -2 + 12 * 3 - 1.5 }}m", |
|
|
|
|
|
"patternLeft": "{% if 'left' in lane_turn %}arrowHead{% endif %}", |
|
|
|
|
|
"patternLeft-repeat": "30m", |
|
|
|
|
|
"patternLeft-offset": "{{ 15 + (lane_forward ? 1 : -1) * (2 - ('through' in lane_turn ? 2 : 0)) }}m", |
|
|
|
|
|
"patternLeft-polygon": "true", |
|
|
|
|
|
"patternLeft-angleCorrection": "{{ lane_forward ? -90 : 90 }}", |
|
|
|
|
|
"patternLeft-pixelSize": "1.2m", |
|
|
|
|
|
"patternLeft-path-color": "white", |
|
|
|
|
|
"patternLeft-path-width": "0", |
|
|
|
|
|
"patternLeft-path-fillOpacity": "1", |
|
|
|
|
|
"patternLeft-lineOffset": "{{ lanes_width / -2 + 12 * 3 - 1.5 + (lane_forward ? -1.25 : 1.25) }}m", |
|
|
|
|
|
"patternRight": "{% if 'right' in lane_turn %}arrowHead{% endif %}", |
|
|
|
|
|
"patternRight-repeat": "30m", |
|
|
|
|
|
"patternRight-offset": "{{ 15 + (lane_forward ? 1 : -1) * (2 - ('through' in lane_turn ? 2 : 0)) }}m", |
|
|
|
|
|
"patternRight-polygon": "true", |
|
|
|
|
|
"patternRight-angleCorrection": "{{ lane_forward ? 90 : -90 }}", |
|
|
|
|
|
"patternRight-pixelSize": "1.2m", |
|
|
|
|
|
"patternRight-path-color": "white", |
|
|
|
|
|
"patternRight-path-width": "0", |
|
|
|
|
|
"patternRight-path-fillOpacity": "1", |
|
|
|
|
|
"patternRight-lineOffset": "{{ lanes_width / -2 + 12 * 3 - 1.5 + (lane_forward ? 1.25 : -1.25) }}m" |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
"info": [ |
|
|
"info": [ |
|
|
xxxxxxxxxx