Skip to content

Error: Querying the ohsome API failed! The defined bpolys parameter contains some invalid geometry #933

@matthiasschaub

Description

@matthiasschaub

Request:
https://ohsome.org/apps/dashboard-test/#backend=oqtApi&topic=land-cover&adminids=-62550%2C-47608&indicators=land-cover-completeness

Error Message:

Sorry, we were unable to process your query!
OhsomeApiError
Querying the ohsome API failed! The defined bpolys parameter contains some invalid geometry: found non-noded intersection between LINESTRING ( 7.065792 52.241233, 7.059722 52.245102 ) and LINESTRING ( 7.061772 52.243796, 7.063702 52.242565 ) [ (7.063327579995698, 52.24280381400274, NaN) ]

Reason:
Two adjacent boundaries with admin levels are selected. One of those admin levels has a simplified geometry. The other not. This leads to a slight overlap. During unification of those two geometries by the dashboard, an invalid geometry gets created. Note that it is not always the case that an invalid geometry is created while unifying overlapping geometries.

Related ohsome-dashboard Issue:
GIScience/ohsome-dashboard#72

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingupstreamIssue or feature request related to an upstream dependency (e.g. ohsome API)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions