graphhopper / graphhopper

Open source routing engine for OpenStreetMap. Use it as Java library or standalone web server.

Home Page:https://www.graphhopper.com/open-source/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

total distance seems incorrect for alternative route

karussell opened this issue · comments

See discussion here. Also reproducable for a different simpler route.

Have a look into this route and click on the second alternative: it will show a distance of 3.7km (somehow this is only 3.4km locally!?).

But when adding a via point into the route the distance will be 3.3km.

This is a problem only for the alternative algorithm with CH and edge-based traversal.

This bug seems to be fixed now. Last week adding a point into the route increased the distance by about 300m, this doesn't seem to be the case anymore.

commented

It is still problematic e.g. for this route. Then click on the alternative route, then it will show 3.6km. If you calculate the same route directly it will show 3.5km instead.