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

Experiment with higher penalties for bus routes #159

Open abhumbla opened 1 month ago

abhumbla commented 1 month ago

maybe it should be 2

graue commented 1 month ago

Why?

abhumbla commented 1 month ago

there's a bunch of cases I've seen where we prefer the bus over the train where I don't think we should. I want to see what increasing the bus penalty will do. if it produces bad results we don't have to make it permanent. but even just getting the code in a state where I can give different modes of transit different penalties will be useful

graue commented 1 month ago

Makes sense. I changed the name of the issue to reflect that it's an experiment and not necessarily something we agree to do.

there's a bunch of cases I've seen where we prefer the bus over the train where I don't think we should.

I agree with this. In those cases I usually see the bike->bus->bike route taking significantly longer than the bike->train->bike route would. I suspect it's largely because there are high penalties for the roads immediately around the train station. Alternative approaches to fix could be:

FWIW, bus can be better because quicker to access/less schlepping. In some ways we currently undercount the cost to use trains because we don't model the schlepping, or the full amount of time required to carry a bike down to the platform on elevators.