You could also have OSRM return geojson and encode it as polyline-6
yourself. Probably easier than maintaining a forked binary.

On Fri, Jul 29, 2016, 2:39 PM Alex Farioletti <[email protected]> wrote:

> 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 <[email protected]>
> 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 <[email protected]>
>> 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
>>> [email protected]
>>> https://lists.openstreetmap.org/listinfo/osrm-talk
>>>
>>>
>>
>> _______________________________________________
>> OSRM-talk mailing list
>> [email protected]
>> https://lists.openstreetmap.org/listinfo/osrm-talk
>>
>>
> _______________________________________________
> OSRM-talk mailing list
> [email protected]
> https://lists.openstreetmap.org/listinfo/osrm-talk
>
_______________________________________________
OSRM-talk mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/osrm-talk

Reply via email to