[Gdal-dev] Transformation from UTM32 WGS84 (EPSG:32632) to latlong (EPSG:4326)

Frank Warmerdam warmerdam at pobox.com
Thu Aug 9 15:12:24 EDT 2007


shortyII wrote:
> Hello,
> it my first time using gdalwarp for transformation a GTIFF UTM32 WGS84
> (EPSG:32632) to latlong (EPSG:4326). I read a lot and tried it several times
> with different parameters, but it still doesn't work:
> 
> here the info from gdalinfo form my sourcefile
> Driver: GTiff/GeoTIFF
> Files: l0.tif
> Size is 21354, 28920
> Coordinate System is:
> LOCAL_CS["unnamed",
>     UNIT["unknown",1]]
> Origin = (32270953.125000000000000,6114921.875000000000000)
> Pixel Size = (31.250000000000000,-31.250000000000000)
> Metadata:
>   TIFFTAG_XRESOLUTION=320
>   TIFFTAG_YRESOLUTION=320
>   TIFFTAG_RESOLUTIONUNIT=3 (pixels/cm)
> Image Structure Metadata:
>   COMPRESSION=LZW
> Corner Coordinates:
> Upper Left  (32270953.125, 6114921.875)
> Lower Left  (32270953.125, 5211171.875)
> Upper Right (32938265.625, 6114921.875)
> Lower Right (32938265.625, 5211171.875)
> Center      (32604609.375, 5663046.875)

Hi,

The above coordinates are not UTM 32 meter values.  The earth is only
roughly 40 million meters around at the equator, so an x offset of
32 million meters is crazy.  Transverse Mercator rapidly degrees past about
10 degrees off the central meridian.

So, I think the problem is that the input coordinate system is not UTM 32
*or* you have the units wrong or the file was essentially screwed up by
some previous attempt to convert it to utm 32.

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    | President OSGeo, http://osgeo.org




More information about the Gdal-dev mailing list