Skip to content

Commit

Permalink
do not set foot=no when selecting a designated cycle track
Browse files Browse the repository at this point in the history
  • Loading branch information
olecky authored Oct 30, 2024
1 parent ebf620b commit f4bd660
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit f4bd660

Please sign in to comment.