Browse Source

cycleway_width: use tag 'width' as fallback of width

cycleway
parent
commit
27c30b7543
  1. 2
      cycleway_width.yaml

2
cycleway_width.yaml

@ -17,7 +17,7 @@ feature:
{% set type = 'cycleway' %} {% set type = 'cycleway' %}
{% endif %} {% endif %}
{% set width = attribute(tags, 'cycleway:width') %}
{% set width = attribute(tags, 'cycleway:width')|default(tags.width) %}
{% if width matches "/'$/" %} {% if width matches "/'$/" %}
{% set width = (width|slice(0, -1)) * 0.3048 %} {% set width = (width|slice(0, -1)) * 0.3048 %}
{% endif %} {% endif %}

Loading…
Cancel
Save