Hi,
I have installed GDAL 1.8.1 to use the python bindings. I note that if I
pass a slice of an array to ReadRaster for the (x,y) pixel location, I get a
TypeError:
TypeError: in method 'Dataset_ReadRaster1', argument 2 of type 'int'

If I surround the offending slice by int( x ) and int(y), it works fine.
Somehow, I think the wrapper (ReadRaster1) should also take 1-element slices
which are integers.

Jose
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to