R: [Gdal-dev] trivial (?) optimization for gdal.i:GDALReadRaster( )

Alessandro Amici alexamici at fastwebnet.it
Thu Feb 5 07:19:28 EST 2004


[back to the list]

Vincent,

> > but, you are not going to get any speed gain WRT the current cvs. for
> > real zero-copy i had to patch some more files in non trivial and non
> > backward compatible way.
>
> I understood that. But I *am* going to have the extra numarray
> functionality, like the better array indexing support on gdal loaded raster
> arrays, I suppose?

i guess so, i'm experimenting right now.

if you want to help testing you may try out the attached patch, just define 
the environment variable GDAL_PYTHON_NUMARRAY to anything and you get 
numarray support :).

if it survives to basic testing i can put the patch into cvs.

cheers,
alessandro
-------------- next part --------------
A non-text attachment was scrubbed...
Name: numarray-experimental.diff
Type: text/x-diff
Size: 593 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/gdal-dev/attachments/20040205/1ad9fdb6/numarray-experimental.bin


More information about the Gdal-dev mailing list