OSM Scout Server: offline maps
-
This is to announce the release of OSM Scout Server on Ubuntu Touch. The packaging was done by Jonatan Hatakeyama Zeidler and his testing. Thank toy and it was fun to bring the server to UT with his help!
In short, this is an application that provides data for map clients, such as Pure Maps. When used together, you can navigate, search, and browse maps offline. See user's guide at https://rinigus.github.io/osmscout-server/en/ for details of operation and setup.
In addition, please follow the instructions on package description page at OpenStore.
At the moment of release, there are few limitations which I hope UT community will resolve and send PRs with the fixes:
- translations are built using
qmake
feature which is not available for Qt 5.9. If you want the server to use available translations, please send PR withqmake
pro file fixes for UT. - you cannot select location of the maps folder as we don't have implementation for FileDialog that we could use in UT.
At present, you have to use default location, close the server, move it to the location you want and make symbolic link from the default to the new location. Not very user-friendly. To fix it, FileDialog for UT platform has to be written and submitted for inclusion. I hope someone can step up and do that.
Finally, you have to have to run the server as an app right now. On Sailfish, we use systemd socket activation which allows users to configure the server to autostart on demand. Sounds like you will move to systemd at some point, so we can work on it when it is available.
Enjoy!
- translations are built using
-
@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. -
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)
-
This is amazing! Thank you!
-
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?
-
Awesome work, ill be trying this out soon!
-
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.
-
@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.
-
@AppLee I also used UTTT to set OSM so it doesnt sleep, otherwise I would get this issue as well
-
@AppLee I reinstalled the maps. Now it works! Nevertheless I get an error message when starting Pure Maps if the phone is totaly offline.
-
-
@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.
-
@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 -
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
-
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.!
-
@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.!
some of it is blank and some of it is with the streets
-
@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. -
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...
-
@AppLee Thank you very much.problem solved.a question that tab could not be activated by default?
-
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...