Osrm-backend: Is there possible to use polyline6 as coordinates in request?

Created on 5 Jun 2017  路  2Comments  路  Source: Project-OSRM/osrm-backend

Hello, is there possible to use polyline6 as coordinates in request.
Let's take a look at example

My coordinates:

[[40.714701, -73.990171], [40.717571, -73.991801], [40.715651, -73.985751]]

Polyline5:
polyline.encode([[40.714701, -73.990171], [40.717571, -73.991801], [40.715651, -73.985751]],5); = {aowFperbM}PdI~Jyd@

https://router.project-osrm.org/route/v1/car/polyline(%7BaowFperbM%7DPdI~Jyd@)?annotations=false&continue_straight=true&geometries=polyline6&overview=false&steps=true - polyline5 works

Polyline6:
polyline.encode([[40.714701, -73.990171], [40.717571, -73.991801], [40.715651, -73.985751]],6); = y{_tlAt`_clCkrDzdB~vBcyJ
https://router.project-osrm.org/route/v1/car/polyline6(y%7B_tlAt%60_clCkrDzdB~vBcyJ)?annotations=false&continue_straight=true&geometries=polyline6&overview=false&steps=true - polyline6 doesn't work

Polylines were built by https://npm.runkit.com/polyline

Is this way valid?
Thank you

Feature Request

Most helpful comment

Polyline6 got implemented during the last year in the response - having it as an option in the request URL probably makes sense, too. It's not supported at the moment.

Here's what needs to be done:

All 2 comments

Polyline6 got implemented during the last year in the response - having it as an option in the request URL probably makes sense, too. It's not supported at the moment.

Here's what needs to be done:

Thank you, @gardster

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Bardo-Konrad picture Bardo-Konrad  路  3Comments

AliKarami picture AliKarami  路  3Comments

ryanbishop12 picture ryanbishop12  路  4Comments

MouadSb picture MouadSb  路  3Comments

rachha picture rachha  路  4Comments