Re: [gdal-dev] Reading a single pixel from multiple bands at the same time in python

2010-02-24 Thread Ivan Lucena
numpy Array as in ReadAsArray(), but that is easy to convert using numpy.fromstring(). Regards, Ivan > ---Original Message--- > From: Frank Warmerdam > To: Benjamin Welton > Cc: gdal-dev@lists.osgeo.org > Subject: Re: [gdal-dev] Reading a single pixel from multip

Re: [gdal-dev] Reading a single pixel from multiple bands at the same time in python

2010-02-23 Thread Frank Warmerdam
Benjamin Welton wrote: Hey, Iv got a question on whether or not its possible to read a single pixel value from multiple bands using one GDAL call in python? The file working with is an ENVI BIP file that has a large number of bands (around 1000) and im looking for a way to reduce the pytho

[gdal-dev] Reading a single pixel from multiple bands at the same time in python

2010-02-23 Thread Benjamin Welton
Hey, Iv got a question on whether or not its possible to read a single pixel value from multiple bands using one GDAL call in python? The file working with is an ENVI BIP file that has a large number of bands (around 1000) and im looking for a way to reduce the python overhead by only maki