bikehopper / graphhopper

Open source routing engine for OpenStreetMap. Use it as Java library or standalone web server.
https://www.graphhopper.com/open-source/
Apache License 2.0
3 stars 0 forks source link

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

Open abhumbla opened 2 years ago

abhumbla commented 2 years ago

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

graue commented 2 years ago

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 commented 2 years ago

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