[gdal-dev] Gdalwarp Landsat image- Segmentation fault

Frank Warmerdam warmerdam at pobox.com
Tue May 25 09:20:10 EDT 2010


António Rocha wrote:
> 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) 

António,

A change of image and pixel size is to be expected when reprojecting
and letting the software create the output file.

and I got a segmentation error and TIFFWriteEncodedStrip and
> TIFFReadDirectory Errors.

This is not expected and I'm quite surprised that it seems to have
happened half way through a not terribly large file.  Perhaps that is
when the block cache got full, and information started getting written.

What sort of build of the software are you using?  Version, operating
system, built yourself?   Are you using an internal copy of libtiff or
inside libgdal or an external libtiff?  By any chance might your disk
be full?

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent



More information about the gdal-dev mailing list