Open TahiraU opened 4 years ago
Wheelchair throws an OutofBounds
error on these coordinates. The reason is, that wheelchair is only available for Germany or Europe and the OutOfBounds check checks for the bounds of the entire profile graph and not only how far the coordinates are away or if the results are wrong:
So in exchange the OutOfBounds is not thrown for the foot profile because the coordinates are theoretical still inside the graph bounds (world). I'll check how we could catch and return the obviously wrong results like in the issue example properly.
Here's what I did
Request a /v2 route for matrix (profile foot walking)
Here's what I got
{"durations":[[0,0,0,0],[0,0,0,0],[0,0,0,0],[0,0,0,0]],...
Here's what I think could be improved
An error message if maximum distance limit for matrix request is exceeded