[gdal-dev] Integer error in creating bigtiff image

Doug_Newcomb at fws.gov Doug_Newcomb at fws.gov
Tue Aug 24 15:05:08 EDT 2010


Hi folks,

I'm working with someone trying to merge and reproject 1108 4 band tiff 
images into 1 BIGTIFF image.  The command line options are as follows:

 gdalwarp -s_srs EPSG:26918 -t_srs EPSG:32119 -wo 'SOURCE_EXTRA=3' -wo
 'SKIP_NOSOURCE=YES' -wm 4000 --config 'GDAL_CACHEMAX=2000' -tps -rcs
 -srcnodata '0' -of GTIFF -co 'BIGTIFF=YES' -co 'TFW=YES' -tr 1 1
 /work/lisa/utm18/*.tif
 /work/lisa/reprojected_and_merged/naip_utm18_32119.tif


The process stops with the following error:

ERROR 1: Integer overflow : nDstXSize=29400, nDstYSize=19377


The command worked fine with 33 tiff images.  The individual is using gdal 
1.7.2 on 64 bit linux.

Googling a bit and grepping the source code makes me think the problem is 
in reading the a tiff file, perhaps a badly formatted input tiff image?

I suggested that the user try smaller chunks based on latitude rather than 
the whole utem zone for the state. 

Thoughts?

Doug


Doug Newcomb 
USFWS
Raleigh, NC
919-856-4520 ext. 14 doug_newcomb at fws.gov
---------------------------------------------------------------------------------------------------------
The opinions I express are my own and are not representative of the 
official policy of the U.S.Fish and Wildlife Service or Dept. of the 
Interior.   Life is too short for undocumented, proprietary data formats.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20100824/c7121746/attachment.html


More information about the gdal-dev mailing list