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

Manuel Massing gdal at warped-space.de
Wed Feb 25 14:36:45 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 behavior is the intended one, and it seems
somewhat inconsistent with other options pertaining to target format
specification (size, resolution, extent). 

It might be desirable to permit an overridden 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/825cb602/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/825cb602/gdalwarp_cpp.bin


More information about the Gdal-dev mailing list