In the case where someone supplies a point to the watershed API that lies exactly on the boundary between cells, such as a whole number latitude or longitude, it's not clear which grid cell to use as the mouth of the watershed, which can make quite a large difference to the result.
@jameshiebert suggests a solution:
I'd propose that a simple resolution to this issue would consist of not allowing requests on cell boundaries. E.g. if the incoming request coordinate falls on a cell boundary, respond with an HTTP 400 Bad Request error (and an explanatory message).
In the case where someone supplies a point to the watershed API that lies exactly on the boundary between cells, such as a whole number latitude or longitude, it's not clear which grid cell to use as the mouth of the watershed, which can make quite a large difference to the result.
@jameshiebert suggests a solution: