View Single Post
Posts: 1,414 | Thanked: 7,547 times | Joined on Aug 2016 @ Estonia
#130
Originally Posted by Zeta View Post
Thanks. I have already done a bunch of the translations. 100 remaining that I will try to complete before Sunday.


I intend to use it on Linux, yes. I have also installed it on my Jolla through you packages on OpenRepos, to have more context while doing the translations, and as a reference.
So far I am trying to see what the prerequisites are to build the different parts (libosmscout, osmscout-server, ...), and have a lot of thins to read to understand better what every part is doing. But I will try to finish the translation before spending more time on that front.

Ok. I assume the reference website is http://libosmscout.sourceforge.net/ with the mailing lists at https://sourceforge.net/p/libosmscou...t-development/ ?
Are there other channels I need to read ?

Thanks for your work and help by the way.
Assuming that we'll figure it out this weekend with @ade what's going on with memory during download, translations by the end of weekend would fit perfectly with the next point release.

Using the server on Linux - great! I used it earlier in development with modRana, but haven't tried lately. To make it possible, I'll have to fix https://github.com/rinigus/osmscout-server/issues/90 , but that shouldn't be too complicated. Let me fix OOM-killer bug first and finish small scripts to move downloads to @MartinK server. Then I should be able to get issue #90 resolved in a night or two.

Dependencies on Linux are actually much simpler. Assuming that you do have RAM (more than 2-3GB), you can skip all these country-specific libpostal datasets. You would need to install libpostal as at https://github.com/openvenues/libpostal , libosmscout, and sqlite.

To use with the server downloadable datasets, please use https://github.com/rinigus/libosmscout Sailfish branch, latest release. For fixing / development of libosmscout, please use https://github.com/Framstag/libosmscout. Sorry for a mess, but that way I can keep versions consistent (upstream does not provide releases). libosmscout can be also used without the server using their own QML/Qt application which is available at github. Note that the work that you would do on backend features of libosmscout (map drawing, routing, and several others) would be pulled into the server and OSM Scout by @Karry as well. So, you would have to see what annoys you most and find the easiest way to work on it. Ask/propose project(s) if you like. Note that the mailing list is reasonably active and we all try to help each other as much as we could.

Geocoder-nlp is available as a submodule for osmscout-server. So, that's easy dependency.

In Linux, all configuration is done via INI configuration file, under .config/osmscout-server . At present, translations are not exposed to Linux to avoid double work by translators. We should probably just modify build scripts to copy harbour-osmscout-*ts files to osmscout-*.ts files.

In Linux, if you run server on a proper server without GUI, you may prefer using Cairo drawing backend of libosmscout. For that, just uncomment https://github.com/rinigus/osmscout-...onsole.pro#L20 and comment out a line above. Its possible to use Qt for drawing on a server hardware as well, but you would have struggle a bit with some environment vars, if I remember correctly.

I hope I remembered all what is relevant to this case. If you have any trouble, just ask.
 

The Following 4 Users Say Thank You to rinigus For This Useful Post: