And for everyone wondering, the street in the middle is not one way.

MazonnaCara89@lemmy.ml to Programmer Humor@programming.dev – 212 points –
7

Just spitballin here. Is the route taking a highway? (I think I see an on ramp). If so, I am about 85% sure the algorithm is just assigning too much value to highways. Generally, highways should be "valued" more to avoid just going down tenthousand sidestreets to get everywhere.

The green route is a highway access ramp onto the highway.

The road that looks like it should connect is street-level.

This area of GTA is a cluster fuck of roads for shipping stuff.

Logically this "value" of a road is your predicted speed taking into account speed=distance/time. Modern navigation systems work the exact same way.

You know damn right people drive highway speeds on side roads in GTA