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

    OSM Scout Server: offline maps

    Scheduled Pinned Locked Moved App Development
    32 Posts 13 Posters 6.6k 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.
      • AppLeeA Offline
        AppLee @rinigus
        last edited by

        @rinigus
        Great news, thank you very much and many thanks to Jonatan for his help.
        You just made Ubuntu Touch more adapted to my needs.

        1 Reply Last reply Reply Quote 1
        • T Offline
          tigerpro
          last edited by

          I have been testing this on note 4 for the past couple days, it works pretty well for me (aside from my device specific issues)

          Whether you think you can, or you can't, if you do not try, you will never truly know. So give it a Go.

          1 Reply Last reply Reply Quote 0
          • mihaelM Offline
            mihael
            last edited by

            This is amazing! Thank you!

            1 Reply Last reply Reply Quote 0
            • poVoqP Offline
              poVoq
              last edited by poVoq

              Seems to work well on my Nexus5. Thanks a lot for making this!

              I am actually now considering if Ubuntu Touch wouldn't make for a nice in car entertainment and navigation system. I guess that should be very doable once the RasberryPi support (and GPS) matures a bit. Otherwise it seems to already tick all the boxes and should be easy to use in a car as well. Edit: maybe with KDEconnect you could even tether an Android phone to it to take hands-free calls?

              Fairphone 5 (waiting for port)

              1 Reply Last reply Reply Quote 0
              • dieharddanD Offline
                dieharddan
                last edited by

                Awesome work, ill be trying this out soon!

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

                  For me it doesn't work. Pure Maps recognizes the OSM Scout maps, but if I zoom in it doesn't show small streets or street names or similar. Also, if the phone is total offline (wifi and mobile data), there will be an error message when Pure Maps starts.

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

                    @ma
                    I think maybe OSM server is not running then and it only show you what is already cached.
                    Even if you selected auto start of the server, I don't think it works on UT, so you need to run the OSM server manually.
                    The behavior you're reporting is the same I have when I forgot to start the server.

                    Keep us posted.

                    T M 2 Replies Last reply Reply Quote 2
                    • T Offline
                      tigerpro @AppLee
                      last edited by

                      @AppLee I also used UTTT to set OSM so it doesnt sleep, otherwise I would get this issue as well

                      Whether you think you can, or you can't, if you do not try, you will never truly know. So give it a Go.

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

                        @AppLee I reinstalled the maps. Now it works! Nevertheless I get an error message when starting Pure Maps if the phone is totaly offline.

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

                          @ma
                          Strange, as @tigerpro said you have to enable OSM server to never suspend with UT Tweak Tool.
                          In all the scenarios I ran, I don't have an error message within PureMaps.
                          You may want to try to reinstall PureMaps.

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

                            @AppLee The settings in UB Tweak Tool were made. Now I reinstalled Pure Maps. But the error message continues to appear when starting Pure Maps totally offline ("loading style failed: Host localhost could not be found"). Nevertheless the app works if you click the message away.

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

                              @ma Strange, I have no idea.
                              But if it works later then 🤷
                              I remember seeing this message the very first time I tried, but I don't know what I could have done instead of just running the server and then running pure maps...
                              Sorry

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

                                This message could be caused by Qt bug. Not 100% sure, but we had issues with offline mode on Sailfish and I had to use non-Qt ways of fetching data. If it works later, its probably OK. Otherwise we will have to use the same hybrid approach as we have.

                                If its a bug I am thinking about, all should work with misconfigured but non-offline net without errors. As soon as you make offline fully, it will stop working. Can be tested by comparing misconfigured wifi switch net with offline mode, for example

                                1 Reply Last reply Reply Quote 0
                                • R Offline
                                  ricardo65
                                  last edited by

                                  lately i have problems with osm scout offline, i install the server offline and when i open pure maps or not it opens the map or you see only some brown stripes and no street or anything.i have tested it in rc, devel and edge with the same result.i do not know if it is a problem of the app or the operating system.!screenshot20200207_112916365.png screenshot20200207_112927929.png

                                  R 1 Reply Last reply Reply Quote 0
                                  • R Offline
                                    ricardo65 @ricardo65
                                    last edited by

                                    @ricardo65 said in OSM Scout Server: offline maps:

                                    lately i have problems with osm scout offline, i install the server offline and when i open pure maps or not it opens the map or you see only some brown stripes and no street or anything.i have tested it in rc, devel and edge with the same result.i do not know if it is a problem of the app or the operating system.!screenshot20200207_112916365.png screenshot20200207_112927929.png

                                    some of it is blank and some of it is with the streetsscreenshot20200207_120112796.png

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

                                      @ricardo65
                                      Is OSM server running ? And did you allow background execution for it ?
                                      This looks like the cache version of previous data from the OSM server.

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

                                        Indeed, looks like Pure Maps is using cached tiles and OSM Scout Server is not responding/running. And why, just why, on Linux, someone decided to freeze non-active apps? No such issues on Sailfish...

                                        1 Reply Last reply Reply Quote 1
                                        • R Offline
                                          ricardo65 @AppLee
                                          last edited by

                                          @AppLee Thank you very much.problem solved.a question that tab could not be activated by default?

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

                                            New maps are imported and out. Took longer break due to the lockdown and thought that there was no big point in refreshing it before...

                                            1 Reply Last reply Reply Quote 2
                                            • R Offline
                                              RVan
                                              last edited by

                                              Has anyone tried 'Convergence' w/Nexus 5 with OSM Scout Server & Pure Maps? This is the configuration I need!

                                              magdesignM AppLeeA 2 Replies Last reply Reply Quote 0
                                              • First post
                                                Last post