Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skipped segments should not count on the distance limit #814

Closed
amoncaldas opened this issue Sep 28, 2020 · 0 comments · Fixed by #871
Closed

Skipped segments should not count on the distance limit #814

amoncaldas opened this issue Sep 28, 2020 · 0 comments · Fixed by #871
Assignees

Comments

@amoncaldas
Copy link
Contributor

API returns limit exceeded error even when the whole segment is marked to be skipped.

If a segment is to be skipped, then it should not count on the distance limit.

Request
URL: https://api.openrouteservice.org/v2/directions/driving-car
body: {"coordinates":[[8.681495,49.41461],[-38.43326568603516, -12.967758119178905]],"skip_segments":[1]}

Response:
{"error":{"code":2004,"message":"Request parameters exceed the server configuration limits. The approximated route distance must not be greater than 6000000.0 meters."}}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants