OSM Scout Server

Rating: 
4.954545
Your rating: None Average: 5 (66 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.0.2.x users - do not upgrade here to versions >=1.14.3. Use OBS instead: http://repo.merproject.org/obs/home:/rinigus:/maps/sailfish_3.0.2.8_armv...

 

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: 
AttachmentSizeDate
File harbour-osmscout-server-1.6.0-10.40.1.jolla_.armv7hl.rpm9.94 MB27/05/2018 - 07:04
File harbour-osmscout-server-1.6.0-10.40.1.jolla_.i486.rpm10.65 MB27/05/2018 - 07:04
File harbour-osmscout-server-1.7.1-1.48.1.armv7hl.rpm10.06 MB17/06/2018 - 10:33
File harbour-osmscout-server-1.7.1-1.48.1.i486.rpm10.77 MB17/06/2018 - 10:33
File harbour-osmscout-server-1.8.0-1.64.1.armv7hl.rpm11.43 MB12/07/2018 - 22:59
File harbour-osmscout-server-1.8.0-1.64.1.i486.rpm12.29 MB12/07/2018 - 22:59
File harbour-osmscout-server-1.9.1-1.76.1.i486.rpm12.3 MB31/07/2018 - 15:54
File harbour-osmscout-server-1.9.1-1.76.1.armv7hl.rpm11.43 MB31/07/2018 - 15:54
File harbour-osmscout-server-1.10.5-1.93.1.armv7hl.rpm11.44 MB27/08/2018 - 18:26
File harbour-osmscout-server-1.10.5-1.93.1.i486.rpm12.32 MB27/08/2018 - 18:26
File harbour-osmscout-server-1.11.0-1.96.1.armv7hl.rpm11.45 MB05/09/2018 - 21:23
File harbour-osmscout-server-1.11.0-1.96.1.i486.rpm12.32 MB05/09/2018 - 21:23
File harbour-osmscout-server-1.12.2-1.103.1.jolla_.armv7hl.rpm11.47 MB01/11/2018 - 08:51
File harbour-osmscout-server-1.12.2-1.103.1.jolla_.i486.rpm12.35 MB01/11/2018 - 08:51
File harbour-osmscout-server-1.13.1-1.107.1.jolla_.armv7hl.rpm11.67 MB01/02/2019 - 00:01
File harbour-osmscout-server-1.13.1-1.107.1.jolla_.i486.rpm12.65 MB01/02/2019 - 00:01
File harbour-osmscout-server-1.14.5-1.116.1.jolla_.armv7hl.rpm5.82 MB23/05/2019 - 08:04
File harbour-osmscout-server-1.14.5-1.116.1.jolla_.i486.rpm6.61 MB23/05/2019 - 08:04
File harbour-osmscout-server-1.15.0-1.119.1.jolla_.armv7hl.rpm6.17 MB22/09/2019 - 08:29
File harbour-osmscout-server-1.15.0-1.119.1.jolla_.i486.rpm7.01 MB22/09/2019 - 08:29
File harbour-osmscout-server-1.15.5-1.120.1.jolla_.armv7hl.rpm6.18 MB29/10/2019 - 23:45
File harbour-osmscout-server-1.15.5-1.120.1.jolla_.i486.rpm7.01 MB29/10/2019 - 23:45
File harbour-osmscout-server-1.15.6-1.125.1.jolla_.armv7hl.rpm6.68 MB30/11/2019 - 16:09
File harbour-osmscout-server-1.15.6-1.125.1.jolla_.i486.rpm7.58 MB30/11/2019 - 16:09
File harbour-osmscout-server-1.16.0-1.127.1.jolla_.i486.rpm7.65 MB23/01/2020 - 19:32
File harbour-osmscout-server-1.16.0-1.127.1.jolla_.armv7hl.rpm6.72 MB23/01/2020 - 19:32
Changelog: 

Comments

didilalalagon9's picture

Hi rinigus, It was a while since i realy neded my maps and just found out that latest maps versions where now invalid VS my OMS Scout version. I am on ported SFOS 3.0.1.11 for Onyx. So far only pacakge 1.13.1 from here will install and is runnable & of course any atempt to subscribe to a map set, return that they are invalid for the current version. I followed the note about my SFOS version and tried to install: '' harbour-osmscout-server-1.15.6+master.20200103084349.3.g7de1a34-1.126.1.jolla.armv7hl.rpm''

from : '' http://repo.merproject.org/obs/home:/rinigus:/maps/sailfish_3.0.2.8_armv...'' .

That install successfully but the app does not open any more it snap back to an empty tile on the home screen.Any tips to get me back on track? Note: I downloaded the rpm only then install for the phone GUI. Was i suppose to get the package from console command? Sorry for my lack of knowledge in that regard.

rinigus's picture

Hi! Try to run it in terminal and see what errors that will lead to. Why don't you update to later versions? SFOS 3.1.0.12 is available for onyx.

didilalalagon9's picture

HI. upgrading SFOS for me is unlikely for very personal preferences VS newest inprovement and one other bug I encontered while atempting preivous update that make me stick to this version witch is the most stable for me as daily driver. So starting it from terminal as point me to 2 patchs that was interfering. So both of them are disabled now witch leve me with the following result; yet still if atemp to start normally it will, afret a very long aninated loading tile, brifely show me the text ''initialising'' with the animated loading circle in full screen just before snaping back as minimise tile on the home screen but this time the tile cover do show OSM icon and it's state. Pressing the minised tile give a ''busy'' animated circle and then turn back empty after a while. however starting it with terminal as ''nemo'' I got this :

[nemo@Sailfish ~]$ harbour-osmscout-server
[D] unknown:0 - Using Wayland-EGL
[W] unknown:57 - file:///usr/share/harbour-osmscout-server/qml/platform/PagePL.qml:57:9: QML Loader: Binding loop detected for property "active"
[W] unknown:447 - file:///usr/lib/qt5/qml/Sailfish/Silica/private/PulleyMenuBase.qml:447:13: QML State: Binding loop detected for property "when"
[W] unknown:38 - file:///usr/lib/qt5/qml/Sailfish/Silica/private/Util.js:38: TypeError: Cannot read property 'parent' of null
[W] unknown:447 - file:///usr/lib/qt5/qml/Sailfish/Silica/private/PulleyMenuBase.qml:447:13: QML State: Binding loop detected for property "when"
[W] unknown:53 - file:///usr/share/harbour-osmscout-server/qml/platform/TextFieldPL.qml:53:19: Unable to assign [undefined] to QString
[W] unknown:38 - file:///usr/lib/qt5/qml/Sailfish/Silica/private/Util.js:38: TypeError: Cannot read property 'parent' of null
[W] unknown:447 - file:///usr/lib/qt5/qml/Sailfish/Silica/private/PulleyMenuBase.qml:447:13: QML State: Binding loop detected for property "when"
[W] unknown:447 - file:///usr/lib/qt5/qml/Sailfish/Silica/private/PulleyMenuBase.qml:447:13: QML State: Binding loop detected for property "when"

Witch at least let the app start in aparence normally just after that, if I use it trough out various menu & function it work including that now, the maps version in the map manager do match the ones on the updated maps server to download. In the sequence above I activate in order ; menu ''about OSM.., Settings, Profile and Map Manager.

now if I start if as ''root'' the terminal give me this on why it will not let it start:

[root@Sailfish ~]# harbour-osmscout-server
This application failed to start because it could not find or load the Qt platform plugin "xcb"
in "".

Available platform plugins are: hwcomposer, minimal, wayland-egl, wayland.

Reinstalling the application may fix this problem.
Aborted
[root@Sailfish ~]#

 

So do you think that I will be able to come out of this without to resolve myself to undergo SFOS update?

edited: So after all, this does not affect the map server loding in the background when using with Pure maps. I completed my map update/download and let run Pure maps in mix mode for OSM maps and now I am back with usable offline maps. So it is soly an inconvenient while tring to use the Server platform using it's own GUI. So now, knowing that even if you dont kind of fix futur versions to compensate older SFOS versions compatibility , at least I am still in the game by launching OSM via terminal to do what ever maintenance on the maps i may need.

-By the way for your information the 2 patch/mod that where intrefering on top was ''prepatch patch:Bouton Vibrate'' was making the menu ''settings'' hang on selection unless I assume ; ''-R'' on terminal prompt and any way causing error log. The other is more of a manual tweak than a patch. from this : ''https://together.jolla.com/question/183151/hackingmodding-system/'' I had for a while replaced the stock ''PageStackIndicator.qml'' to enable the, dormant/phased out, old page stack indication system for the various menus trought out Sailfish UI.

 

 

rinigus's picture

Don't start it as root.

So, when the server is started from the terminal, all works as it should? Only starting from the application drawer is a problem, right?

didilalalagon9's picture

That is correct, from terminal, as nemo user ,the app open and i can go and use any menu and every thing in the map manager menu is usable,; subscribing to new maps, update check and downloads works fine as well.

Bramba's picture

Out of curiosity:

How can I contribute to update the OSM maps? Is it enough to place my updates just to the common maps on OpenStreetMaps, e.g. via QGIS/OsmInEdit etc.?

How and how frequently do the offline maps get updated in OSM Scout Server?

rinigus's picture

Yes, through contribution to OSM maps via their tools. I have to import them and distribute in corresponding formats. I had a target to update once in 2 months, in 2019 it had longer delay between updates. Should start a new update soon.

itoss's picture

hi im trying to update the OSM Scoutserver manually for SFOS 3.0.3.10, but the message of missing libc.so.6 still remains when i install the harbour-osmscout-server-1.15.6-1.125.1.jolla.armv7hl.rpm package from http://repo.merproject.org/obs/home:/rinigus:/maps/sailfish_3.0.2.8_armv...

is it necessary to add the repo ? how do i add the repo using zypper ?

zypper ar http://repo.merproject.org/obs/home:/rinigus:/maps/sailfish_3.0.3.9_armv...

EDIT : i tried all versions of the repo ( 3.0.2.8 / 3.0.3.09 and latest ) but there were different dependecies issus :

Missing lib for latest / 3.0.3.09 : libicuuc.so.52 but libicuuc.so.63 is installed, install breaking dependecies => server dont start
Missing libs for 3.0.2.9 : missing lib => libc.so.6 ( caused by compile errors from x86 code to amd compiler say the internet )

so actually i cant use any instance or version of OSM scout server with SFOS Version 3.0.3.10.
Really bad when you need the offline navi.

In past this problems makes the OSM Scout Server temporary unusable, especially without a PC System that you can use.

Can you make an Snap ( or any other packages ) that contains ALL needed files in the right version to prevent user from searching solutions that never works ?

So is there anyone who get the OSM Scout server working with the latest SFOS Version ?

rinigus's picture

You don't need to add the repos in this case. Please remove them, as it looks like they are conflicting with each other. Its sufficient to download RPM and try to install it. But, if in your case you have icu63, you'd have to get version which depends on it

itoss's picture

where i can get the right version of what ? (But, if in your case you have icu63, you'd have to get version which depends on it)

OSM Scout Server using Version ICU63 ?

itoss's picture

Ok so what have i to do now ? i am really confused now ;/

1. remove the repo http://repo.merproject.org/obs/home:/rinigus:/maps/
2. remove completely harbour-osm-scout-server ( all osm scout packaped like fonts mapboxgl etc. )
3. clear the repos cache ( zypper clean -a )
4. update repo cache ( zypper ref )

install OSM Scout server via Storeman :
1. Open Storeman and add ringus repo viua storeman to install OSM Scout Server package
2. Install OSM Scoutserver causes ERROR => Problem: nothing provides libc.so.6(GLIBC_2.28) needed by harbour-osmscout-server-1.15.6-1.125.1.jolla.armv7hl

Other solution via SFOS Shell :

$#> wget http://repo.merproject.org/obs/home:/rinigus:/maps/sailfish_3.0.2.8_armv...
$#> zypper install harbour-osmscout-server-1.15.6-1.125.1.jolla.armv7hl.rpm
Error : harbour-osmscout-server-1.15.6-1.125.1.jolla.armv7hl requires libicudata.so.52, but this requirement cannot be provided

$#> zypper install libicudata.so.52
Error : installed libicu-63.1+git5-1.1.6.jolla.armv7hl obsoletes libicu52 provided by libicu52-52.1+git6-1.4.1.jolla.armv7hl

force install will backport the entire System to preversion libs = system will be destroyed - no option !

ignoring version dependecies when installing harbour-osmscout-server-1.15.6-1.125.1.jolla.armv7hl.rpm the OSM Scoutserver dont start ( icon show loading 1-2 seconds an then closed )

so what ca i do now ?

EDIT : Manually download

root@Sailfish:/run/media/nemo/512_GB_sdcard/Downloads> wget http://repo.merproject.org/obs/home:/rinigus:/maps/sailfish_latest_armv7... && zypper install har*
--2020-01-01 18:45:23-- http://repo.merproject.org/obs/home:/rinigus:/maps/sailfish_latest_armv7...
Resolving repo.merproject.org (repo.merproject.org)... 5.9.68.173
Connecting to repo.merproject.org (repo.merproject.org)|5.9.68.173|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 6999312 (6.7M) [application/x-redhat-package-manager]
Saving to: 'harbour-osmscout-server-1.15.6-1.125.3.jolla.armv7hl.rpm'

harbour-osmscout-server-1.15.6-1.125.3.jolla.armv7hl. 100%[========================================================================================================================>] 6.67M 1.21MB/s in 6.7s

2020-01-01 18:45:29 (1.00 MB/s) - 'harbour-osmscout-server-1.15.6-1.125.3.jolla.armv7hl.rpm' saved [6999312/6999312]

Loading repository data...
Reading installed packages...
Resolving package dependencies...

Problem: nothing provides libc.so.6(GLIBC_2.28) needed by harbour-osmscout-server-1.15.6-1.125.3.jolla.armv7hl
Solution 1: do not install harbour-osmscout-server-1.15.6-1.125.3.jolla.armv7hl
Solution 2: break harbour-osmscout-server-1.15.6-1.125.3.jolla.armv7hl by ignoring some of its dependencies

Choose from above solutions by number or cancel [1/2/c] (c): c
root@Sailfish:/run/media/nemo/512_GB_sdcard/Downloads> rm harbour-osmscout-server-1.15.6-1.125.3.jolla.armv7hl.rpm
root@Sailfish:/run/media/nemo/512_GB_sdcard/Downloads> wget http://repo.merproject.org/obs/home:/rinigus:/maps/sailfish_3.0.3.9_armv... && zypper install har*
--2020-01-01 18:46:23-- http://repo.merproject.org/obs/home:/rinigus:/maps/sailfish_3.0.3.9_armv...
Resolving repo.merproject.org (repo.merproject.org)... 5.9.68.173
Connecting to repo.merproject.org (repo.merproject.org)|5.9.68.173|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 6440580 (6.1M) [application/x-redhat-package-manager]
Saving to: 'harbour-osmscout-server-1.15.6-1.125.1.jolla.armv7hl.rpm'

harbour-osmscout-server-1.15.6-1.125.1.jolla.armv7hl. 100%[========================================================================================================================>] 6.14M 1.33MB/s in 5.1s

2020-01-01 18:46:28 (1.21 MB/s) - 'harbour-osmscout-server-1.15.6-1.125.1.jolla.armv7hl.rpm' saved [6440580/6440580]

Loading repository data...
Reading installed packages...
Resolving package dependencies...

Problem: harbour-osmscout-server-1.15.6-1.125.1.jolla.armv7hl requires libicudata.so.52, but this requirement cannot be provided
not installable providers: libicu52-52.1+git6-1.4.1.jolla.armv7hl[openrepos-piggz]
Solution 1: do not install harbour-osmscout-server-1.15.6-1.125.1.jolla.armv7hl
Solution 2: break harbour-osmscout-server-1.15.6-1.125.1.jolla.armv7hl by ignoring some of its dependencies

Choose from above solutions by number or cancel [1/2/c] (c): 1
Resolving dependencies...
Resolving package dependencies...

Nothing to do.
root@Sailfish:/run/media/nemo/512_GB_sdcard/Downloads> rm harbour-osmscout-server-1.15.6-1.125.1.jolla.armv7hl.rpm
root@Sailfish:/run/media/nemo/512_GB_sdcard/Downloads> wget http://repo.merproject.org/obs/home:/rinigus:/maps/sailfish_3.0.2.8_armv... && zypper install har*
--2020-01-01 18:47:15-- http://repo.merproject.org/obs/home:/rinigus:/maps/sailfish_3.0.2.8_armv...
Resolving repo.merproject.org (repo.merproject.org)... 5.9.68.173
Connecting to repo.merproject.org (repo.merproject.org)|5.9.68.173|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 6441408 (6.1M) [application/x-redhat-package-manager]
Saving to: 'harbour-osmscout-server-1.15.6-1.125.1.jolla.armv7hl.rpm'

harbour-osmscout-server-1.15.6-1.125.1.jolla.armv7hl. 100%[========================================================================================================================>] 6.14M 1.43MB/s in 4.6s

2020-01-01 18:47:20 (1.34 MB/s) - 'harbour-osmscout-server-1.15.6-1.125.1.jolla.armv7hl.rpm' saved [6441408/6441408]

Loading repository data...
Reading installed packages...
Resolving package dependencies...

Problem: harbour-osmscout-server-1.15.6-1.125.1.jolla.armv7hl requires libicudata.so.52, but this requirement cannot be provided
not installable providers: libicu52-52.1+git6-1.4.1.jolla.armv7hl[openrepos-piggz]
Solution 1: do not install harbour-osmscout-server-1.15.6-1.125.1.jolla.armv7hl
Solution 2: break harbour-osmscout-server-1.15.6-1.125.1.jolla.armv7hl by ignoring some of its dependencies

Choose from above solutions by number or cancel [1/2/c] (c): 1
Resolving dependencies...
Resolving package dependencies...

Nothing to do.
root@Sailfish:/run/media/nemo/512_GB_sdcard/Downloads>

rinigus's picture

The build is finished and looks like it depends on icu63. Get it at http://repo.merproject.org/obs/home:/rinigus:/maps/sailfish_3.0.3.9_armv...

rinigus's picture

Do not force any install - it should install as it is without issues.

I will try to rebuild a version for 3.0.3.9 - I don't know why it used icu52 there. Follow https://build.merproject.org/project/monitor/home:rinigus:maps and when the build is finished (all green in corresponding version), let's see if https://build.merproject.org/package/binary/home:rinigus:maps/osmscout-s... will still have icu52 dependency

alex000090's picture

Rinigus, thanks for your trying and for your work!

As far as I know, at the building process the version of libraries depend on devel library files of the Toolchain. And so the toolchain works as fully-closed system without any breaks in libraries. But target system have to use identically or higer library versions if there is no incompatibility in rising version. So, I think, if you use prebuilt toolchain (by Jolla or other) of 3.0.3.9 version to build OSM, you can't easy change the version of icu or libc.

Which toolchain you use to build OSM? Prebuild or manual or something else?

rinigus's picture

Its built at OBS and should be correct for 3.0.3.9. Earlier I mixed it with 3.0.2 as I have to use newer gcc which comes from my repo. Hence a mixup that should be resolved now

alex000090's picture

Unfortunately, the new build needs GLIBC_2.28 again.

rinigus's picture

I wanted to avoid gcc recompile, but looks like this is needed. I'll start it and ping you when its ready

alex000090's picture

Thank you Rinigus!

rinigus's picture

Hi! Try again. This time its compiled with newer compiler and I haven't had a chance to test it yet, as gcc for my SFOS version is still compiled by OBS. Let me know how it went

rinigus's picture

Great! Then you can grab MapboxGL QML from there as well

alex000090's picture

I tested the maps. Poor maps work fine with OSM server. Excellent!

rinigus's picture

Nice to hear, enjoy!

alex000090's picture

Hi Rinigus! I've installed OSM from 3.0.3.9 repo. There was no errors due to installation. The program starts fine. Thank you wery much!

alex000090's picture

Many thanks for program! Unfortunately I have unofficial Sailfish OS build 3.0.3.10 for my Xiaomi Redmi 4X with old LibC.
1.14 version installs fine, but 1.15 not.
Maybe somebody have old version of maps (map folder) for 1.14 version program for Russia, Germany, Czech and maybe other. Could one share it?

rinigus's picture

Try to get 1.15 from http://repo.merproject.org/obs/home:/rinigus:/maps/sailfish_3.0.2.8_armv...

Let me know if it worked for you

alex000090's picture

Thanks for your answer. Unfortunately this build is needed in libicuuc52 and program don't start without this lib.

rinigus's picture

I have compiled a version for sailfish_3.0.3.9_armv7hl. Try that

alex000090's picture

Many thanks, Rinigus!

I try to use that build but there is same problem. I try to use both versions of your builds with two methods to correct icu52 problem:

1. I try to create symlinc libicuuc.so.52 and libicui18n.so.52 to my system libralies libicuuc.so.63 and libicui18n.so.63.

2. I try to manual download libicu52 rpm file built for Sailfish and unpack it to /usr/local/lib. After this i use LD_LIBRARY_PATH=/usr/local/lib before the command.

Unfortunately, both of this method for both of your builds give QML loader error:

[nemo@Sailfish ~]$ LD_LIBRARY_PATH=/usr/local/lib /usr/bin/harbour-osmscout-server
[D] unknown:0 - Using Wayland-EGL
[W] unknown:57 - file:///usr/share/harbour-osmscout-server/qml/platform/PagePL.qml:57:9: QML Loader: Binding loop detected for property "active"
*** Error in `/usr/bin/harbour-osmscout-server': munmap_chunk(): invalid pointer: 0xbb54c89c ***
Aborted

I think this mistake consist in incompatibility libicu52 to use with any other programs which run on newer version libicu63. And so we get ERROR.

Could you try to build OSM server with libicu63 if it possible? I don't know but maybe Build Toolchain for 3.0.3.10 contains libicu63 instead 52 version...

rinigus's picture

I don't know which was the version of SFOS when we switched to ICU63. But it looks like https://build.merproject.org/package/binary/home:rinigus:maps/osmscout-s... dependes on icu63

alex000090's picture

Yes, it right. But this verion depends on GLIBC_2.28 but I my system there is 2.25 just.

Pages