OSM Scout new version
-
@Lakotaubp how could unav use the offline server osm scout?i have read that the new version has the maps that unav uses
-
uNav will be able to use OSM Scout Server when https://github.com/costales/unav/issues/8 is implemented.
-
@rinigus Thank you very much. I thought it was just switching to an offline mode.
-
Thanks for the clarification. I have added the full version of OSM Scout server so that uNav can eventually work offline. (I have to use Puremaps at the moment for offline work but have never been able to get the search function to work.)
-
@cliffcoggin : I suggest that you open an issue. If it is offline, open an issue at https://github.com/rinigus/osmscout-server/issues with specific example. Try to describe in details what you have done in Pure Maps and OSM Scout Server. Don't forget to mention the platform and whether you used that UT tweak tool to keep OSM Scout Server running in the background.
If uNav will implement offline support, it will be using the same OSM Scout Server for it. So, you would be having the same issue probably.
-
@rinigus
I have just discovered by chance that to make the search function work in Puremaps I need to open OSM Scout Server first. Is this normal? Is there a way to make it open automatically when Puremaps is started? -
@cliffcoggin yes, it is very simple to make it open automatically with Pure Maps starting. All you have to do is to switch to Sailfish. Don't know whether your device supports Sailfish or you have to get a new one, see our ports.
To make it work, OSM Scout Server is using systemd socket activation and DBus activation. So, when Pure Maps starts and asks for tiles or some other functionality from the server, server is started in the background without any GUI. After some idle period (can be configured in the server settings), server will close itself to free RAM.
On UT, we do not have access to this functionality. It boils down to
- no systemd on UT
Even with systemd, not sure how well it work with super-aggressive suspend policy of UT and whether it will be allowed to start clickable app in daemon mode from systemd.
So, for now, if you want to stick with UT, you have to open it manually and jump through those tweaking hoops to make it work.
-
I am afraid I don't understand anything about Sailfish, systemd or Dbus, so I'll stick to manually opening. Are there plans to do this within UT?
-
@cliffcoggin: as far as I understood, there was a plan to switch to systemd on UT. When UT will support systemd, we can look into how to make it possible.
-
Many thanks.