![]() |
Re: [Announce] Native offline maps: OSM Scout Server
Quote:
|
Re: [Announce] Native offline maps: OSM Scout Server
Quote:
Quote:
So about the docs, I also moved the js part in the assets subdir (and changed path in html files accordingly). Quote:
Quote:
I put those last changes to github, and sent you a pull request : https://github.com/rinigus/osmscout-server/pull/177 Please let me if I need to change anything to make it easy to pull (I hope it is fine, but I had to git push -force to get it there...). |
Re: [Announce] Native offline maps: OSM Scout Server
New release is out: 0.15.0, Beta 3
Its mainly bugfix release and is accompanied with the new maps. Libosmscout has been downgraded to its end of May version and the planet has been reimported for libosmscout and geocoder-nlp. The Netherlands issue has been confirmed to be fixed already, Norway I haven't check yet. If anyone else had some problems with the search and, in particular, for countries smaller (in terms of the database size) than Norway, please tell so. Smaller imports would help to fix the issue we stumbled upon in libosmscout. In 0.15.0, I also added a link in About to the user's guide. Quote:
Quote:
Re screenshots: large chunk of brain-dead work was actually renaming them. @Feathers McGraw: just can't stand when something that was supposed to work is not working anymore :) PS: Is Jolla Store on strike? I was probably moved in the queue every time I pushed new update, but as a result, Jolla Store version would probably jump from 0.13 to 0.15 directly. |
Re: [Announce] Native offline maps: OSM Scout Server
@rinigus. Yes, I had a problems with search with v.0.14. I requested XX, Street_name City but I had only Street_name City and pointer in random place of street.
It's OK with v.0.15. |
Re: [Announce] Native offline maps: OSM Scout Server
@rinigus. I first updated the Norwegian map data. Search and navigate from Poor maps no returns valid data from OSM scout server 0.14.1-1. The geocoder NLP data increases from 10MB to 113MB.
I then upgrade to OSM Scout server 0.15.0-1. Same result. Search and navigating from Poor maps OK. Thank you rinigus |
Re: [Announce] Native offline maps: OSM Scout Server
I have issues with downloading some maps, please see https://m.imgur.com/IQQF77P
|
Re: [Announce] Native offline maps: OSM Scout Server
Quote:
For updating , go to Map Manager, click 'Check for updates' and proceed as instructed. |
Re: [Announce] Native offline maps: OSM Scout Server
Looks like there are no additional bug reports for the last version (0.15.0). @mal started making Finnish translation and is getting close to finishing it. As soon as its ready, I can release an update.
As for User's Guide, I think the current structure is ready for translators. So, if anyone is wishing to translate that, please fork OSM Scout Server repo and add translation directly under docs/langcode and follow the lead under "fr" or "en". Its a lot of work though, taking into account large amount of screenshots needed for it. |
Re: [Announce] Native offline maps: OSM Scout Server
I have uploaded all OSM Scout Server dependencies and its own packages to OBS (16 packages in total), under https://build.merproject.org/project...e:rinigus:maps .
Hacking the server has never been so easy - clone the main repository in github and add repository for your architecture to resolve all dependencies - and you are all set! |
Re: [Announce] Native offline maps: OSM Scout Server
I have just released 1.0.0 version.
Compared to the previous version, the work is done by translators:
The functionality provided by 1.0 version certainly exceeds my original plan for it. I hope that, at this stage after a longer feature-freeze, its user-friendly, stable, and accessible to general SFOS users. I am going to focus right now on the client side of things which may take some time (a month or maybe longer). After that I will continue the development according to suggestions and some ideas that I have. Right now, it has been suggested to allow using the server as a proper daemon. I may look into possible integration with QtLocation 5.6 (if that would arrive), exposing map matching, and few other things. Enjoy using it! |
Re: [Announce] Native offline maps: OSM Scout Server
Really impressed in how this offline map application works in sfos. Without doubt, one of the best solution in mobile offline navigation out there. Thanks!
|
Re: [Announce] Native offline maps: OSM Scout Server
A tons of Thanks to @rinigus of this. :)
|
Re: [Announce] Native offline maps: OSM Scout Server
I have released a new version with the changes by @mal: fixed typos found by him as well as updated his Finnish translation. Thank you @mal!
I wonder if there is someone around interested in linguistics or able to spell out pronunciation of some words. Namely, Valhalla supports US English (Pirate version) for its instructions. While a joke, its a nice one and, I think, very appropriate for Sailfish. Unfortunately, TTS software does not know how to pronounce "Arrr" and few other words. What TTS software can do, is to pronounce according to given phoneme description. So, I would like to ask for help and maybe someone here can propose their versions for words listed at https://github.com/valhalla/valhalla/issues/891 . In Sailfish, install mimic from OpenRepos ( https://openrepos.net/content/rinigus/mimic ) and use Code:
mimic -voice awb -ssml -t 'Some <phoneme ph="k ae p n">Capn</phoneme> wheel' -o /tmp/out.wav && gst-launch-1.0 -q filesrc location=/tmp/out.wav ! wavparse ! pulsesink |
Re: [Announce] Native offline maps: OSM Scout Server
Quote:
- always run the server in a separate process - (which also means : design some inter-process communication. DBUS ? simple webservice ? protocole buffers ?) - give the ability to start only that process ("OSMScout --daemon" or something) - for the version available on openrepos.net : pack a systemd ".service" file that only start the daemon in background - for the version avaiable on the shop : don't pack that file. When UI starts, it checks (see the IPC mentionned above) if there's a daemon process answering. If not, it launches the daemon as a child process / as just another thread of the main UI task. On the official version it means that the service will only be available while the UI is running (even if it uses a weird IPC instead of directly calling functions). On the openrepos version, people have the possibility to launch the daemon in background at boot ("systemctl enable OSMscout.service") and only launch the UI to monitor daemon activity. |
Re: [Announce] Native offline maps: OSM Scout Server
Quote:
Alternative to RPC would be to add a command line switch and make some lock file. When user starts GUI, I can kill the daemon and run as GUI app. When GUI app is closed, a new daemon can be started as well. I would have to think how to ensure that its all working |
Re: [Announce] Native offline maps: OSM Scout Server
I just released a bugfix release that handles better tile requests coming with the out-of-bounds indexes. In addition, all maps have been updated and uploaded to the data.modrana.org server. Please let me know if there are any issues with the maps or otherwise.
|
Re: [Announce] Native offline maps: OSM Scout Server
Another idea for running the server in the background would be to use Systemd Socket Activation, this way the Server would autostart if it is needed (=if a Request comes in), and could stop after a certain time of idle.
This way it would not be neccessary to waste resources if nothing is using the server, but activation would be transparent to any client app. This would of corse imply that some proper IPC Mechanism is in place, because I don't think the "stop/start when GUI is launched" would work too well with that |
Re: [Announce] Native offline maps: OSM Scout Server
Quote:
|
Re: [Announce] Native offline maps: OSM Scout Server
@seiichiro0185, I looked into it and probably, that's a proper way to do it. Such socket activation would need a bit of code, but, at least on the paper, it doesn't seem to be anything excessive. I might be able to work around shared port by using start/stop - this would need some testing though. I am finishing up the things that I started on client side and would look into daemon mode as soon as I be ready for it (probably would start working on it by the end of this week, if all goes to the plan).
|
Re: 1.1.0
I have just uploaded 1.1.0 release.
This release adds automatic activation by systemd sockets. Thank you all for suggesting daemon mode and, in particular, @seiichiro0185 for the way to implement it. In this case, systemd's socket activation works very well and allows us to have minimal resources allocated for the server when we don't use it. The server supports GUI and socket-activated modes. When you open the GUI, it stops the service and socket activation, waits till the server's ports get free, and works as usual. On closing GUI, socket activation is started again. If the server is started via socket activation, it runs in the background (no GUI) and would stop itself after some period of time when noone was accessing it (idle period can be set in settings). Notice that if you access the server while switching between GUI and socket activation modes, you may get some requests ignored/dropped. This is a side effect of the implementation allowing me to avoid larger rewrite of the code. In practice, I have not seen such effect on my phone (OPX). Enjoy using it and let me know if there are issues. The update is available via OBS, OpenRepos, and was submitted to the Harbour. |
Re: [Announce] Native offline maps: OSM Scout Server
So impressed with how quickly you acted on that suggestion!
Really appreciate being able to follow the development process on here too. Proper open source development in action :) |
Re: [Announce] Native offline maps: OSM Scout Server
Thanks for the really fast implementation, and I can report the autoactivation works nicely on my Jolla C :)
|
Re: [Announce] Native offline maps: OSM Scout Server
Thank you very much! As for speed, its all relative. It took more than a month to get from proposal at OpenRepos, discussion over here, and implementation. Meanwhile, a launcher has been made by ferlanero clearly demonstrating the need for better user experience. I could have done it probably faster, but was busy with the client side of things. Part of my work on clients is not merged yet, but all is submitted as PRs and, hopefully, would be soon reviewed/polished/rewritten/published. In meanwhile, I can work on some other aspects.
Looks like the whole approach was also acceptable for QA of the Harbour. So, the server is available via store with the full functionality. I would like to thank Jolla's QA team for approving the server. |
Re: [Announce] Native offline maps: OSM Scout Server
Don't make yourself smaller than you are. :eek:
Your work and your working speed is phenomenal! Tankx for all your efforts!!! |
Re: [Announce] Native offline maps: OSM Scout Server
Quote:
|
Re: [Announce] Native offline maps: OSM Scout Server
Quote:
Folks, but did you realize that Jolla Harbour approved an application that can act as a service, if requested by user? In particular, the socket activation required systemd service that is installed on users request in its home and enabled using user's permissions. Note that, if you read Harbour FAQ, such approach seems to be in accordance with them. No special files are installed in the system, there are not scripts in RPM spec file, and so on. Maybe its a way to provide such applications in future as well? |
Re: [Announce] Native offline maps: OSM Scout Server
Big thanks for the daemon mode !
|
Re: [Announce] Native offline maps: OSM Scout Server
Quote:
Quote:
Quote:
|
Re: [Announce] Native offline maps: OSM Scout Server
Hi, I haven't followed a lot the progress lately, but I see that everything is a LOT more user friendly! Very nice!
Unfortunately, I am not able to download maps anymore since a few releases (at least beginning of August). Here is the error I get: Quote:
I've seen that the correct path is geocoder-nlp-10, but do you know why I tries to reach this URL? If you don't I will just reinstall, I'm just reporting this in case there is something you'd want to fix. Thanks! |
Re: [Announce] Native offline maps: OSM Scout Server
Quote:
"Check for updates" in Map Manager. Then your list of URLs will be updated, the countries that you have would be proposed for an update, and you would be able to get new ones as well. I should make this solution easily reachable, opened an issue with it. Thank you for reporting! |
Re: [Announce] Native offline maps: OSM Scout Server
Oh right! I wrongly assumed that unsubscribing and subscribing again would automatically try to fetch the latest resources. Thanks for the info.
But yeah, adding an info message when this error occurs, inviting the user to click on that button would be perfect :) Thanks again! |
Re: [Announce] Native offline maps: OSM Scout Server
I have just published a release 1.1.1 with
* the updated translations * expanded error message that should guide users to update the maps if the file is missing in the server (as reported by @Sthocs) I would like to thank all the translators for the great work! I have generated the packages a bit early today and couldn't anymore incorporate the latest changes in Russian and Swedish (really fast response by the translators). Namely, I am moving my SDK to Qt 5.6 level and decided to release the current package with the older SDK. That should allow the ports that have not yet updated to 2.1 to use the server. So, I am sorry that the latest translations were not incorporated, I'll add them the next time. |
Re: [Announce] Native offline maps: OSM Scout Server
Quote:
|
Re: [Announce] Native offline maps: OSM Scout Server
Hello Rinigus,
I have finally made most of the translation/screeshots for the documentation : https://github.com/Sagittarii/osmsco...139c0c12f12392 I still have the modRana and poor maps pages to translate and take screenshots. I'm not sure when I will take the time to finish it, so I can already make a pull request for this part right now if you want. I have also seen that two fellow French guys are now in the transifex effort, so thanks to Jordi and Sthocs to have made the updates when I was a bit away. :) If you want to proof-read the documentation (I made my best, but it is far from perfect), feel free to do so, and send me your remarks so that I can fix them (or you can clone the project in Github and send me directly a pull-request). |
Re: [Announce] Native offline maps: OSM Scout Server
Quote:
|
Re: [Announce] Native offline maps: OSM Scout Server
Quote:
|
Re: [Announce] Native offline maps: OSM Scout Server
Quote:
|
Re: [Announce] Native offline maps: OSM Scout Server
Great! Then I won't have to Gimp. :)
|
Re: [Announce] Native offline maps: OSM Scout Server
Quote:
For the pictures I took for french, they are in the Jolla 1 phone resolution, so also a bit less than those taken by rinigus. |
Re: [Announce] Native offline maps: OSM Scout Server
@rinigus: first off all: THANK YOU FOR THE GREAT EFFORT!
atm I am about to try OSM scout server with Poor Maps and - while offline search works perfectly - I cannot see the map tiles. I get the following error messages (off cuorse, maps are saved on SDcard): INFO: 09:51:18 Request: /v1/tile?daylight=1&shift=1&scale=4&z=14&x=8802&y=5372Any idea? |
All times are GMT. The time now is 05:50. |
vBulletin® Version 3.8.8