[Gdal-dev] gdalwarp: bad output header?

Michael Tan mdtanxp at myrealbox.com
Fri Apr 11 17:47:04 EDT 2003


Hi-

I am trying to reproject a UTM GeoTIFF to an LatLon GeoTIFF. gdalwarp
seems to do it, but does not seem to produce a correct header (which I
need to determine the lat-lon coords for the corners).

Here's my output:

> gdalwarp --version
GDAL 1.1.8.0, released 2002/12/21

> gdalwarp -t_srs "+proj=latlong +datum=WGS84" p174r38_5t870814_nn2.tif
ll2.tif
Creating output file is that 8659P x 7325L.
:0...10...20...30...40...50...60...70...80...90...100 - done.

> gdalinfo ll2.tif

Driver: GTiff/GeoTIFF
Size is 8659, 7325
Coordinate System is `'
Corner Coordinates:
Upper Left  (    0.0,    0.0)
Lower Left  (    0.0, 7325.0)
Upper Right ( 8659.0,    0.0)
Lower Right ( 8659.0, 7325.0)
Center      ( 4329.5, 3662.5)
Band 1 Block=8659x1 Type=Byte, ColorInterp=Gray

>

Am I doing something wrong?

Thanks.
Michael





More information about the Gdal-dev mailing list