Browse Source

footways: thicker symbol for segregated cycleway/footway

parking-lanes
parent
commit
b8edc3a1a6
  1. 21
      footways.yaml

21
footways.yaml

@ -277,7 +277,7 @@ feature:
{% elseif tags.area == 'yes' %} {% elseif tags.area == 'yes' %}
1 1
{% elseif cycleway and tags.segregated == 'yes' %} {% elseif cycleway and tags.segregated == 'yes' %}
2
3
{% else %} {% else %}
{{ const.categories[category].width|default(3) }} {{ const.categories[category].width|default(3) }}
{% endif %} {% endif %}
@ -292,15 +292,10 @@ feature:
lineCap: | lineCap: |
{% if tags.highway == 'steps' or (cycleway and tags.segregated != 'yes') %}butt{% else %}round{% endif %} {% if tags.highway == 'steps' or (cycleway and tags.segregated != 'yes') %}butt{% else %}round{% endif %}
offset: | offset: |
{% if cycleway and tags.segregated == 'yes' %}1{% else %}0{% endif %}
{% if cycleway and tags.segregated == 'yes' %}1.5{% else %}0{% endif %}
style:cycleway: style:cycleway:
fill: false fill: false
width: |
{% if cycleway and tags.segregated == 'yes' %}
2
{% else %}
3
{% endif %}
width: 3
color: | color: |
{{ const.categories.cycleway.color }} {{ const.categories.cycleway.color }}
dashArray: | dashArray: |
@ -311,7 +306,7 @@ feature:
lineCap: | lineCap: |
{% if cycleway and tags.segregated != 'yes' %}butt{% else %}round{% endif %} {% if cycleway and tags.segregated != 'yes' %}butt{% else %}round{% endif %}
offset: | offset: |
{% if cycleway and tags.segregated == 'yes' %}-1{% else %}0{% endif %}
{% if cycleway and tags.segregated == 'yes' %}-1.5{% else %}0{% endif %}
style:left: style:left:
fill: false fill: false
width: 3 width: 3
@ -416,14 +411,14 @@ info: |
<td>{{ markerLine({ <td>{{ markerLine({
styles: 'default,foot', styles: 'default,foot',
style: { style: {
width: 2,
width: 3,
color: const.categories.cycleway.color, color: const.categories.cycleway.color,
offset: -1
offset: -1.5
}, },
'style:foot': { 'style:foot': {
width: 2,
width: 3,
color: const.categories.footway.color, color: const.categories.footway.color,
offset: 1
offset: 1.5
} }
}) }}</td> }) }}</td>
<td>{{ tagTrans('highway', 'cycleway segregated=yes') }}</td> <td>{{ tagTrans('highway', 'cycleway segregated=yes') }}</td>

Loading…
Cancel
Save