[gdal-dev] Gdaladdo error
Coutu, Jean-François
COUTUJF at dfo-mpo.gc.ca
Thu Jan 24 20:48:32 EST 2008
Hi,
I am trying to build overviews for 100+ geotiff and tiff files.
Gdaladdo only screws up on a handful.
Can anyone tell me what is wrong with my files?
I have: GDAL 1.5.0b1, FWTools 2.0.3, released 2007/12/10
Here is the error I get:
------------------------
gdaladdo -r average 1965_04_07_Prince_Rupert_PK00893_PK05204.TIF 2 4 8 16
0...10...20...30...40...50...60...70...80...90...100 - done.
Assertion failed: tif->tif_flags&TIFF_BIGTIFF, file tif_dirwrite.c, line 2027
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
-------------------------
Here is gdalinfo output before and after:
-------------------------
Driver: GTiff/GeoTIFF
Files: 1965_04_07_Prince_Rupert_PK00893_PK05204.TIF
1965_04_07_Prince_Rupert_PK00893_PK05204.aux
Size is 7800, 12100
Coordinate System is:
PROJCS["unnamed",
GEOGCS["NAD83",
DATUM["North_American_Datum_1983",
SPHEROID["GRS 1980",6378137,298.2572221010002,
AUTHORITY["EPSG","7019"]],
AUTHORITY["EPSG","6269"]],
PRIMEM["Greenwich",0],
UNIT["degree",0.0174532925199433],
AUTHORITY["EPSG","4269"]],
PROJECTION["Transverse_Mercator"],
PARAMETER["latitude_of_origin",0],
PARAMETER["central_meridian",-129],
PARAMETER["scale_factor",0.9996],
PARAMETER["false_easting",500000],
PARAMETER["false_northing",0],
UNIT["metre",1,
AUTHORITY["EPSG","9001"]],
AUTHORITY["EPSG","26909"]]
Origin = (416530.000000000000000,6021255.000000000000000)
Pixel Size = (0.100000000000000,-0.100000000000000)
Metadata:
AREA_OR_POINT=Area
TIFFTAG_IMAGEDESCRIPTION=ORTHO: LL XY: 416530.000 6020045.000 PIXELS: 0.10 0.10 ROT: 0.00
TIFFTAG_SOFTWARE=Adobe Photoshop CS Windows
TIFFTAG_DATETIME=2007:08:28 22:22:19
TIFFTAG_XRESOLUTION=72
TIFFTAG_YRESOLUTION=72
TIFFTAG_RESOLUTIONUNIT=2 (pixels/inch)
Image Structure Metadata:
INTERLEAVE=BAND
Corner Coordinates:
Upper Left ( 416530.000, 6021255.000) (130d17'1.20"W, 54d19'56.30"N)
Lower Left ( 416530.000, 6020045.000) (130d16'59.98"W, 54d19'17.17"N)
Upper Right ( 417310.000, 6021255.000) (130d16'18.03"W, 54d19'56.76"N)
Lower Right ( 417310.000, 6020045.000) (130d16'16.82"W, 54d19'17.62"N)
Center ( 416920.000, 6020650.000) (130d16'39.01"W, 54d19'36.96"N)
Band 1 Block=7800x1 Type=Byte, ColorInterp=Gray
Metadata:
LAYER_TYPE=athematic
<GDALRasterAttributeTable/>
----------------------------------
After:
----------------------------------
ERROR 1: 1965_04_07_Prince_Rupert_PK00893_PK05204.TIF:No space to read TIFF dire
ctory
ERROR 1: TIFFReadDirectory:Failed to read directory at offset 127257924
gdalinfo failed - unable to open '1965_04_07_Prince_Rupert_PK00893_PK05204.TIF'.
-----------------------------------
Thanks!
------------------------------------------------------------------------
Jean-Francois Coutu
Canadian Coast Guard
coutujf at dfo dash mpo dot gc dot ca
"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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20080124/c2355bc3/attachment.html
More information about the gdal-dev
mailing list