OSM Scout Server

Rating: 
4.958335
Your rating: None Average: 5 (72 votes)

OSM Scout Server is a native offline maps provider. This server can be used as a drop-in replacement for online map services providing map tiles, search, and routing. As a result, together with the map client, a full offline solution is available for map search and navigation (car, bicycle, and walking).

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;
  • calculate the route between two or more locations.

To use the server, you have to start it and configure the client to access it. Poor Maps and modRana have support for the server already with no additional configuration needed.

NB! For SFOS < 3.4. users - starting from 1.17.1 release, SFOS 3.4.0 is required for the builds published at OpenRepos. For older SFOS, please use OBS. Currently, SFOS 3.3.0 is supported in addition to SFOS 3.4.0.

OBS: https://build.merproject.org/project/show/home:rinigus:maps

 

 

 

Specific update instructions:

1.15.0 Valhalla database format has been updated. Please update maps after installation.

1.14.3 I suggest to uninstall old version of the server, check if anything stayed in /usr/share/harbour-osmscout-server and if that folder is there and/or not empty, remove it using devel-su. After that, install a new version (1.14.3 and up).

NB! When Mapbox GL schema is changed (as for 1.4.0), please remove Mapbox GL application caches.

NB! When a new backend is added, such as with the release of 0.9.0 and 0.10.0, please ensure that you have subscription information updated. For that, in Map Manager, click on "Check for updates", decline updates, and unsubscribe/subscribe each territory that you have subscribed. After that, proceed with the downloads. This is not needed if you don't want to use the added backend(s).

For detailed up-to-date description, please see https://github.com/rinigus/osmscout-server/blob/master/README.md

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

User's guide: https://rinigus.github.io/osmscout-server

Official TMO thread: http://talk.maemo.org/showthread.php?t=97823

Donations: https://rinigus.github.io/donate

Screenshots show the running server and, as an example client application, Poor Maps accessing the map tiles and calculated route prior to navigation.

