[gdal-dev] Removing GCPs from tiff

Goo Creations goocreations at gmail.com
Tue Apr 12 03:17:32 EDT 2011


Hi all

I've got a tiff file with a number of stored GCPs. How can I remove these
GCPs from the file?

I've tried:

 SetGCPs<http://www.gdal.org/classGDALDataset.html#3c812b05467213f05055c1f18438d874>(int
nGCPCount, const GDAL_GCP
<http://www.gdal.org/structGDAL__GCP.html>*pasGCPList, const char
*pszGCPProjection)

with the first parameter of 0, but without luck. Seems like SetGCPs only
adds the GCPs, rather than re-assigns the entire stored set.

Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20110412/9f870e88/attachment.html


More information about the gdal-dev mailing list