[gdal-dev] bigtiff support maybe not working

Margherita Di Leo diregola at gmail.com
Mon Jul 16 07:07:26 PDT 2012


Hi,

I need to make a mosaic with gdalwarp using a lot of large files (ASTER
GDEM, Europe coverage). For this, I need the bigtiff support, but I'm not
sure it is working properly.
Here is my work flow:

# RES=0:00:01
RES=0.000278
BIGTIFF="-co BIGTIFF=YES"
# GDAL cache in megabytes
CACHE="--config GDAL_CACHEMAX 8000 -wm 8000"

LIST=""
for i in `cat /home/leomarg/Desktop/aster/elenco_aster_europa_riga`;do
LIST="$LIST $i"; done
gdalwarp $CACHE $BIGTIFF -srcnodata -9999 -dstnodata -9999 -r bilinear -tr
$RES $RES $LIST mosaik_$RES.tif

I get the following error:

[...]

ERROR 1: Integer overflow : nDstXSize=49460, nDstYSize=70144
Processing input file ASTGTM_N55E011_dem_lzw.tif.
ERROR 1: Integer overflow : nDstXSize=49460, nDstYSize=70144
Processing input file ASTGTM_N55E012_dem_lzw.tif.
ERROR 1: Integer overflow : nDstXSize=49460, nDstYSize=70144
More than 1000 errors or warnings have been reported. No more will be
reported from now.

[...]

So, it looks like the bigtiff support is not working properly. I'm on Red
Hat 64 bit and compiled gdal 1.9.1 from source, with the following
configure:

./configure --with-libtiff=internal -with-geotiff=internal

What am I missing? And, how can I check if the bigtiff support is active in
my gdal installation?

TIA,

-- 
Dr. Margherita Di Leo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20120716/59522d82/attachment.html>


More information about the gdal-dev mailing list