[Gdal-dev] [patch] gdalwarp: use existing destination file spatial reference set

Manuel Massing m.massing at warped-space.de
Wed Feb 25 13:34:12 EST 2004


Hello,

I just wanted to suggest the attached patch to apps/gdalwarp.cpp. Currently,
gdalwarp does not honor the spatial reference set of an existing destination 
file. I'm not sure if this behaviour is the intended one, and somewhat
inconsistent with other options pertaining to target format specification 
(size, resolution, extent). 

It might be desirable to permit an overriden specification of the target
spatial reference, though. If you feel this is the case, I'll post a revised 
patch.

BTW, also attached is a tiny bugfix for alg/gdalwarper.cpp :-)

cheers,

	Manuel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gdalwarper_cpp.patch
Type: text/x-diff
Size: 632 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/gdal-dev/attachments/20040225/9d188eed/gdalwarper_cpp.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gdalwarp_cpp.patch
Type: text/x-diff
Size: 2669 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/gdal-dev/attachments/20040225/9d188eed/gdalwarp_cpp.bin


More information about the Gdal-dev mailing list