[Gdal-dev] Problems reading georeferenced tiff

Asger Sigurd Petersen ASP at blominfo.dk
Fri May 11 07:24:45 EDT 2007


Dear list,

 

I have a tiff with a corresponding tfw file that I would like to warp,
but I get the following error:

 

C:\gdalwarp" -of GTiff  2007-007_310_0702.tif 2007-007_310_0702-wrp.tif

Creating output file that is 12632P x 13728L.

Processing input file 2007-007_310_0702.tif.

Using band 4 of source image as alpha.

Using band 4 of destination image as alpha.

:0...10...20...30ERROR 5: Access window out of range in RasterIO().
Requested

(5081,8284) of size 4611x0 on raster of 11500x7500.

 

The weird part is that if I first gdaltranslate the tiff file into a
jpeg file and copy the world file accordingly, the jpeg file can then be
warped without any problems.

 

The world file is affine (please see below), but isn't that supposed to
work?

 

Contents of tfw file:

-0.0580130855113511

0.0865058993441255

0.0864889964619341

0.0580244710214436

566559.382041782

6287306.42380057

 

I'm on winxp and I have tried fwtools 1.2.3 and 1.3.0.

 

Best regards

Asger

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20070511/44910b00/attachment.html


More information about the Gdal-dev mailing list