[gdal-dev] Python Bindings

Even Rouault even.rouault at mines-paris.org
Tue Apr 13 13:26:58 EDT 2010


It isn't related to your python version. Those methods SetScale() / 
SetOffset() have been added just a few days ago to the SWIG interface .i 
files. But the .cpp files haven't yet been regenerated (we normally do this 
only at release time) to take into account those additions. Provided that you 
have swig installed, it's a matter of cd'ing to swig/python; make generate; 
make install.

Le Tuesday 13 April 2010 19:01:56 Kyle Shannon, vous avez écrit :
> Hello,
> My autotest is failing in the trunk on a some tests and I can't seem to
> pinpoint the issue.  One of the tests that is failing is tiff_write_80.  I
> checked my bindings in idle and I don't have access to band.SetScale() and
> band.SetOffset() which is where the test is failing.  Am I doing something
> wrong, or were these not exposed in swig for my python version?  I noticed
> the buildbot is doing fine, but it uses Python 2.4. Thanks
> Python 2.6.4
> Ubuntu 9.10
> r19397
> # ============================
> Kyle Shannon
> Physical Science Technician
> RMRS Fire Sciences Lab
> Fire, Fuels & Smoke - RWU 4405
> 5775 Highway 10 W.
> Missoula, MT 59808
> (406)829-6954
> kshannon at fs.fed.us
> # ============================

More information about the gdal-dev mailing list