MAJA icon indicating copy to clipboard operation
MAJA copied to clipboard

Bad behaviour with GDAL 3 in DTMCreation

Open EkicierNico opened this issue 5 years ago • 1 comments

Hi, Just to tell you that there is a bad behaviour with GDAL 3 (at least <= 3.0.2). In DTMCreation/tuilage_mnt_eau_S2.py, the coordinates tranformation from osr (line 104/105) returns opposite values : (y, x) instead of (x,y).

The consequence is a wrong intersection between S2 image and SRTM coordinates (wrong path of srtm file, line 118/119).

Issue from OSGEO already identified : https://github.com/OSGeo/gdal/issues/1546

For now, MAJA works fine with GDAL 2, my advice is do not update to GDAL 3 until issue is fixed.

Nicolas Ekicier

EkicierNico avatar Feb 26 '20 16:02 EkicierNico

The new version of Start_maja takes this into account already.

See: https://github.com/petket-5/Start_maja_int/commit/8ccf43a7447092c767553c12a4464422df61705c

petket-5 avatar Mar 04 '20 13:03 petket-5