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

huggymann's picture

Hello.
I am a little confused. I am using sailfish os 3.0.24
Is it possible to use osm server? After the update it was removed and i am not able to install anymore.
If possible , could you explain for dummies like me?
By the way. I really like the app, thats why i am desperately trying to get it back on my device :)

rinigus's picture

As it has been explained by me several times already here, at Pure Maps page, and probably at TMO, maybe someone else can step in and explain the issue with OBS and 3.4.0? feels like constantly repeating myself ... 

huggymann's picture

Hello rinigus.
I saw a lot of comments with different stements. Some say its not working. Others have workarounds etc.
I checked your description of the app first, for a statement.
If there was a message" for sailfish user with V => 3.4 to wait for an Update" , it would have been very clear to me. Might make sense to add that?
Please apologize if i was annoying you. I really appreachiate your work!

rinigus's picture

That's a good idea, I should add it. Don't worry about annoying - it is a situation that is annoying, not you. We just have to wait when the new target at OBS will be available. It sounds like there are some technical issues with it.

cnlpete's picture

I noticed, that you enabled the new 3.4 target for the arm build. DO you plan on updating the tablet build too?

rinigus's picture

i486 build has been just updated. I was waiting when OBS :latest will point to 3.4.0 for i486 - as it is usually. Today the switch happened and the attached build was compiled.

konstan's picture

Same here :(

Bramba's picture

Dear Rinigus,

since yesterdays map updates I receive the following errors:

rinigus's picture

you have to ensure you are using the latest version of osm scout server

Bramba's picture

Actually the newest version that OpenRepos has provided was already installed.

Now I have uninstalled OSM Scout Server and tried to reinstall it, but now I receive the error "Nothing provides libicuuc.so63 needed by harbour-osmscout-server-1.17.0-1.132.1.jolla.armv7hl".

I guess the update to Sailfish 3.4.0.24 is guilty?

rinigus's picture

I presume you mean 3.4.0.x update. I would expect that you still had some older version of the server, otherwise it would have loaded new maps. Otherwise SFOS update would have uninstalled it. As for server at 3.4.0.x and icu issue - it is known problem and described over here in other posts. Fix does not depend on me, but on when OBS will be updated.

Bramba's picture

Ah okay, I just checked the other postings. Thank you very much for your clarification (and for your amazing efforts!!)! :-)

martijntje's picture

After upgrading sailfish this package refused to start. It fails with the following error:

harbour-osmscout-server: /usr/share/harbour-osmscout-server/lib/libz.so.1: version `ZLIB_1.2.9' not found (required by /usr/lib/libpng16.so.16)

It seems the problem is that libpng was upgraded in sailfish along with zlib, but this package uses an older version of zlib bundled. Simply symlinking to the system-provided zlib fixed this issue. Is there any particular reason there is a bundled zlib?

 

Edit: Hmm, that only sort of fixed it because the maps are not out of date and no longer work. Newer packages don't install because of the missing libicu.

inta's picture

OSM server is removed and can not be reinstalled on SFOS 3.4, libicuuc.so.63 is missing.

rinigus's picture

Looks like ICU is updated in 3.4. You would have to wait till new SFOS release SDK will be released and will hit OBS. Without it, I cannot rebuild against the new version.

eriklundin's picture

If someone else tries to use Pure Maps with OSM Scout Server and then finds that the device runs hot and is (almost) impossible to power off, it could be because systemd keeps trying to restart OSM Scout Server. See also this forum thread.

Pemek's picture

I managed to start osmscout-server by symlinking old version of library to new version:

ln -s /usr/lib/libicui18n.so.66 /usr/lib/libicui18n.so.63 
ln -s /usr/lib/libicudata.so.66 /usr/lib/libicudata.so.63 
ln -s /usr/lib/libicuuc.so.66 /usr/lib/libicuuc.so.63

I have no idea what is new in .66, but all seems to work as usual - no unresolved symbols.

mshigorin's picture

You might better remove those symlinks and copy the files as rpm has known troubles with symlinks turning into files or vice versa IIRC (certainly so for directories); not that older package is expected but a copy would safe guard you against further icu update at least (at the cost of those megabytes).

PS: use the acutal files for copying then, e.g. *.so.66.1

Bramba's picture

Thanks for that hint! Where can I get this rpm that you have mentioned?

rinigus's picture

It does use OSM. Last data update was in early January, right now map imports are running and will hopefully be published in 1-2 weeks.

Bramba's picture

Just out of curiosity: Does OSM Scout Server use OpenStreetMap at all? It seems that several updates to OpenStreetMap won't appear in OSM Scout Server/Mapbox, so I think Mapbox is something different?

TMavica's picture

It need to kill it manually, but few moments later, it run in background again itself

rinigus's picture

That's correct, it has to stop automatically - assuming that you haven't disabled it via idle timeout settings. If settings are fine, it sounds like something is trying to access it and activates the slot as soon as you kill it. Have you tried to reboot the phone to be sure that there is nothing doing so?

TMavica's picture

It supposed to run in background when running a client, but it run in background itself automically when my phone is in idle

TMavica's picture

It always run itself without opening pure map.

rinigus's picture

you have to provide details.

Erik's picture

What is OBS?

slava's picture

Keep in mind that it's hightly likely that Jolla-hosted public OBS gets shut down at some point, mostly because people end up storing all kinds of stuff there, which Jolla may be held legally responsible for. That would be very sad, I'm building all my Harbour and Openrepos apps there.

martijntje's picture

Unfortunately, it does not seem to work on recent SFOS versions. It starts normally, but when you try to request map tiles (e.g. from modrana), the application terminates with the following error:

harbour-osmscout-server: symbol lookup error: /usr/share/harbour-osmscout-server/lib/libmapnik.so.3.0: undefined symbol: _ZN5boost16re_detail_10660012perl_matcherIN9__gnu_cxx17__normal_iteratorIPKcSsEESaINS_9sub_matchIS6_EEENS_12regex_traitsIcNS_16cpp_regex_traitsIcEEEEE14construct_initERKNS_11basic_regexIcSD_EENS_15regex_constants12_match_flagsE

It seems that /usr/share/harbour-osmscout-server/lib/libmapnik.so.3.0 is linked to /usr/lib/libboost_regex.so.1.66.0 which does not have this specific symbol.

Pages