Bad routing in navigation apps when using OSM Scout Server Offline
-
@volatius What I can possibly recommend to you is to check all the settings in the Scout Server app. I have set all the functions, including the accuracy, to 10. I have no idea what there is to adjust now. However, I somehow have the feeling that there is something wrong with the maps. Do you have a mixture of Internet and offline maps? You can also select other map providers. And yes, without a GPS signal, offline navigation doesn't work in some cases. But also try a GPS app to see if the device has a GPS signal. Please do this without Osm Scout Server and Navigator App, otherwise it will not work. If the device has GPS in the house, try the Selle Navi app, which I had tested successfully.
-
@volatius said in Bad routing in navigation apps when using OSM Scout Server Offline:
Or can someone confirm that GPS is always neccessary for routing?
You can try by yourself deactivating GPS before making app calculate a route ?
I don't use GPS on my phone since I have a car with GPS in. -
@Enrico13011978 I cannot set accuracy in OSM Scout Server, I mainly got the following settings:
- Selection of map datasets to download/save (basically I enabled all, i.e. Mapnik, Mapbox GL, Geocoder-NLP and Valhalla. Only libosmscout seems to revert back to disabled automatically all the time)
- Autostart settings (issue persist even when OFF and OSM Server is started manually)
- Geocoder-NLP settings, mainly adress parser choice (tried different options, no change)
- Valhalla settings (Maximmum route lengths and cache size, tried 128 MB default and 1024 MB, no change)
- server session log print and save options
However within those very server logs I found two suspicious lines popping up after each session start which point to problems with valhalla. Maybe there's the rub...
ERROR:23:19:39 Valhalla: (stat): tiles.tar No such file or directory WARNING: 23:19:39 Valhalla: /data/valhalla/elevation/ currently has no elevation tiles
-
Using a simple GPS app I can get accurate location (3-4 m inaccuracy) even inside. I checked again and online routing works charmingly even when using current GPS location as a start. I guess this suggests there is not a problem with GPS signal causing my issues in offline navigation.
-
@volatius
It seems a problem with osm scout server indeed.
Did you follow app installation instructions ?
Which is, after installing osm scout app :Preparations: * Download maps and select language in OSM Scout Server * Install a compatible navigation app * Pure Maps: https://open-store.io/app/pure-maps.jonnius * uNav: https://open-store.io/app/navigator.costales
If not, then delete all data of all apps (unav, pure maps, osm, with UTTT like said before) then deletes the 3 apps and reinstall following this preparations.
If yes, I invite you to ping the app Dev on his topic linking your thread on his :
https://forums.ubports.com/topic/3720/osm-scout-server-offline-maps -
Hi @volatius
Yes this is very strange.
I'm at the Ubuntu Summit this weekend, but I'll make some tests later next week.GPS signal has nothing to do with your issue.
Routing uses map data that you locally downloaded.There are different levels of precision and the algorithm tries to figure out the best itinerary, usually by prioritizing the major roads until it can't and has to fall back on smaller streets.
I'll try to replicate your issue if I can and let you know what I think about it.Ping me in few days if I forgot about it
-
@Keneda Hi I followed the uninstall / install suggestions again to the letter, however no sucess. A bit strangely though with OSM Scout server, UTTT shows zero bytes of application data that could be deleted. I checked and deleted all (Cache, app data and settings data) anyway. After reinstall my previously changed settings reappear, as if UTTT did not catch the correct files to delete. Maybe they are in a different location than UTTT expects? I'll link to @rinigus thread as suggested.
@AppLee thanks that'll be great!
And thanks @all for your commitment already
-
-
This issue was raised at https://github.com/rinigus/osmscout-server/issues/450
Turns out that the server distributed in Ubuntu Touch is using old Valhalla. The maps are generated using Valhalla 3.4 and with older Valhalla on UT, it seems to lead to such funky trajectories.
As jonnius is aware of the issue, I think the new version of the server should be on the way to UT as well.
@Keneda said in Bad routing in navigation apps when using OSM Scout Server Offline:
Did you try to untick the "act like alcoholic" box in the app ?!?
its not implemented yet, but maybe can be suggested to Valhalla developers
-
@rinigus Nice good to hear! Btw one more upvote for the alcoholic switch
-
@volatius You can see that I pointed them out on the Scout server. I sincerely hope that your problems will be solved with the help of the experts.