Browse Source

footways: render highway=path bicycle=yes foot=yes like highway=cycleway foot=yes

parking-lanes
parent
commit
1a52dfbb5a
  1. 5
      footways.yaml

5
footways.yaml

@ -38,10 +38,13 @@ feature:
{% endif %} {% endif %}
{% set foot = false %} {% set foot = false %}
{% if tags.highway not in ['pedestrian', 'footway', 'path'] and tags.foot in ['yes', 'designated'] %}
{% if tags.highway not in ['pedestrian', 'footway'] and tags.foot in ['yes', 'designated'] %}
{% set foot = tags.foot %} {% set foot = tags.foot %}
{% set sides = sides|merge(['foot']) %} {% set sides = sides|merge(['foot']) %}
{% endif %} {% endif %}
{% if tags.highway == 'path' and tags.bicycle in ['yes', 'designated'] %}
{% set category = 'cycleway' %}
{% endif %}
{% if tags.footway == 'crossing' %} {% if tags.footway == 'crossing' %}
{% set category = 'crossing' %} {% set category = 'crossing' %}

Loading…
Cancel
Save