Maps are hosted by Natural Language Processing Centre (https://nlp.fi.muni.cz/en/ , Faculty of Informatics, Masaryk University, Brno, Czech Republic) through modRana (http://modrana.org)
data repository.

Map data from OpenStreetMap, Open Database License 1.0. Maps are converted to a suitable format from downloaded extracts and/or using polygons as provided by Geofabrik GmbH.

Screenshots: 
Application versions: 

Comments

crakby's picture

Ok. Thank you.

crakby's picture

One further question:

does the OSM scout server poi datas contain the "tags" like the online version?

example

Because there are important to describe the poi. In pure maps, only the address is shown.

rinigus's picture

It should also show that its Caravan Site. No, not all tags are stored. LEt me know which are important and we can look into it. Currently, its the main type, phone, www, postal code. Its not very easy to extend due to the used import pipeline, though

crakby's picture

If I search the place in my example, pure maps shows the main type and the address, the contact:phone and contact:website are't displayed.

Important for this type of POI:

sanitary_dump_station
water_point
power_supply
fee

rinigus's picture

Please file an issue at github. I am not sure whether it will be implemented, I will have to see how and when I can do it. But its still good to file the issue to not forget about it.

crakby's picture

Hi,

I found a small misbehavior:

If I search for postal code or points of interests along the route with pure maps, I only get results if the same associate map (region) is selected in OSM scout server. In coutrys like france I have no option to download the whole country, so if I have a place near or a route to next departement, the search results are empty, the nearby only shows until department border.

In OSM scout server should be a option to choose all maps or a group of.

If I serach for a city, I get results of cities even outside of the choosen map. pure maps starts the osm scout server in background, so I need to remember to open it manually and change the map. Or do I miss something out?

 

rinigus's picture

Assuming that you use Geocoder-NLP:

In OSM Scout Server, if you enable "Search all maps" under Settings/Geocoder-NLP, it should search for POIs in all maps that you have. So, in the case of France, in all France parts that you have.

Does it solve your problem?

crakby's picture

Yes, thank you. I missed out this option. It's perfecltly working now.

ferlanero's picture

OSM Scout Server is absolutely incredible!! Thank you very much for your work rinigus!!

geher's picture

Profile for raster tiles selected. All data loaded. Perhaps the problem is on the side of modrana.

rinigus's picture

Second test: try to ensure that you are in the part of the world where you have data. Zoom out for a while and/or set up region with online map. After that, switch back to osm scout server map.

Out of curiosity: is there particular reason for using raster tile clients?

geher's picture

WhoGo Maps and Poor Maps works good.
But modrana has track recording function.

rinigus's picture

Sounds like its misconfiguration of modRana. On my device modrana works as well. For tracking, you may consider sports app. There is one which uses vector tiles as well

olf's picture

For tracking, you may consider sports app. There is one which uses vector tiles as well

@geher, i.e.: https://openrepos.net/content/jdrescher/laufhelden

rinigus's picture

Can you try to see with Poor Maps? Its also using raster tiles and then we can see whether its modRana or the server issue.

geher's picture

Poor Maps with raster profile works normally.

geher's picture

Modrana does not working correctly with OSM Scout Server. Log of Servet say about normal requests. But modrana display map as white squares.

lsjmhar's picture

Hi. I have downloaded maps and modrana. When i follow the instructions and select osm scout server no tiles appear on my map. If i pick other map options they work. Any ideas?

rinigus's picture

If you use modRana, you have to set the profile to include raster tiles. For vector tiles, the ones I presume you have by default, you could use WhoGo Maps. They also work with Laufhelden. Note that the vector tile clients are much faster in rendering and have several other features that you may like.

PS: modRana is expected to support vector tiles in future.

lsjmhar's picture

Thanks. I selected that in osm but map still not appearing in modrana.

rinigus's picture

Please note that the documentation is somewhat outdated. I have opened an issue to address it and it will be a bit easier in future. But let's figure out what's wrong with your setup

rinigus's picture

To troubleshoot modRana: After you selected support for raster tiles in the server, did you download the maps? Does OSM Scout Server log say anything?

To test my assumption regarding vector tiles: Have you tried WhoGo Maps? Did it work with that?

crakby's picture

Ok. yes thank you for the hint. Where to go, if I found a wrong alias in German language for a tag?

rinigus's picture

We are planning to merge the tag aliases lists with the map clients. POC for WhoGo Maps is ready, have to polish it and do something similar for modRana. So, in future, you wouldn't have to know the tags before hand...

As for correction: German is at https://wiki.openstreetmap.org/wiki/Nominatim/Special_Phrases/DE

List of all available languages is at https://wiki.openstreetmap.org/wiki/Nominatim/Special_Phrases

 

crakby's picture

In the 'near by search' I have no matches anymore, since last update, if I searching for type 'caravan_site'. In the last version this type showed up.

rinigus's picture

Its easier now: please use 'caravan site' (or if you want to specify full tag, tourism_caravan_site). Full list of tags and their aliases is at https://rinigus.github.io/osmscout-server/tags/

hwansing's picture

I have problems with the automatic start of the server as a service: I have tried to enable "Automatic activation", but there are no systemd socket and service files created (.config/systemd/user/osmscout-server.service and .config/systemd/user/osmscout-server.socket). I have version 1.5.0-10.32.1.jolla at a Jolla 1 phone.

rinigus's picture

Strange, I cannot reproduce it - files are created if needed, activation works. This is on onyx 2.1.4.14. Try to run from terminal and see if there is something printed that can help to debug it

hwansing's picture

Starting from terminal gives:

======================================================================

[nemo@Sailfish ~]$ harbour-osmscout-server
[D] unknown:0 - Using Wayland-EGL
[D] unknown:0 - "Unexpected reply signature: got \"\", expected \"a{sv}\""
[W] unknown:38 - file:///usr/lib/qt5/qml/Sailfish/Silica/private/Util.js:38: TypeError: Cannot read property 'parent' of null

===================================================================

I hope this helps...

If not: Could you mail me the contents of the systemd socket and service files, so that I can create the files by myself?

rinigus's picture

These are general error messages that seem to be coming from Silica layer. So, no help.

The contents of files is available at https://gist.github.com/rinigus/b9fe24551ba8f8e590d94a45761f4a54

With the files in place, it should be possible to enable/disable from OSM Scout Server. If that doesn't work either, then you would have to give corresponding systemctl --user command to enable the socket

However, its realy strange that you have this issue. Maybe something is wrong with permissions?

Pages