-
Notifications
You must be signed in to change notification settings - Fork 8
Open
GIScience/oshdb
#535Labels
bugSomething isn't workingSomething isn't working
Description
Bug Description
When calling the /v1/elements/geometry/
endpoint, with the filter geometry:polygon
, the response may include MutliLines and GeometryCollections (see attached response_geometries, in particular the LineString returned in the Lütgendortmund boundary near Bövinghausen).
Our example query includes the following parameters:
'bpolys': {'type': 'FeatureCollection', 'features': [<see attached aoi>]},
'filter': 'geometry:polygon and boundary=administrative and admin_level=9',
'properties': 'tags',
'clipGeometry': 'true'
General Information
- Version of the ohsome API:
1.10.4
- Remote instance at
https://api.ohsome.org/v1
- Affected endpoint:
/elements/geometry
- URL of request:
https://api.ohsome.org/v1/elements/geometry
, body=bpolys=<see attached aoi>&filter=geometry%3Apolygon+and+boundary%3Dadministrative+and+admin_level%3D9&properties=tags&clipGeometry=True
- Used HTTP method:
POST
- Utilized tool/library:
ohsome-py==0.3.0
Expected Behaviour
The response should contain only polygons.
Further Information
Related Issues
May be related to #109
Attachments
tyrasd
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working