[gdal-dev] Bug in SetGCPs method of GDALDataset class??

2010-07-08 Thread vizziello
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 p

Re: [gdal-dev] Bug in SetGCPs method of GDALDataset class??

2010-07-08 Thread Chaitanya kumar CH
Giuseppe, Sorry for the confusion but the Python interface doesn't need the first argument, the number of GCPs. Examples: http://trac.osgeo.org/gdal/browser/trunk/autotest/gcore/tiff_write.py#L236 http://trac.osgeo.org/gdal/browser/trunk/autotest/warp/warp.py#L695 On Thu, Jul 8, 2010 at 2:24 PM,