OpenStreetMap

OSM Scout Server

Posted by rinigus on 15 October 2016 in English.

I would like to announce an offline maps solution: OSM Scout Server.

Server based on libosmscout. This server is envisioned to be a drop-in replacement for online map services providing map tiles, search, and routing. As a result, an offline operation is possible if the device has a server and map client programs installed and running.

Platforms

Server is developed on mobile platform (Sailfish OS) and Linux. The server can be used as Sailfish application or running in console on regular Linux.

Functionality

At present, the server can be used to provide: * map tiles for other applications; * search for locations and free text search; * search for POIs next to a reference area.

By default, the server is configured to accept connections from localhost only, but you can change the configuration and serve it on LAN or even provide a globally accessible service, if you wish. The configuration of the server is simple, through a single INI file (Linux and Sailfish) or GUI interface (Sailfish).

Availability

License: LGPL Source code: https://github.com/rinigus/osmscout-server

To use the server, you have to start it and configure the client to access it. An example configurations for Poor Maps and modRana are provided under “thirdparty” folder (see Github source tree). At present, Poor Maps plugins cover functionality of the server fully. modRana can use the server to show the map with the other functionality expected in near future.

The current release is tailored towards map application developers and advanced users that are not afraid of getting their hands dirty. Main issues with using the server are:

  • you have to convert OSM maps to libosmscout format on your PC
  • you have to configure client programs to access the server.

For detailed up-to-date description, please see README

Acknowledgments

The server is just a small part in large amount of work that have been done on mapping solutions by many other developers.

The underlying library was originally developed by Tim Teulings (@Framstag) who is the principal developer right now as well. Lukáš Karas (@Karry) has been working actively on the development of this library and Sailfish application OSM Scout. The server relies on their and other libosmscout developers code to provide the service.

On the other side, the server allows us to use excellent map applications developed over time for Sailfish and Linux. Already in the early development stage, I was helped by Poor Maps and modRana developers Osmo Salomaa (@otsaloma) and Martin Kolman (@M4rtinK), respectively. Thank you! While developing server, I could not cover all possible client applications and limited myself to these two. I am sure that if the server would become popular, the other plugins would be developed as well.

Discussion

Comment from gileri on 18 October 2016 at 19:10

Nice job !

Log in to leave a comment