You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TheGreatRefrigerator
changed the title
alternative_routes togeather with extra_info will provide wrong extra_info
alternative_routes together with extra_info will provide wrong extra_info
Mar 17, 2020
Here's what I did
request to
https://api.openrouteservice.org/v2/directions/driving-car/geojson
body:
using alternative_routes and some
extra_info
value.Here's what I got
The waypoint number the extra info index refers to (34+) is out of bounds of the coordinates array for the current route (32 points).
The
extras
response property for each route contain the segments of all 3 routes if the coordinate arrays of all routes would be merged.Here's what I was expecting
extras objects should only contain the segments of the route they are placed in.
Here's what I think could be improved
Tests for newly implemented parameters that also cover using the new parameter with existing parameters.
The text was updated successfully, but these errors were encountered: