Commit aa84b02f authored by Gaetano Raffaele's avatar Gaetano Raffaele
Browse files

FIX: GDAL3 compatibility issues.

parent 5bad1bd1
......@@ -183,7 +183,7 @@ def S1CalibOrthoWithROI(infile, outfile, roi, demfld, geoid, lut='sigma', overwr
def checkRoiInS1Acquisition(s1file, roifile):
dsv = gdal.Open(roifile)
roi_geom = getRasterExtentAsGeometry(dsv, to_wgs84=True, lat_lon=True)
roi_geom = getRasterExtentAsGeometry(dsv, to_wgs84=True)
in_geom = getS1ExtentGeometry(s1file)
isIntersecting = in_geom.Intersects(roi_geom)
dsv = None
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment