[QGIS-trac] [Quantum GIS] #3735: GDAL stats not used
Quantum GIS
qgis at qgis.org
Thu Apr 14 07:24:30 EDT 2011
#3735: GDAL stats not used
--------------------------------+-------------------------------------------
Reporter: rblazek | Owner: rblazek
Type: bug | Status: new
Priority: minor: annoyance | Milestone: Version 1.7.0
Component: Rasters | Version: Trunk
Keywords: | Platform_version:
Platform: All | Must_fix: No
Status_info: 0 |
--------------------------------+-------------------------------------------
I'm not sure if this behavior is expected or I am missing something.
I have a 1 band raster dataset (an elevation DEM) in TIF format. It has
statistics computed from "gdalinfo -stats mydata.tif" However, when I
open
it in QGIS (both 1.6 and 1.7 trunk), and look at the Metadata tab in Layer
properties, there are two sections that contain band stats information.
The
first section is labeled "Band 1" and lists the same stats as found using
gdalinfo. The second section is labeled "Band" and says "No stats
collected
yet" for band 1. QGIS has to create the stats when I apply a color map or
stretch. For large rasters, this takes a while, and must be done each
time
it's used in QGIS.
Has anyone experienced this behavior? Is this expected? Is there a way
to
let gdal compute all the stats that QGIS needs? Thanks.
reported: http://lists.osgeo.org/pipermail/qgis-
user/2011-March/011550.html
--
Ticket URL: <http://trac.osgeo.org/qgis/ticket/3735>
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