alpa wrote > Hi All, > > .... > > I run gdal_translate first as follows: > > gdal_translate -outsize 50% 50% -co TILED=YES -co COMPRESS=JPEG -co > PHOTOMETRIC=YCBCR /tmp/T34WEB_20181015T104021_TCI_10m.jp2 > ~/T34WEB_20181015T104021_TCI_10m.jp2.ovr_geosolutions_jkak --config > GDAL_SKIP JP2OpenJPEG > ....... > > If I produce the overview file "on the fly" with gdaladdo I get a good > overview file instead: > > gdaladdo -ro --config COMPRESS_OVERVIEW JPEG --config PHOTOMETRIC_OVERVIEW > YCBCR --config > INTERLEAVE_OVERVIEW PIXEL T34WEB_20181015T104021_TCI_10m.jp2 2 4 8 16 32 > 64 128
Hi, Did you skip the OpenJPEG driver by setting the environment variable for your gdaladdo test? If you didn't you are probably comparing gdal_translate with Kakadu driver vs. gdaladdo with OpenJPEG driver. -Jukka Rahkonen- -- Sent from: http://osgeo-org.1560.x6.nabble.com/GDAL-Dev-f3742093.html _______________________________________________ gdal-dev mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/gdal-dev
