From f4bd6602f6a56c6d1c6698e8aa51b67f87481ab2 Mon Sep 17 00:00:00 2001 From: olecky <108001288+olecky@users.noreply.github.com> Date: Wed, 30 Oct 2024 16:01:51 +0100 Subject: [PATCH] do not set foot=no when selecting a designated cycle track see: https://github.com/streetcomplete/StreetComplete/issues/5991 --- .../osm/cycleway_separate/SeparateCyclewayCreator.kt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/src/main/java/de/westnordost/streetcomplete/osm/cycleway_separate/SeparateCyclewayCreator.kt b/app/src/main/java/de/westnordost/streetcomplete/osm/cycleway_separate/SeparateCyclewayCreator.kt index 988e49fa3dc..be1b19c7b2b 100644 --- a/app/src/main/java/de/westnordost/streetcomplete/osm/cycleway_separate/SeparateCyclewayCreator.kt +++ b/app/src/main/java/de/westnordost/streetcomplete/osm/cycleway_separate/SeparateCyclewayCreator.kt @@ -65,9 +65,7 @@ fun SeparateCycleway.applyTo(tags: Tags) { if (tags.containsKey("bicycle")) tags["bicycle"] = "designated" // if bicycle:signed is explicitly no, set it to yes if (tags["bicycle:signed"] == "no") tags["bicycle:signed"] = "yes" - if (this == EXCLUSIVE) { - tags["foot"] = "no" - } else { + if (this == EXCLUSIVE_WITH_SIDEWALK) { // follow the same pattern as for roads here: It is uncommon for roads to have foot // tagged at all when such roads have sidewalks tags.remove("foot")