[OSRM-talk] OSRM 5.3.0 API polyline encoding precsion question

Alex Farioletti alex at tcbcourier.com
Fri Jul 29 21:37:34 UTC 2016


For what its worth, changing the include/engine/polyline_compressor.hpp back
to 1e6 was a trivial change.
I just finished rebuilding and reparsing my planet files and everything
works as expected. If anyone else is having this issue here's my fix:

https://github.com/thrownblown/osrm-backend/commit/244f0b07810607b2cd2da6270bc8ac0b7a92e75b

I'll probably throw a comment on the issue too.

*Alex Farioletti*
*415.312.1674*
*tcbcourier.com <http://tcbcourier.com> *

On Thu, Jul 28, 2016 at 2:19 PM, Daniel Hofmann <hofmann at mapbox.com> wrote:

> This feature request is tracked in:
> https://github.com/Project-OSRM/osrm-backend/issues/2485
>
> Now, in case you want to get your hands dirty I'm glad to help you getting
> started :)
>
> Cheers,
> Daniel J H
>
> On Thu, Jul 28, 2016 at 10:54 PM, Alex Farioletti <alex at tcbcourier.com>
> wrote:
>
>> I'm upgrading from the 4.0 API to 5.0 and I have a problem / questions:
>>
>> can I set the polyline encoding precision on the server back to 6 from 5?
>> is it a simple change to the profile.lus i'm using?
>> or do i have to get my hands dirty with the source before i build it?
>>
>> I have been storing the results from the OSRM queries in my db, and I
>> have a few million records with polylines encoded at 6, and I don't want to
>> pollute the DB with a new polyline schema.
>>
>> *Alex Farioletti*
>> *415.312.1674*
>> *tcbcourier.com <http://tcbcourier.com> *
>>
>> _______________________________________________
>> OSRM-talk mailing list
>> OSRM-talk at openstreetmap.org
>> https://lists.openstreetmap.org/listinfo/osrm-talk
>>
>>
>
> _______________________________________________
> OSRM-talk mailing list
> OSRM-talk at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/osrm-talk
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/osrm-talk/attachments/20160729/62fb755d/attachment.html>


More information about the OSRM-talk mailing list