From 1a52dfbb5a3dded1846f75f12c7635e9eff748b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20B=C3=B6sch-Plepelits?= Date: Sat, 10 Dec 2022 21:06:56 +0100 Subject: [PATCH] footways: render highway=path bicycle=yes foot=yes like highway=cycleway foot=yes --- footways.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/footways.yaml b/footways.yaml index 355542e..ea80e2e 100644 --- a/footways.yaml +++ b/footways.yaml @@ -38,10 +38,13 @@ feature: {% endif %} {% 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 sides = sides|merge(['foot']) %} {% endif %} + {% if tags.highway == 'path' and tags.bicycle in ['yes', 'designated'] %} + {% set category = 'cycleway' %} + {% endif %} {% if tags.footway == 'crossing' %} {% set category = 'crossing' %}