I have a problem with SetGCPs method in GDAL python binding. My gdal version is 1.6.3.
Seems impossible assigns the passed set of GCPs to dataset: newdataset.SetGCPs(ngcp, newgcp, gcpProjection) Where: - ngcp = Number of GCP - newgcp = New gcp list - gcpProjection = Gcp projection I have this error code: /usr/lib/python2.5/site-packages/osgeo/gdal.pyc in SetGCPs(self, *args) 584 def SetGCPs(self, *args): 585 """SetGCPs(self, int nGCPs, char pszGCPProjection) -> CPLErr""" --> 586 return _gdal.Dataset_SetGCPs(self, *args) 587 588 def FlushCache(self, *args): TypeError: Dataset_SetGCPs() takes exactly 3 arguments (4 given) Is a bug or error in the sample code? Greets, Giuseppe -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Bug-in-SetGCPs-method-of-GDALDataset-class-tp5269103p5269103.html Sent from the GDAL - Dev mailing list archive at Nabble.com. _______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev