otsaloma / poor-maps

Maps and navigation for Sailfish OS
https://openrepos.net/content/otsaloma/poor-maps
GNU General Public License v3.0
43 stars 10 forks source link

Add OSM Scout Valhalla router #38

Closed otsaloma closed 7 years ago

otsaloma commented 7 years ago

@rinigus Can you check if this is OK?

rinigus commented 7 years ago

Thank you very much for this addition! I run some tests and all seems to be working as it should.

otsaloma commented 7 years ago

Question is when and whether to do it now and call the previous version "OSM Scout Legacy"?

Whichever way is fine by me, I'll leave that up to you. I think it's just important for the naming to be consistent so that users know what to download in the server app and what to use in Poor Maps. So, I can rename the libosmscout one "OSM Scout Legacy" if you too use "Legacy" in your server UI.

Maybe we should add harbour-osmscout-server as one more requirement if it does support multiple requirements.

Added.

In the last sentence of the displayed route, you have "Routing courtesy of %1". Since we know that the route is calculated by Valhalla, would be fair to stress it. Maybe something like Routing courtesy of Valhalla via OSM Scout Server?

That "courtesy of" refers to the service, that's how the commercial providers require attribution. I changed it to "Routing by Valhalla, courtesy of OSM Scout Server". This OK?

rinigus commented 7 years ago

Re naming: Its a good point, I don't use "Legacy" in GUI. Taking into account the current complexity already, let's keep the new terms to the minimum. In addition, the two interfaces are temporary (I have added an issue https://github.com/rinigus/osmscout-server/issues/152 to fix it), so there is no need for users to learn it. So, I suggest to have the names:

OSM Scout Valhalla OSM Scout libosmscout

These are terms that are used in GUI and users should be familiar with that. Leaving a plain OSM Scout would probably just bring out more confusion. Meanwhile, I will work on translating Valhalla's protocol to make it usable by libosmscout. It should not take too much time, I think. But, ideally, I would do it a touch later (working on Nearby search in geocoder-nlp right now).

Re "courtesy of": Looks good to me.

otsaloma commented 7 years ago

Thanks, merging. I'll make a release within the next few days.

rinigus commented 7 years ago

Thank you very much!