Re: [gdal-dev] some problem in python bindings

2010-05-20 Thread Ari Jolma
Howard Butler wrote: On May 20, 2010, at 7:48 AM, Vincent Schut wrote: svn and I don't remember this happening earlier), there is a problem with the python swig bindings when doing this: data = gdal_array.BandReadAsArray(gdal.Open(filename).GetRasterBand(1)) This is a consequence of th

Re: [gdal-dev] some problem in python bindings

2010-05-20 Thread Howard Butler
On May 20, 2010, at 7:48 AM, Vincent Schut wrote: > Hi, > > since some time (I don't know exactly since when, but I regularly update gdal > from svn and I don't remember this happening earlier), there is a problem > with the python swig bindings when doing this: > > data = gdal_array.BandRead

[gdal-dev] some problem in python bindings

2010-05-20 Thread Vincent Schut
Hi, since some time (I don't know exactly since when, but I regularly update gdal from svn and I don't remember this happening earlier), there is a problem with the python swig bindings when doing this: data = gdal_array.BandReadAsArray(gdal.Open(filename).GetRasterBand(1)) instead of this: