[gdal-dev] gdalwarp query

Frank Warmerdam warmerdam at pobox.com
Tue Jan 19 11:58:51 EST 2010


SriRam.PrasadBhasker at rmsi.com wrote:
> Hi.
> 
> GDAL Warp generates a Resampled Output Image along with a TFW for a
> provided set of GCP's
> 
> My question is .. is there any Parameter by which we keep the raw image
> untouched & generate only the TFW.
> 
> By Adjusting the TFW parameters we can position the raw image @
> geopositioned Location..
> 
> Any guidance would help immensely.

Bhasker,

In the C API there is a function GDALGCPsToGeoTransform() which can be used
to compute an approximate geotransform for a set of GCPs. This could then
be written to a world file.

There is no mechanism I am aware of in the swig API or with user tools to
do this.

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    | Geospatial Programmer for Rent



More information about the gdal-dev mailing list