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

Weird routing in the Mission to a farther bus stop #105

Open graue opened 1 year ago

graue commented 1 year ago

Routing from Gallardo's (18th & Shotwell) to Rossi Playground produces a bike -> 33 -> bike trip like this:

image

I don't like that this is telling me to bike farther than I have to and out of my way to get on the 33. There's a closer 33 stop at 18th and Mission but it's having me go to 18th and Valencia. And 18th St isn't so bad it's worth detouring to 17th just to go 1 and a half blocks.

This is a good example of the router being too aggressive in avoiding roads without bike lanes. And in my opinion, the direct route on 18th St is a lot safer than riding on 17th St (door zone bike lane) or Valencia, though I realize it's hard for the router to know that from any info in OSM.

Hypothesis for why it's doing this: lower weight than biking the 1 1/2 blocks (or 3 blocks depending how you count) from 18th & Shotwell to 18th & Mission, on 18th Street, a tertiary road with no bike infrastructure.

In principle, I don't object to being routed to a farther away bus stop. We might want to direct users to a farther away bus stop if there's safer infra on the way there. It's more that I don't think this route strikes the right balance between safety and directness.

graue commented 1 year ago

See also #96

graue commented 1 year ago

Here's a possibly related issue

image

While Monterey Blvd is a crummy road to bike on, the router is saying to stay on the bus many extra stops and then bike back when there is a bus stop on the same block as the destination.

Although part of this is bad geocoding; it treats the entrance as being on Joost instead of Monterey for some reason. So it's really trying to avoid one block of Baden, which has a 21% grade. Still, wouldn't you rather walk your bike up if it's only one block?

Repro: Chavita's Mexican Restaurant to Sunnyside Conservatory at 8:25pm on a weeknight