<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Gdaladdo error</TITLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.3199" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2>Hi,</FONT> </DIV>
<P><FONT face=Arial size=2>I am trying to build overviews for 100+ geotiff and
tiff files. </FONT><BR><FONT face=Arial size=2>Gdaladdo only screws up on a
handful.</FONT> <BR><FONT face=Arial size=2>Can anyone tell me what is wrong
with my files? </FONT></P>
<P><FONT face=Arial size=2>I have: GDAL 1.5.0b1, FWTools 2.0.3, released
2007/12/10</FONT> </P>
<P><FONT face=Arial size=2>Here is the error I get:</FONT> </P>
<P><FONT face=Arial size=2>------------------------</FONT> <BR><FONT face=Arial
size=2>gdaladdo -r average 1965_04_07_Prince_Rupert_PK00893_PK05204.TIF 2 4 8
16</FONT> <BR><FONT face=Arial
size=2>0...10...20...30...40...50...60...70...80...90...100 - done.</FONT>
<BR><FONT face=Arial size=2>Assertion failed:
tif->tif_flags&TIFF_BIGTIFF, file tif_dirwrite.c, line 2027</FONT> </P>
<P><FONT face=Arial size=2>This application has requested the Runtime to
terminate it in an unusual way.</FONT> <BR><FONT face=Arial size=2>Please
contact the application's support team for more information.</FONT> <BR><FONT
face=Arial size=2>-------------------------</FONT> </P>
<P><FONT face=Arial size=2>Here is gdalinfo output before and after:</FONT> </P>
<P><FONT face=Arial size=2>-------------------------</FONT> <BR><FONT face=Arial
size=2>Driver: GTiff/GeoTIFF</FONT> <BR><FONT face=Arial size=2>Files:
1965_04_07_Prince_Rupert_PK00893_PK05204.TIF</FONT> <BR><FONT face=Arial
size=2>
1965_04_07_Prince_Rupert_PK00893_PK05204.aux</FONT> <BR><FONT face=Arial
size=2>Size is 7800, 12100</FONT> <BR><FONT face=Arial size=2>Coordinate System
is:</FONT> <BR><FONT face=Arial size=2>PROJCS["unnamed",</FONT> <BR><FONT
face=Arial size=2> GEOGCS["NAD83",</FONT> <BR><FONT face=Arial
size=2>
DATUM["North_American_Datum_1983",</FONT> <BR><FONT face=Arial
size=2>
SPHEROID["GRS 1980",6378137,298.2572221010002,</FONT> <BR><FONT face=Arial
size=2>
AUTHORITY["EPSG","7019"]],</FONT> <BR><FONT face=Arial
size=2>
AUTHORITY["EPSG","6269"]],</FONT> <BR><FONT face=Arial
size=2> PRIMEM["Greenwich",0],</FONT>
<BR><FONT face=Arial size=2>
UNIT["degree",0.0174532925199433],</FONT> <BR><FONT face=Arial
size=2>
AUTHORITY["EPSG","4269"]],</FONT> <BR><FONT face=Arial size=2>
PROJECTION["Transverse_Mercator"],</FONT> <BR><FONT face=Arial
size=2> PARAMETER["latitude_of_origin",0],</FONT> <BR><FONT
face=Arial size=2> PARAMETER["central_meridian",-129],</FONT>
<BR><FONT face=Arial size=2>
PARAMETER["scale_factor",0.9996],</FONT> <BR><FONT face=Arial
size=2> PARAMETER["false_easting",500000],</FONT> <BR><FONT
face=Arial size=2> PARAMETER["false_northing",0],</FONT>
<BR><FONT face=Arial size=2> UNIT["metre",1,</FONT> <BR><FONT
face=Arial size=2>
AUTHORITY["EPSG","9001"]],</FONT> <BR><FONT face=Arial size=2>
AUTHORITY["EPSG","26909"]]</FONT> <BR><FONT face=Arial size=2>Origin =
(416530.000000000000000,6021255.000000000000000)</FONT> <BR><FONT face=Arial
size=2>Pixel Size = (0.100000000000000,-0.100000000000000)</FONT> <BR><FONT
face=Arial size=2>Metadata:</FONT> <BR><FONT face=Arial size=2>
AREA_OR_POINT=Area</FONT> <BR><FONT face=Arial size=2>
TIFFTAG_IMAGEDESCRIPTION=ORTHO: LL XY: 416530.000 6020045.000 PIXELS: 0.10 0.10
ROT: 0.00</FONT> <BR><FONT face=Arial size=2> TIFFTAG_SOFTWARE=Adobe
Photoshop CS Windows</FONT> <BR><FONT face=Arial size=2>
TIFFTAG_DATETIME=2007:08:28 22:22:19</FONT> <BR><FONT face=Arial size=2>
TIFFTAG_XRESOLUTION=72</FONT> <BR><FONT face=Arial size=2>
TIFFTAG_YRESOLUTION=72</FONT> <BR><FONT face=Arial size=2>
TIFFTAG_RESOLUTIONUNIT=2 (pixels/inch)</FONT> <BR><FONT face=Arial size=2>Image
Structure Metadata:</FONT> <BR><FONT face=Arial size=2>
INTERLEAVE=BAND</FONT> <BR><FONT face=Arial size=2>Corner Coordinates:</FONT>
<BR><FONT face=Arial size=2>Upper Left ( 416530.000, 6021255.000)
(130d17'1.20"W, 54d19'56.30"N)</FONT> <BR><FONT face=Arial size=2>Lower
Left ( 416530.000, 6020045.000) (130d16'59.98"W,
54d19'17.17"N)</FONT> <BR><FONT face=Arial size=2>Upper Right (
417310.000, 6021255.000) (130d16'18.03"W, 54d19'56.76"N)</FONT> <BR><FONT
face=Arial size=2>Lower Right ( 417310.000, 6020045.000) (130d16'16.82"W,
54d19'17.62"N)</FONT> <BR><FONT face=Arial
size=2>Center ( 416920.000, 6020650.000)
(130d16'39.01"W, 54d19'36.96"N)</FONT> <BR><FONT face=Arial size=2>Band 1
Block=7800x1 Type=Byte, ColorInterp=Gray</FONT> <BR><FONT face=Arial
size=2> Metadata:</FONT> <BR><FONT face=Arial size=2>
LAYER_TYPE=athematic</FONT> <BR><FONT face=Arial
size=2><GDALRasterAttributeTable/></FONT> </P>
<P><FONT face=Arial size=2>----------------------------------</FONT> </P>
<P><FONT face=Arial size=2>After:</FONT> </P>
<P><FONT face=Arial size=2>----------------------------------</FONT> </P>
<P><FONT face=Arial size=2>ERROR 1:
1965_04_07_Prince_Rupert_PK00893_PK05204.TIF:No space to read TIFF dire</FONT>
<BR><FONT face=Arial size=2>ctory</FONT> <BR><FONT face=Arial size=2>ERROR 1:
TIFFReadDirectory:Failed to read directory at offset 127257924</FONT> <BR><FONT
face=Arial size=2>gdalinfo failed - unable to open
'1965_04_07_Prince_Rupert_PK00893_PK05204.TIF'.</FONT> </P>
<P><FONT face=Arial size=2>-----------------------------------</FONT> </P>
<P><FONT face=Arial size=2>Thanks!</FONT> </P>
<P><FONT face=Arial
size=2>------------------------------------------------------------------------</FONT>
<BR><FONT face=Arial size=2>Jean-Francois Coutu</FONT> <BR><FONT face=Arial
size=2>Canadian Coast Guard</FONT> <BR><FONT face=Arial size=2>coutujf at dfo
dash mpo dot gc dot ca</FONT> </P>
<P><FONT face=Arial size=2>"The fate of the Universe is a decision yet to be
made, one which we will intelligently consider when the time is right" -R.
Kurzweil</FONT></P><BR></BODY></HTML>