Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Start reviving the cycleway snapping / sidepath zipping experiment #212

Merged
merged 4 commits into from
Mar 10, 2023

Conversation

dabreegster
Copy link
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.

@@ -80,10 +80,6 @@ fn should_collapse(road1: &Road, road2: &Road) -> Result<()> {
_ => bail!("one of the placements isn't consistent"),
}

if road1.is_cycleway() && road2.is_cycleway() {
Copy link
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