GIScience / GIScience/ohsome-dashboard

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

Open
#72 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
20
Forks
3
Avg merge
4d 16h
Merged PRs (30d)
7

Description

**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-quality-api Issue:**
https://github.com/GIScience/ohsome-quality-api/issues/933

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.