You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In cases of requests with a boundary type other than a bounding box, the ohsome API doesn't return an error message if the provided boundary parameter does not lie completely within the underlying data-extract polygon. Instead, it returns a 200 HTTP response code with response values equals to 0 or responses with an empty GeoJSON feature collection.
//edit the issue refers to only cases in which one pair coordinates (bcircles) or a single polygon (bpolys) are given. Otherwise, the ohsome API returns a 404 HTTP response code.
General Information
Version of the ohsome API: 1.4.0
Which API instance was requested: local instance with an h2 file
Utilized tool/library for the request: cURL, Swagger
Expected Behaviour
The ohsome API should return an error for every provided boundary parameter if the boundary does not lie completely within the underlying data-extract polygon.
The text was updated successfully, but these errors were encountered:
bonaparten
changed the title
No error message if the bcircles or bpolys boundaries don't lie within the underlying data-extract polygon
No error message if bcircles or bpolys boundaries don't lie within the underlying data-extract polygon
Jun 10, 2021
Bug Description
In cases of requests with a boundary type other than a bounding box, the ohsome API doesn't return an error message if the provided boundary parameter does not lie completely within the underlying data-extract polygon. Instead, it returns a 200 HTTP response code with response values equals to
0
or responses with an empty GeoJSON feature collection.//edit the issue refers to only cases in which one pair coordinates (bcircles) or a single polygon (bpolys) are given. Otherwise, the ohsome API returns a 404 HTTP response code.
General Information
1.4.0
request using bcircles
request using bbpolys
Expected Behaviour
The ohsome API should return an error for every provided boundary parameter if the boundary does not lie completely within the underlying data-extract polygon.
The text was updated successfully, but these errors were encountered: