Open boldtrn opened 7 years ago
Just an addition to the above. Somehow the isochrone is too likely to return just bad request IMHO. For example this request is placed over water, so no isochrones are found. Instead of telling the user about that you just get Bad Request:
When requesting isochrones, there seems to be a lower bound for the time_limit. If I want to request isochrones below a certain level, I just get "Bad request" but no hint what is wrong. Not sure why this happens, we should at least document it. Maybe even return a explanatory exception.
OK: https://graphhopper.com/api/1/isochrone?point=-33.827141,%20151.188251&key=[MY_KEY]&time_limit=60
Bad request: https://graphhopper.com/api/1/isochrone?point=-33.827141,%20151.188251&key=[MY_KEY]&time_limit=59
OK: https://graphhopper.com/api/1/isochrone?point=51.131108%2C12.414551&key=[MY_KEY]&time_limit=115
Bad request: https://graphhopper.com/api/1/isochrone?point=51.131108%2C12.414551&key=[MY_KEY]&time_limit=114