[gdal-dev] Gdalwarp Landsat image- Segmentation fault

António Rocha antonio.rocha at deimos.com.pt
Tue May 25 07:05:57 EDT 2010


Hi

I'm trying to Warp a Landsat Geotiff band (in UTM coordinates) to a 
specific set of coordinates for Portugal, using this command:
gdalwarp -t_srs "EPSG:3763" L71203033_03320000601_B10.TIF B10.tif &>log.log

Not only the image size doesn't match, but pixel size was changed (a 
bit) and I got a segmentation error and TIFFWriteEncodedStrip and 
TIFFReadDirectory Errors.
What am I doing wrong?

This is the error log that I obtained

Creating output file that is 8229P x 7218L.
Processing input file L71203033_03320000601_B10.TIF.
0...10...20...30...40...50ERROR 1: TIFFFetchDirectory:B10.tif: Can not 
read TIFF directory count
ERROR 1: TIFFReadDirectory:Failed to read directory at offset 8
ERROR 1: TIFFWriteEncodedStrip:Must set "ImageWidth" before writing data
ERROR 1: TIFFWriteEncodedStrip:Must set "ImageWidth" before writing data
ERROR 1: TIFFWriteEncodedStrip:Must set "ImageWidth" before writing data
ERROR 1: TIFFWriteEncodedStrip:Must set "ImageWidth" before writing data
ERROR 1: TIFFWriteEncodedStrip:Must set "ImageWidth" before writing data
(..)
More than 1000 errors or warnings have been reported. No more will be 
reported from now.
...60...70...80...90...
Segmentation fault



__________ Information from ESET NOD32 Antivirus, version of virus signature database 5143 (20100525) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com




More information about the gdal-dev mailing list