Thank you Even!
--Messaggio originale--
Da: Even Rouault
A: gdal-dev@lists.osgeo.org
Cc: Diego Gnesi
Oggetto: Re: [gdal-dev] ReadAsArray: putting data in an already existent array
Inviato: 23 mar 2013 20:41
Le vendredi 22 mars 2013 18:47:49, Diego Gnesi Bartolani a écrit :
> Hi,
>
> I
Le vendredi 22 mars 2013 18:47:49, Diego Gnesi Bartolani a écrit :
> Hi,
>
> I'm programming in Python and I need to "scan" a large image with GDAL
> reading n rows at the time. I'm using the ReadAsArray method, but every
> time I execute it I get a new array. I think this solution consumes a
Hi Diego,
I haven't checked this out, but my guess is that you should make a
(python)list of the arrays if you need to keep them. If you don't need to
keep them, you might try to del(ete) myarray before the next ReadAsArray
call.
Of course there is a lower level function which accepts an address a
Hi,
I have prepared a GDAL/OGR 1.10 second beta release.
http://download.osgeo.org/gdal/gdal-1.10.0beta2.tar.gz
The NEWS for the release can be found at the top of:
http://svn.osgeo.org/gdal/trunk/gdal/NEWS
As usual, you are kindly invited to test and report (ideally with patches)
anythin