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

Handle modal filters #253

Open
dabreegster opened this issue Mar 30, 2024 · 2 comments
Open

Handle modal filters #253

dabreegster opened this issue Mar 30, 2024 · 2 comments

Comments

@dabreegster
Copy link
Contributor

Particularly barrier nodes along a way. The clean approach might be to make these degenerate Intersections of a special new type.

Related to a-b-street/ltn#6

@tordans
Copy link

tordans commented Mar 30, 2024

Quite a few of those in Berlin are more like a special road type from an osm2streets point of view, IMO. We are still debating how to best represent them in OSM in our OSM Verkehrswende Meetup.

Two examples of modal filters on a straight road segment

@dabreegster
Copy link
Contributor Author

I've seen both styles in the UK. https://github.com/a-b-street/abstreet/blob/7c22acb4d811536b877d96c705a52688ba7dc7af/apps/ltn/src/logic/existing.rs#L59 detects short cycleable-but-not-driveable segments that're connected to driveable segments on both sides, and that's worked pretty well so far.

If the filter is more than just a small point along the road, splitting the road is a more detailed way to indicate how much length it takes

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

No branches or pull requests

2 participants