Open
Description
Use Case Description
Too large bpolys can overcharge the ohsome api depending on its settings (e.g. with a 3MB geojson of 900 polygons with an avg of 109 vertices). Sending this request will (after some time) return the following "error":
"status": "200,\n \"error\" : \"OK\""
"message": "java.lang.OutOfMemoryError\",\n \"path\" : \"/elements/geom"
This message is confusing (error and OK at the same time) and does not help the user how to overcome this issue or what went wrong.
Request Description
The returned message should be improved, even though it may not be cause by the ohsome-api itself but by the used framework.
ohsome-py logs: errorOnLargeBuffer.zip