Opened 15 years ago
Closed 15 years ago
#3046 closed defect (duplicate)
GDALDataset::BuildOverviews crashes for large images
Reported by: | rsoconnor | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | default | Version: | unspecified |
Severity: | normal | Keywords: | |
Cc: |
Description
GDALDataset::BuildOverviews will crash if the resulting OVR file is going to be bigger than 4GB.
Change History (2)
comment:1 by , 15 years ago
comment:2 by , 15 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Support for BigTIFF overviews (> 4 GB then) has been added only in trunk (GDAL 1.7.0dev). See ticket #2785.
I've tested with GDAL 1.6.1 and internal libtiff to create a 5 GB overview and I don't get a crash, but libtiff errors of course. Perhaps the crash is due to older gdal/libtiff.
gdaladdo -ro /media/disk/5GB.tiff 1 0...10...20...30...40...50...60...70...80..ERROR 1: TIFFAppendToStrip:Maximum TIFF file size exceeded ERROR 1: TIFFAppendToStrip:Maximum TIFF file size exceeded ERROR 1: TIFFAppendToStrip:Maximum TIFF file size exceeded ERROR 1: TIFFAppendToStrip:Maximum TIFF file size exceeded ERROR 1: TIFFAppendToStrip:Maximum TIFF file size exceeded ERROR 1: TIFFAppendToStrip:Maximum TIFF file size exceeded ERROR 1: TIFFAppendToStrip:Maximum TIFF file size exceeded
Note:
See TracTickets
for help on using tickets.
With which version of GDAL ? Is it compiled with internal libtiff or external libtiff ? Could you give an output of gdalinfo on your source dataset and the gdaladdo command that triggers the crash?