[Qgis-developer] Provider native raster band stats

Tim Sutton lists at linfiniti.com
Wed Jul 6 18:47:25 EDT 2011


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 in the raster twice. This method remains, but
the providers can now supply stats themselves (heopfully using more
efficient mechanisms). I have implemented gdal native stats already.
Over the last few weeks I did some further testing and cleanups to
this work. From my testing some of my worst case files opened in
~1minute rather than ~8+ minutes. It would be great if interested
parties could test (details below) before I put it into master.

git remote add timlinux git://github.com/timlinux/Quantum-GIS.git
git fetch timlinux
git branch --track timlinux raster-stats
git checkout raster-stats

I look forward to your feedback.

Regards

-- 
Tim Sutton - QGIS Project Steering Committee Member (Release  Manager)
==============================================
Please do not email me off-list with technical
support questions. Using the lists will gain
more exposure for your issues and the knowledge
surrounding your issue will be shared with all.

Visit http://linfiniti.com to find out about:
 * QGIS programming and support services
 * Mapserver and PostGIS based hosting plans
 * FOSS Consulting Services
Skype: timlinux
Irc: timlinux on #qgis at freenode.net
==============================================


More information about the Qgis-developer mailing list