maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [SFOS] [Announce] Native offline maps: OSM Scout Server (https://talk.maemo.org/showthread.php?t=97823)

eson 2017-06-06 07:14

Re: [Announce] Native offline maps: OSM Scout Server
 
1 Attachment(s)
Translation and some testing done...

If not a Valhalla issue, there is a missing translation string. Maybe also a bug? Can't really test it.
.

rinigus 2017-06-06 07:26

Re: [Announce] Native offline maps: OSM Scout Server
 
Quote:

Originally Posted by eson (Post 1528868)
Translation and some testing done...

If not a Valhalla issue, there is a missing translation string. Maybe also a bug? Can't really test it.
.

Thank you very much!

That's Valhalla's output, unfortunately. So, we have to translate that through Valhalla.

What the server does is starting Valhalla as a separate process. Then it catches the output and forwards it to INFO stream. Unfortunately, Valhalla is a rather chatty beast and would be telling a lot of details when calculating the route. Maybe we should just ignore these messages and show on GUI only if requested by the user? Let's see what is the reaction of the users when it all gets supported by the clients.

PS: This WARN message is harmless since we don't use extracts in such form

eson 2017-06-06 07:32

Re: [Announce] Native offline maps: OSM Scout Server
 
Quote:

Originally Posted by rinigus (Post 1528870)
That's Valhalla's output, unfortunately. So, we have to translate that through Valhalla.

Ok, thanks! I will take a look at Valhalla translation, but as Swedish translation isn't even started, it will take some time. Lots of complicated strings to translate.
Think I'll need client support to get a grip of it all.

rinigus 2017-06-06 07:41

Re: [Announce] Native offline maps: OSM Scout Server
 
Quote:

Originally Posted by eson (Post 1528871)
Ok, thanks! I will take a look at Valhalla translation, but as Swedish translation isn't even started, it will take some time. Lots of complicated strings to translate.
Think I'll need client support to get a grip of it all.

Yes, and as mentioned earlier, client support is coming :) .

Before getting into translating Valhalla, its probably good to add github issue in their project (https://github.com/valhalla/valhalla). Valhalla's developers are quite fast to respond, but they do it during workdays - its their day job! As I could see in the issue tracker, Valhalla is considering moving translations into a separate platform as well. It would be good to tell your plan to translate via the issue and, I am sure, they will help you with the process.

eson 2017-06-06 07:59

Re: [Announce] Native offline maps: OSM Scout Server
 
Quote:

Originally Posted by rinigus (Post 1528872)
Yes, and as mentioned earlier, client support is coming

Do you know a nice desktop client (linux) I can use to play with Valhalla?

rinigus 2017-06-06 08:45

Re: [Announce] Native offline maps: OSM Scout Server
 
Quote:

Originally Posted by eson (Post 1528875)
Do you know a nice desktop client (linux) I can use to play with Valhalla?

No, not really. modRana is not supporting it yet. I played a bit with the leaflet, but its not ready for mobile release. Maybe I'll look into it soon again.

On Linux (or any PC), you could subscribe to Mapzen developer id (should be free as long as you don't exceed their limits) and make a small web-page with leaflet. See https://github.com/valhalla/valhalla...ng-to-a-map.md for tutorial. Note that you don't need any web-server, just point the browser to a corresponding HTML file.

rinigus 2017-06-06 20:07

Re: [Announce] Native offline maps: OSM Scout Server
 
For a fun of it, I benchmarked the routers on the same hardware. I used Nexus 4 and calculated a route from Stockholm to Aarhus (or nearby it). Rote itself is a bit more than 900 km.

Test results:

SFOS, Valhalla: on cold start (boot of the phone), it took 12 seconds from starting calculations in Poor Maps till getting the result. This includes geocoder search result for target and origin, communication between Poor Maps and the server (3 requests, 2x geocoder + 1 route). Out of these, Valhalla used only 5 seconds according to its logs.

SFOS, Valhalla: reroute calculation (Poor Maps navigation cleared, closed, and started again) took 5-6 seconds (2 were used by Valhalla itself). In this case, server was still running after it calculated the route. So, few things were in FS and application caches.

Android, MAPS.ME: Same route, without geocoder since it searches for origin and target separately. For route calculation, it took ... 50 seconds . Recalculation of the route by using a target nearby: 50 seconds again.

Android OsmAnd+: Again, geocoder is out of equation since GPS coordinates are used when calculating route. Here it took about 2 minutes(+-5 seconds).

So, we are getting a rather fast router. It would take some time to get it into clients, but not too long (NB: 'soon' not used). Libosmscout is quite fast as well (I leave its benchmarking for users when Valhalla can be compared against it).


@eson and other translators: Valhalla developers would love to get your help and extra languages on their server.

MartinK 2017-06-07 02:02

Re: [Announce] Native offline maps: OSM Scout Server
 
Quote:

Originally Posted by rinigus (Post 1528877)
No, not really. modRana is not supporting it yet.

Just wanted to note I am aware of this and it's one of the items on top of my priority list. :)

I plan to do some traveling in the summer, so support for a robust and fast offline router in modRana will certainly be handy. :)

rinigus 2017-06-08 18:42

Re: 0.10.1
 
0.10.1 is out with the updated translations. Translators, thank you very much for this great job!

ferlanero 2017-06-08 23:13

Re: [Announce] Native offline maps: OSM Scout Server
 
Excelent work. But I have a problem, when I activate Valhalla as route engine in OSM Scout Server, PoorMaps can't calculate any route. It always reports "No results". What is what I'm doing wrong?

If I disable Valhalla in OSM Scout Server, It works perfect, as expected.

I have SFOS 2.1.0.11 installed.

Thank you.


All times are GMT. The time now is 12:06.

vBulletin® Version 3.8.8