[Gdal-dev] gdal_translate can now add GCPs to image, gdalwarptest renamed

Frank Warmerdam warmerdam at pobox.com
Fri Sep 19 15:30:37 EDT 2003


Folks,

I have modified gdal_translate to include a -gcp option for adding
GCPs to an image.

For instance, the following would add 4 GCPs that are sufficient to
rotate an image during the translation process.

gdal_translate -gcp 0 0 100 0 -gcp 512 0 100 100 -gcp 0 512 0 0 -gcp 512 512 0 100 ~/openev/utm.tif out.tif

Then you could use gdalwarp to warp it.

Also, I have renamed gdalwarptest to gdalwarp (the new algorithm is now
the primary warper), and gdalwarp to gdalwarpsimple.  Only gdalwarp is
built and installed by default.

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