[Marble-devel] Routing

Dennis Nienhüser earthwings at gentoo.org
Tue Oct 1 15:22:45 UTC 2013


Hi Konrad,

right, OSRM changed their API. Marble master and the KDE/4.11 branch are 
updated to reflect that, see [0]. Any chance you're running an older 
version?

Regards,
Dennis

[0] https://bugs.kde.org/show_bug.cgi?id=323772

Am 01.10.2013 12:23, schrieb Konrad Enzensberger:
> Hi,
> 
>  while routing works great in the past, now i am facing
>  an issue, the routes are created with invalid coordinates (OSRM
> plugin)
> 
>  debugging the OSRM routing plugin shows me,
>  that the coordinate value has one more digit.
>  for example, latitude is set to 48143403
> 
>  because of this, following code will fail:
> 
> lineString->append( GeoDataCoordinates(double( coordinates[1] ) / 1E5,
> double( coordinates[0] ) / 1E5,0.0, GeoDataCoordinates::Degree ) );
> 
> i changed it to / 1E6 , now all works like before.
> 
> does any one know if 8 digit is a general change by the OSRM service?
> or is it possible, that we get sometimes 7, sometimes 8 digits for the
> values?
> 
> br, konrad
> 
> 
> _______________________________________________
> Marble-devel mailing list
> Marble-devel at kde.org
> https://mail.kde.org/mailman/listinfo/marble-devel


More information about the Marble-devel mailing list