This function calls osgeo.ogr.Geometry.Intersects() fuctions. When we use the attached geojson, Intersects() function actually write out error to stderr. But Intersects() function returns True and does not even throw an exception.
We need to detect any errors that come out of that library and raise an exception
What did you expect?
n/t
Reproducible steps
Specify this geojson as the georegion in filter when running R2 historical processing. You may need to query 100s of SLC granules until running into this case.
The stderr will read something like:
ERROR 1: TopologyException: side location conflict at -180 70
Checked for duplicates
Yes - I've already checked
Describe the bug
This function calls
osgeo.ogr.Geometry.Intersects()
fuctions. When we use the attached geojson,Intersects()
function actually write out error to stderr. ButIntersects()
function returnsTrue
and does not even throw an exception.We need to detect any errors that come out of that library and raise an exception
What did you expect?
n/t
Reproducible steps
Specify this geojson as the georegion in filter when running R2 historical processing. You may need to query 100s of SLC granules until running into this case.
The stderr will read something like:
ERROR 1: TopologyException: side location conflict at -180 70
Environment