oshdb icon indicating copy to clipboard operation
oshdb copied to clipboard

reduce impact of JTS topology exceptions

Open SlowMo24 opened this issue 4 years ago • 1 comments

If an area-of-interest polygon is given that touches a (polygonal) OSM feature that is to be returned, it sometimes causes the OSM feature to be missing in the result (see https://github.com/GIScience/ohsome-api/issues/122).

see https://github.com/GIScience/ohsome-api/issues/122 for more information

SlowMo24 avatar Feb 10 '21 20:02 SlowMo24

to summarize and clarify the bug further:

  • likely "something" caused a topology exception in JTS; potentially while performing a intersection check
  • the OSHDB API catches the exception, and ignores silently ignores the "feature" in the result

We should now:

  • [ ] investigate where exactly these topology exception occur
  • [ ] what can be done to minimize their impact on query result
  • [ ] check if upgrading to a newer version of JTS helps fixing these issues

tyrasd avatar Feb 11 '21 10:02 tyrasd

We upgraded to a newer version of JTS. Out of scope for OSHDB for now.

Hagellach37 avatar Oct 20 '22 14:10 Hagellach37