UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Looking for offline map app

    Scheduled Pinned Locked Moved Support
    37 Posts 14 Posters 7.9k Views 4 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      This topic has been deleted. Only users with topic management privileges can see it.
      • TotalSonicT Offline
        TotalSonic @MarkG_108
        last edited by

        @MarkG_108 - yeah - uNav is a bit clunky in usage in my experience - but I think offline maps for Pure Maps should end up happening within a month or two - I've been really encouraged by how well it works, and it was just ported to Ubuntu Touch a couple weeks ago.

        Best regards,
        Steve Berson

        1 Reply Last reply Reply Quote 3
        • LakotaubpL Offline
          Lakotaubp @MarkG_108
          last edited by

          @MarkG_108 https://open-store.io/app/osmscout.fransschreuder May help

          M 1 Reply Last reply Reply Quote 3
          • M Offline
            MarkG_108 @Lakotaubp
            last edited by

            @Lakotaubp Thanks. I did check out OSMScout but I wasn't able to figure it out. I'll likely have another look at it.

            1 Reply Last reply Reply Quote 0
            • N Offline
              normandc
              last edited by

              OSMScout seems to be no longer maintained, it comes without any maps, and contrary to a one-year old topic I found (sorry don't have the link ATM), it's impossible to install maps from within the app. It's basically useless.

              advocatuxA 1 Reply Last reply Reply Quote 0
              • advocatuxA Offline
                advocatux @normandc
                last edited by

                @normandc the xenial version is https://open-store.io/app/osmscout.zubozrout but yes, that app needs some love.

                AppLeeA 1 Reply Last reply Reply Quote 0
                • AppLeeA Offline
                  AppLee @advocatux
                  last edited by

                  @advocatux
                  Yes OsmScout needs some love and I have hight expectations for pure map.
                  Rinigus made an excellent work there.
                  I'm eager to see the offline mode available too.

                  Regarding the present, OsmScout works well and I can download maps from within the app.
                  I had to reduce the font size and now it's a bit rough on the edges, but good enough for my nneeds

                  M 1 Reply Last reply Reply Quote 1
                  • saveurlinuxS Offline
                    saveurlinux
                    last edited by

                    I've tried OsmScout, unfortunately no maps are available to download.
                    Maybe no more accessible from: http://schreuderelectronics.com/osm/

                    AppLeeA 1 Reply Last reply Reply Quote 1
                    • AppLeeA Offline
                      AppLee @saveurlinux
                      last edited by

                      @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/

                      saveurlinuxS M 2 Replies Last reply Reply Quote 0
                      • saveurlinuxS Offline
                        saveurlinux @AppLee
                        last edited by

                        @AppLee sould try and fix up the app source

                        1 Reply Last reply Reply Quote 0
                        • halucigeniaH Offline
                          halucigenia
                          last edited by

                          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?

                          Nexus4, Meizu MX4, Meizu Pro5, PinePhone UBPorts edition, PineTab, Pixel 3a XL

                          1 Reply Last reply Reply Quote 0
                          • M Offline
                            MarkG_108 @AppLee
                            last edited by

                            This post is deleted!
                            1 Reply Last reply Reply Quote 0
                            • M Offline
                              MarkG_108 @AppLee
                              last edited by

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

                              1 Reply Last reply Reply Quote 0
                              • G Offline
                                Giiba
                                last edited by

                                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.

                                1 Reply Last reply Reply Quote 0
                                • M Offline
                                  MarkG_108 @TotalSonic
                                  last edited by MarkG_108

                                  @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.

                                  1 Reply Last reply Reply Quote 3
                                  • R Offline
                                    rinigus
                                    last edited by

                                    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.

                                    1 Reply Last reply Reply Quote 4
                                    • danfroD Offline
                                      danfro
                                      last edited by danfro

                                      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

                                      1 Reply Last reply Reply Quote 6
                                      • 9 Offline
                                        99
                                        last edited by

                                        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.

                                        danfroD 1 Reply Last reply Reply Quote 2
                                        • M Offline
                                          MarkG_108
                                          last edited by MarkG_108

                                          Last time I was considering maps, I used downloadosmtiles to get tiles for the City of Toronto. I'm going to be visiting a sister in Guelph over the holidays, so I thought I'd try to get a map of Guelph on my phone too.

                                          I use Debian, and downloadosmtiles is a Debian package, so the command is a bit different from what @danfro wrote above. Anyway, for me the tricky part is figuring out the correct latitude and longitude for the command. I looked up Guelph on Open Street Maps, and found the following: https://www.openstreetmap.org/search?query=guelph#map=12/43.5345/-80.2393. So, I took the numbers from the URL, plugged them into the command, and hoped for the best. We'll see how it turns out.

                                          I also wonder how combining these extra tiles with the tiles I had previously downloaded (for Toronto) will work out. I don't know if there will be a conflict or not. Anyway, the progress is as follows:

                                          mark@debian:~/Templates/Nexus5/Maps/Guelph$ downloadosmtiles --link='http://www.openstreetmap.org/?lat=43.5345&lon=-80.2393&zoom=9&layers=B000FTF' --zoom=8:16
                                          Schedule 6 (2 x 3) tiles for zoom level 8 for download ...
                                          Schedule 12 (3 x 4) tiles for zoom level 9 for download ...
                                          Schedule 30 (5 x 6) tiles for zoom level 10 for download ...
                                          Schedule 108 (9 x 12) tiles for zoom level 11 for download ...
                                          Schedule 368 (16 x 23) tiles for zoom level 12 for download ...
                                          Schedule 1408 (32 x 44) tiles for zoom level 13 for download ...
                                          Schedule 5481 (63 x 87) tiles for zoom level 14 for download ...
                                          Schedule 21625 (125 x 173) tiles for zoom level 15 for download ...
                                          Schedule 86250 (250 x 345) tiles for zoom level 16 for download ...
                                          Download 6 tiles for zoom level 8 ...
                                          Download 12 tiles for zoom level 9 ...
                                          Download 30 tiles for zoom level 10 ...
                                          Download 108 tiles for zoom level 11 ...
                                          Download 368 tiles for zoom level 12 ...
                                          Download 1408 tiles for zoom level 13 ...
                                          Download 5481 tiles for zoom level 14 ...
                                          Download 21625 tiles for zoom level 15 ...
                                                    
                                          

                                          It'll take a while for zoom level 16 to finish.

                                          danfroD 1 Reply Last reply Reply Quote 0
                                          • danfroD Offline
                                            danfro @99
                                            last edited by

                                            @99 I know about that link, but the wikipedia page for JTileDownloader states that it is blocked by the servers. And at least when I tried it I could not get it working. Thats why I posted instructions for another way to download files.

                                            But if JTileDownloader works (again?) that would be nice!

                                            M 1 Reply Last reply Reply Quote 1
                                            • danfroD Offline
                                              danfro @MarkG_108
                                              last edited by

                                              @MarkG_108 You can go on OSM and right click a location. In the contex menu select "show address". Then in the menu on the left side also the coordinates are displayed.

                                              1 Reply Last reply Reply Quote 1
                                              • First post
                                                Last post