[gdal-dev] Fwd: gdaladdo fails on some images

Simone Dalmasso simone.dalmasso at gmail.com
Mon Jul 5 00:36:21 PDT 2021


Dear list,
I'm running gdaladdo on some imagery, SPOT and Sentinel2.

But only on one S2 works fine, on the others stops with only "Overview
building failed".
My command is simply "gdaladdo -r nearest path".
I noticed that it will work if I specify to just up to 16 the OVR levels,
but as soon as I put 32 it fails. (as said on one S2 works fine)

GDAL version is 3.2.1, OS Focal64, the output with CPL_DEBUG ON is:

GTiff.
GTiff: ScanDirectories()
GTiff: Opened 6492x4548 overview.
GTiff: Opened 3246x2274 overview.
GTiff: Opened 1623x1137 overview.
GTiff: Opened 812x569 overview.
GTiff: Opened 406x285 overview.
GTiff: Opened 203x143 overview.
0GDAL: GDAL_CACHEMAX = 291 MB
...10...20...30...40...50...60...70...80...90...100 - done.
Overview building failed.
GDAL: Flushing dirty blocks:
0...10...20...30...40...50...60...70...80...90...100 - done.

etc etc

Thanks a lot for your support.

-- 
Simone
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20210705/d738b759/attachment.html>


More information about the gdal-dev mailing list