Re: [Qgis-developer] Provider native raster band stats

2011-08-05 Thread Etienne
@lists.osgeo.org Qgis-developer@lists.osgeo.org Sent: Thursday, August 4, 2011 4:40:52 AM Subject: Re: [Qgis-developer] Provider native raster band stats Hi On Wed, Aug 3, 2011 at 7:38 PM, Etienne etienne...@yahoo.com wrote: Hi, I'm glad I can help! 1) regarding the histogram caching: GDAL does

Re: [Qgis-developer] Provider native raster band stats

2011-08-04 Thread Tim Sutton
:56 AM Subject: Re: [Qgis-developer] Provider native raster band stats Hi Again By the way is there a handy way to get the histogram from the aux.xml too? I see it is stored there but haven't figured out how to retrieve it from cache again. - Original Message - From: Tim Sutton li

Re: [Qgis-developer] Provider native raster band stats

2011-08-03 Thread Etienne
: Qgis-developer@lists.osgeo.org Qgis-developer@lists.osgeo.org Sent: Wednesday, August 3, 2011 6:00:56 AM Subject: Re: [Qgis-developer] Provider native raster band stats Hi Again By the way is there a handy way to get the histogram from the aux.xml too? I see it is stored there but havent figured

Re: [Qgis-developer] Provider native raster band stats

2011-08-03 Thread Martin Dobias
On Wed, Aug 3, 2011 at 7:38 PM, Etienne etienne...@yahoo.com wrote: 3) regarding the progress bar: Do you have sufficient authority to ask the GDAL folks to change the prototype for GDALGetRasterStatistics() and GetStatistics() for them to include a progress call-back?  I could make a patch

Re: [Qgis-developer] Provider native raster band stats

2011-08-02 Thread Etienne
] Provider native raster band stats Hi On Mon, Jul 11, 2011 at 5:29 PM, Marco Hugentobler marco.hugentob...@sourcepole.ch wrote: Hi Tim I'm not a raster guru, but the changes look good to me. +1 for merging. Thanks for your feedback Marco. I guess I'll write some unit tests (wrong way around

Re: [Qgis-developer] Provider native raster band stats

2011-07-11 Thread Marco Hugentobler
Hi Tim I'm not a raster guru, but the changes look good to me. +1 for merging. Regards, Marco Am Donnerstag, 7. Juli 2011, 00.47:25 schrieb Tim Sutton: Hi During the Lisbon hackfest (between all those meetings!) I worked on updating the raster providers to be able to generate stats

[Qgis-developer] Provider native raster band stats

2011-07-06 Thread Tim Sutton
Hi During the Lisbon hackfest (between all those meetings!) I worked on updating the raster providers to be able to generate stats themselves. The raster provider base class has a default (and historically inefficient as we all know) implementation for collecting stats by walking over every cell