pure-maps icon indicating copy to clipboard operation
pure-maps copied to clipboard

next turn in 196 km, but should be in 5 km

Open jmlich opened this issue 2 years ago • 2 comments

I was traveling from Prague to Brno when I encountered a traffic jam at Prazsky okruh. As a result, I decided to take a detour towards Kolin. After a few turns, the navigation software indicated that the next turn would be in 196km. However, the correct instruction should have been to take the upcoming roundabout, which is only around 10km away from my current location.

See screenshot

screenshot20230820_170617497

screenshot20230821_165609450

Its on UBPorts/focal pure-maps version 3.2.0 (not slim) version.

The /home/phablet/.config/pure-maps.jonnius/route.json file is attached at https://pastebin.com/1yvhEsAJ

My speculation is that this issue might be connected to the language settings being used, specifically LANG=cs_CZ.UTF=8. Additionally, the setting LC_NUMERIC=cs_CZ.UTF-8 could potentially be influencing the formatting of decimal separators.

jmlich avatar Aug 21 '23 14:08 jmlich

I can reproduce it while setting it to navigate along that location on your route. Should be something else than locale or, if it is locale, not something trivial

rinigus avatar Aug 23 '23 19:08 rinigus

The problem was caused by turn out from the roundabout. For some reason, OSRM cut one corner in the route at the exit from roundabout. Which made Pure Maps very confused :(

image

rinigus avatar Aug 24 '23 19:08 rinigus