OK, so the issue was related on the GDAL 3.0.2 not able to read raster spatial reference, downgraded my installation to 2.4.1 GDAL and the the code: translateoptions = gdal.TranslateOptions(gdal.ParseCommandLine("-co TILED=YES -co COMPRESS=JPEG -co JPEG_QUALITY=100 -a_nodata none -co INTERLEAVE=BAND -scale -ot Byte")) gdal.Translate(out_img, in_ds, options=translateoptions)
Worked just fine, Thank you, Laurynas On Thu, Oct 22, 2020 at 1:25 PM Laurynas Gedminas < laurynasgedmi...@gmail.com> wrote: > Here are the correct posts links: > > I am using the Python GDAL 3.0.2, > facing the issue with the gdal.translate, posted question here as well: > https://stackoverflow.com/questions/64484225/gdal-translate-with-projection > > and this person seems to have the same issue: > > https://stackoverflow.com/questions/61342237/gdal-translate-missing-spatial-reference-system > > Thank you, > Laurynas > > On Thu, Oct 22, 2020 at 11:15 AM Laurynas Gedminas < > laurynasgedmi...@gmail.com> wrote: > >> I am using the Python GDAL 3.0.2, >> facing the issue with the gdal.translate, posted question here as well: >> >> https://stackoverflow.com/questions/64484225/gdal-translate-with-projection >> >> and this person seems to have the same issue: >> >> https://stackoverflow.com/questions/64484225/gdal-translate-with-projection >> >> Thank you, >> Laurynas Gedminas >> >
_______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev