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
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,