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

Get on bus in one direction and then take it in the other #63

Open
abhumbla opened this issue Apr 14, 2022 · 2 comments
Open

Get on bus in one direction and then take it in the other #63

abhumbla opened this issue Apr 14, 2022 · 2 comments
Labels
weird-router-behavior lol graphhopper

Comments

@abhumbla
Copy link

abhumbla commented Apr 14, 2022

Don't have a screenshot handy, but in certain cases in #58 the router likes to get on a bus for 1 stop, get off, and then get on the same bus in the opposite direction. Transfer penalties help, but do not eliminate this problem. Hunch is that it really dislikes being on the street network without bike infra, so it prefers to get on a bus. We could fix this maybe by preferring routes with a later departure time if they have the same arrival time

@abhumbla abhumbla added the weird-router-behavior lol graphhopper label Apr 14, 2022
@graue
Copy link

graue commented Apr 14, 2022

IRL I think I would handle this situation by walking my bike on the sidewalk the last block (or whatever short distance) to the bus stop. Is there a way we can model that?

@abhumbla
Copy link
Author

Is there a way we can model that?

not easily, changing modes arbitrarily like that isn't supported and im not sure what it would take. there are valid routes that just start later and catch the second bus on the way back, would like to figure out how to prioritize those

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
weird-router-behavior lol graphhopper
Projects
None yet
Development

No branches or pull requests

2 participants