[gdal-dev] gdal swig python ReadAsArray limit
Jared Rubin
JARED.RUBIN at saic.com
Thu Oct 30 20:12:00 EDT 2008
GDAL community,
I am using the python bindings to gdal. I am unable to read a whole
NITF image that is 25600x19200 and UInt16 in one call to ReadAsArray
I end up getting a core dump. I can open smaller size images.
Does gdal have a size limit on the python/numpy interface?
inSet = gdal.OpenShared(args[0])
buf = inSet.GetRasterBand(1).ReadAsArray()
I am using
numpy-1.0.4
swig-1.3.29
python-2.4.4
gdal-1.5.0
thanks
Jared
More information about the gdal-dev
mailing list