[Gdal-dev] Reproject from UTM 32N (EPSG:25832) to WGS 86 (EPSG:4326)

Frank Warmerdam warmerdam at pobox.com
Wed Jan 31 15:08:07 EST 2007


Johannes Buehler wrote:
> Hello,
> trying to reproject a GeoTIFF file  from UTM 32N (EPSG:25832) to WGS 86 
> (EPSG:4326) i get the following error
> 
> gdalwarp -co TFW=YES -co TILED=YES -co BLOCKXSIZE=512 -co BLOCKYSIZE=512 
> -co COMPRESS=LZW -s_srs EPSG:25832 -t_srs EPSG:4326 l0.tif l_wgs.tif

Johannes,

I took a look at l0.tif and the gdalinfo report gives these bounds:

Upper Left  (32629997.500, 5794997.500)
Lower Left  (32629997.500, 5789997.500)
Upper Right (32634997.500, 5794997.500)
Lower Right (32634997.500, 5789997.500)
Center      (32632497.500, 5792497.500)

Eastings of 32629997m do not look like plausible UTM eastings to me.

It seems that the projection transformation fails on these locations
because they are invalid.

I'd suggest looking into the accuracy of the world files, or whether
you are really using the right coordinate system.

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