Looking for offline map app



  • @saveurlinux Oh it seems you're right.
    I downloaded a map end of june, but now there is no download list...

    But I guess you can manually download them from another source and put them in the expected directory: /home/phablet/.local/share/osmscout.zubozrout/Maps/



  • @AppLee sould try and fix up the app source



  • I was happily using OsmScout myself until recently trying to update the maps. I have England and Scotland but deleted Wales while trying to download others.
    Would it be possible for users to copy their existing possibly not entirely up to date maps to each other until we get an alternative?



  • This post is deleted!


  • @AppLee I tried doing that but I could not get it working. I started a thread about it here.



  • I don't know exact details, but Puremaps seems to work in 'Mixed' mode without an internet connection; as long as you browse to download the maps ahead of time. I am not sure if navigation works offline though.



  • @TotalSonic Well, I took another look at uNav, and I think I may have succeeded. From uNav's offline instruction page (which frankly is too sparse), I did ultimately manage to download map tiles using the program downloadosmtiles. The link suggested "zoom=5:18", but a zoom of eighteen, I discovered, is nuts. So, after it was downloading for a while (like, for many hours), I stopped it, content with a zoom of 17 (which had finished downloading).

    Anyway, searching locations works on it, and the maps look good (tiles are from OpenStreetMap). I don't know if GPS on the phone works okay or not, though (I'll have to test it outside).

    [edit] Well, I walked around outside, and it knew where I was going. So, that's very good. It's a shame that the directions function in offline mode doesn't work. But, in general, my main concern for having a mapping program is to be able to always know where I am. So, I'm very pleased with its performance. And it seems to be very good in finding locations that I search for.



  • When we get OSM Scout Server ported over to UT, Pure Maps will be able to use the map data from that server for offline operation. This includes search, navigation, and map matching, in addition to MapboxGL map tiles.

    Plan is to do it soon, but I will depend on packagers. On my side, I will use the same GUI abstraction as we have for Pure Maps for UBPorts support. On the server side abstraction is ready, I have to just add and test UT platform code.



  • While we are waiting for PureMaps to provide offline functionality, here some instructions on how to get offline maps for uNav working using downloadosmtiles. I do post this here because I did encounter a few stones on the road to success. 😉

    1. download downloadosmtiles from the left hand menu
    2. extract to a folder on your harddisc, i.e. Downloads/osmtiles
    3. run the script with perl downloadosmtiles.pl --link='http://www.openstreetmap.org/?lat=49.5782&lon=11.0076&zoom=10&layers=B000FTF' --zoom=5:16 --destdir=somewhere/maps
    • of course replace coordninates with your target coordinates, the area seems to depend on the zoom value after the coords
    • replace the path for destdir with another one, default is the current working directory
    • change zoom levels, levels above 16 do take quite some time to download, you can download 5 to 16 first, and only level 17 or above later if you really need it
    1. copy the map-files (foldernames = zoom level i.e. 5) onto your phone i.e. in a folder Documents/uNav_maps
      [zip the map tiles and copy the zip file, that is much faster than copying thousands of files]
    2. in Terminal app run the following commands:
      cd Downloads/uNav_maps
      rsync -avp . ~/.local/share/navigator.costales/maps
      [rsync is faster than cp and gives you progress information]
    3. open up uNav, goto settings, change Modus to offline maps

    EDIT:
    To specify a bounding box for the tiles do be downloaded the command in step 3 needs to look like this:
    perl downloadosmtiles.pl --latitude=47.35371:49.93708 --longitude=7.38281:10.54687 --zoom=5:7 --destdir=somewhere/maps
    edit finished

    Have fun! Don't get lost!

    for lazy guys like me:
    If you do this regularly, you may wish to create yourself a small shell script in your phones home folder called i.e. cpbash.sh. Then only open Terminal and run bash cpmaps.sh. Put the following two lines into the script:
    cd Downloads/uNav_maps
    rsync -avp . ~/.local/share/navigator.costales/maps

    Troubleshooting: (on ubuntu 18.04)
    ... Can't locate Geo/OSM/Tiles.pm in @INC ...

    • open the file downloadosmtiles.pl in a editor
    • before line 6 add the following line: use lib '/Downloads/OSMtiles/Geo-OSM-Tiles-0.04/lib';, replace the path with your download location

    ... Can't locate Geo/OSM/Tiles.pm in @INC ...

    • install YAML.pm by running: sudo apt-get install libyaml-perl

    • you may need to create the folder maps to be like this: ~/.local/share/navigator.costales/maps, then map data wants to be in there in a structure like this (see https://unav.me/offline/) :
      ~/.local/share/navigator.costales/maps/10/
      ~/.local/share/navigator.costales/maps/10/523/
      ~/.local/share/navigator.costales/maps/10/523/331.png



  • Hi, Unav does support offline maps; in settings it tells you (via a link) https://unav.me/offline/ how to do this. I am a big fan of Foxtrot and Tango GPS; I copied my PC offline map cache to the right file. It all works on my Nexus 4. Happy travelling.


Log in to reply