Closed FinnStutzenstein closed 4 years ago
Request more routes in the matrix service than maximum_routes, e.g. 51 points.
maximum_routes
I've got an error: Request parameters exceed the server configuration limits. Only a total of 2601 routes are allowed.
Request parameters exceed the server configuration limits. Only a total of 2601 routes are allowed.
The error should contain the correct amount of maximum routes, not what the user has given. In my case 2500.
Fix the error message here:
https://github.com/GIScience/openrouteservice/blob/d1e158a96f1f8053c16f5d60c49772d8c4ccf784/openrouteservice/src/main/java/org/heigit/ors/api/requests/matrix/MatrixRequestHandler.java#L107
Yep, absolutely! Do I smell a PR? :innocent:
I can do this later :)
Here's what I did
Request more routes in the matrix service than
maximum_routes
, e.g. 51 points.Here's what I got
I've got an error:
Request parameters exceed the server configuration limits. Only a total of 2601 routes are allowed.
Here's what I was expecting
The error should contain the correct amount of maximum routes, not what the user has given. In my case 2500.
Here's what I think could be improved
Fix the error message here:
https://github.com/GIScience/openrouteservice/blob/d1e158a96f1f8053c16f5d60c49772d8c4ccf784/openrouteservice/src/main/java/org/heigit/ors/api/requests/matrix/MatrixRequestHandler.java#L107