From 27c30b7543c0dc5f97e923d6bfd7c58185f39bc4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20B=C3=B6sch-Plepelits?= Date: Thu, 28 Nov 2024 13:27:52 +0100 Subject: [PATCH] cycleway_width: use tag 'width' as fallback of width --- cycleway_width.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cycleway_width.yaml b/cycleway_width.yaml index 868a465..b93d417 100644 --- a/cycleway_width.yaml +++ b/cycleway_width.yaml @@ -17,7 +17,7 @@ feature: {% set type = 'cycleway' %} {% endif %} - {% set width = attribute(tags, 'cycleway:width') %} + {% set width = attribute(tags, 'cycleway:width')|default(tags.width) %} {% if width matches "/'$/" %} {% set width = (width|slice(0, -1)) * 0.3048 %} {% endif %}