[QGIS-trac] Re: [Quantum GIS] #3735: GDAL stats not used

Quantum GIS qgis at qgis.org
Sat Apr 16 03:58:50 EDT 2011


#3735: GDAL stats not used
-------------------------------------+--------------------------------------
        Reporter:  rblazek           |         Owner:  rblazek      
            Type:  bug               |        Status:  reopened     
        Priority:  minor: annoyance  |     Milestone:  Version 1.7.0
       Component:  Rasters           |       Version:  Trunk        
      Resolution:                    |      Keywords:               
Platform_version:                    |      Platform:  All          
        Must_fix:  No                |   Status_info:  0            
-------------------------------------+--------------------------------------

Comment(by rouault):

 To the best of my knowledge, the implementation of
 GDALComputeRasterStatistics() has not been modified significantly in the
 last few GDAL versions. Just a few fixes here or there to ignore nodata
 values when computing the statistics. If you want exact stats (at the
 expense of a slower computation of course since GDAL needs to examine all
 pixels), you have to set the bApproxOK parameter to FALSE.

-- 
Ticket URL: <http://trac.osgeo.org/qgis/ticket/3735#comment:6>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats


More information about the QGIS-trac mailing list