forum.supercharge.info

Possible routing bug

Found a weird routing issue for calculating the route between superchargers at Alvdal (Norway) and Elverum (Norway). If you add them to the route as Alvdal + Elverum, you get a long (and stupid) indirect route. If you add them as Elverum + Alvdal it gives the sensible direct route.

1 Like

I’m not sure if this will help, but just for troubleshooting… can you go to http://www.openstreetmap.org and try the same routes and see what it does?

The result depends on which routing algorithm you choose. The GraphHopper algorithm gives sensible routing. The OSRM algorithm seems to randomly either fail completely or give the stupid route. It never gives the sensible route

Thanks for reporting this 15bit. I’ll take a closer look and see what can be done when I get a chance.