Skip to content

Start reviving the cycleway snapping / sidepath zipping experiment#212

Merged
dabreegster merged 4 commits into
mainfrom
sidepath
Mar 10, 2023
Merged

Start reviving the cycleway snapping / sidepath zipping experiment#212
dabreegster merged 4 commits into
mainfrom
sidepath

Conversation

@dabreegster

Copy link
Copy Markdown
Contributor

First, rename "snap cycletrack" to "zip sidepath". Ben, I think you've used "zip" before as the phrasing for this kind of operation. "Sidepath" matches https://wiki.openstreetmap.org/wiki/Proposed_features/Key:is_sidepath and stops being specific to cycleways. We will also want to try this for sidewalks:
Screenshot from 2023-03-10 19-28-01

And second, pull the detection + repair logic into an operation, so that we can interactively call it from the UI:

screencast.mp4

These are smaller+simpler changes, paving the way for more complicated changes to the logic in #210.

_ => bail!("one of the placements isn't consistent"),
}

if road1.is_cycleway() && road2.is_cycleway() {

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This had no effect. Even if it was false, we would choose to collapse.

@dabreegster dabreegster merged commit 6c10dcb into main Mar 10, 2023
@dabreegster dabreegster deleted the sidepath branch March 10, 2023 19:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant