[Gdal-dev] gdalwarp for north-up rotation seems to eat geo information

Frank Warmerdam warmerdam at pobox.com
Thu Jun 7 23:11:29 EDT 2007


Dan Rizzo wrote:
> The problems as I see it are:
> 1) the coordinate system is gone in the output
> 2) the geo transform info is gone (including pixel scale and coordinate 
> system offset)
> 3) the corners are now expressed in pixel values (because of #2?)
> 4) all the metadata name/value pairs are gone
> 
> I tried many other variations, including specifying the target SRS 
> values, and the source and target SRS, but I must confess I'm not sure I 
> got this exactly right:
> 
> gdalwarp -s_srs "+proj=latlong +datum=WGS84" -t_srs "+proj=latlong 
> +datum=WGS84" -multi in.tif out.tif

Dan,

The behavior you are seeing is surprising to me.  I'd like to suggest you
try reproducing the problem with a small input file using FWTools 1.3.1.
If you can reproduce it there, then file an appropriate bug report against
GDAL, otherwise we can try to isolate what the differences are.

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