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

    OSMScout shows no available maps to download

    Scheduled Pinned Locked Moved Support
    15 Posts 5 Posters 1.2k Views 2 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.
      • M Offline
        MarkG_108
        last edited by

        I tried to download a map from here (specifically, of Ontario Canada, where I live), and then I copied the file (ontario-latest.osm.pbf) to directory phablet/.local/share/osmscout.zubozrout/Maps. OSMScout still doesn't see it.

        Apparently these files need to be imported (from what I gather here). I don't see any import tool within OSMScout.

        Frustrating.

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

          The README for OSMScout-ubuntu says,

          "When running, the application requires a map to start.
          For now, the map files should go into /media/phablet/<SD_CARD>/Maps/osmscout
          The files should be imported on a PC using the Import tool, please refer to the libosmscout documentation for instructions

          You can find detailed instruction how to get libraries and applications
          build and working in the openstreetmap wiki:

          http://wiki.openstreetmap.org/wiki/Libosmscout"

          So, I checked the site that was referred to, and found it said that an *.osm.pbf file would have to be imported, via a build.sh script (I referred to this in my previous post, where the process was described here). I found the build.sh script for the OSMScout-Ubuntu program here. So, I downloaded that, ensured it was executable, and ran it on the ontario-latest.osm.pbf file that I obtained from here --> specifically from the North America section of the site. I ran it on both my desktop before transferring the file to the phone, and then, when that didn't work, I transferred the script to my phone (ensuring it was executable), and ran it again. I placed the map file first in the following directory: /phablet/.local/share/osmscout.zubozrout/Maps. When that failed, I placed it on the /phablet/.local/share/osmscout.zubozrout/ directory, since that was the directory that OSMScout labelled as the Map Download directory. Then, when that failed, I placed it in the /phablet/.local/share/osmscout.zubozrout/Maps/osmscout directory (which I created), because the README said, "For now, the map files should go into /media/phablet/<SD_CARD>/Maps/osmscout"

          I haven't the faintest idea what I'm doing wrong.

          arubislanderA 1 Reply Last reply Reply Quote 0
          • arubislanderA Offline
            arubislander @MarkG_108
            last edited by

            @MarkG_108 Have you tried putting the files on the SD Card?

            πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
            Happily running Ubuntu Touch
            Google Pixel 3a (20.04 DEV)
            JingPad (24.04 preview)
            Meizu Pro 5 (16.04 DEV)

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

              @arubislander Truth be told I'm not sure. I did transfer the files from my desktop to my phone, as described above, and that didn't work.

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

                What about phones without SD card slots. Nexus 5 and OPO don't have any.

                arubislanderA M 2 Replies Last reply Reply Quote 0
                • arubislanderA Offline
                  arubislander @MarkG_108
                  last edited by

                  @MarkG_108 When you connect your phone to your computer, and you unlock your phone, and then double click on the phone icon that appears in your file manager, you should see two icons in the root. One holds a selection of the folders and files on your phone's Internal storage. The other is your sd card. In the root of the as card create the Maps folder. Then enter the Maps folder and create the osmscout folder. As the last step, copy your map files into that folder.

                  πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
                  Happily running Ubuntu Touch
                  Google Pixel 3a (20.04 DEV)
                  JingPad (24.04 preview)
                  Meizu Pro 5 (16.04 DEV)

                  1 Reply Last reply Reply Quote 0
                  • arubislanderA Offline
                    arubislander @normandc
                    last edited by

                    @normandc I am afraid the above method will not work for those devices. And I am not aware of any alternative methods.

                    πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
                    Happily running Ubuntu Touch
                    Google Pixel 3a (20.04 DEV)
                    JingPad (24.04 preview)
                    Meizu Pro 5 (16.04 DEV)

                    1 Reply Last reply Reply Quote 0
                    • A Offline
                      aimar
                      last edited by aimar

                      There is a previous thread covering this topic (Looking for offline map app)
                      The old version mantained by Frans Schreuder worked fine for me. Unfortunately I had to wipe and reinstalled the OS and lost it. Now in the OpenStore you can find the fork by Martin Kozub.
                      Unfortunately again, this app does not have access to the SD card.
                      And there is no option to download maps within the app.
                      @AppLee said in 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/

                      I confirm that I moved some old maps from my SD card to that folder and it worked.

                      1 Reply Last reply Reply Quote 0
                      • Z Offline
                        zubozrout
                        last edited by

                        Well, yes. Unfortunately this map server is dead now: http://schreuderelectronics.com/osm/

                        As for maps I would suggest hoping for https://github.com/rinigus/pure-maps/ to get support for offline Maps on Ubuntu Touch (on SailfishOS this should work). It also uses a newer version of OSMScout while this old app is apparently useless now.

                        Feel free to use the click built from here if you have usage for it: https://www.iubuntu.cz/apps/osmscout.zubozrout_0.5.6_armhf.click
                        But for now I've taken the app down from the store

                        Also, if anyone would like to continue development on this app, feel free πŸ™‚

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

                          @normandc I think the Nexus 5 has an SD card slot. At least this site says it does: https://howto-android.com/how-to-put-the-sd-card-in-the-nexus-5/

                          And I can confirm that myself, as I tested it with a needle and found the SD card slot. I don't currently have a card in it, though I'll try it out after I go and buy an SD card for it. That said, it strikes me as odd that an app would require a file to be put on an SD card for that file to be recognized.

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

                            @MarkG_108
                            I have a Nexus 5 16GB with a cracked screen, and there is definitely no SD card slot.

                            Have a look at this article.
                            https://liliputing.com/2016/01/give-a-nexus-5-a-microsd-card-slot-at-your-own-risk-with-this-dirty-hack.html

                            The last Google Nexus smartphone to feature a microSD card slot was the first Nexus phone. After launching the Google Nexus One in 2010, Google never again included support for a removable storage card in a Nexus phone.

                            Google has always pushed their cloud services, providing a phone with removable storage goes against their goals. It's quite surprising to me their first Nexus phone had one.

                            M 2 Replies Last reply Reply Quote 0
                            • M Offline
                              MarkG_108 @normandc
                              last edited by MarkG_108

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

                                @normandc Yes, I now see you're correct.

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

                                  Unfortunately! 😟

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