Feature request #5903

For raster data store min-max in the project file

Added by Luca Casagrande almost 5 years ago. Updated about 1 year ago.

Status:Closed Start Date:06/29/2012
Priority:Normal Due date:
Assigned to:- % Done:

100%

Category:Rasters
Target version:Future Release - Nice to have
Platform: Resolution:fixed/implemented
Platform version: Pull Request or Patch supplied:No
Status info: Tag:

Description

If we store the min and the max values for raster data in the project file, shouldn't this speed up loading?

History

Updated by Pirmin Kalberer over 4 years ago

  • Target version changed from Version 2.0.0 to Future Release - Nice to have

Updated by Médéric RIBREUX over 1 year ago

  • Status changed from Open to Feedback

Hello, bug triage...

in QGIS 2.13 master, when I save a raster, it seems that min/max values are stored in the project file like this:

 <contrastEnhancement>
            <minValue>0.0029597</minValue>
            <maxValue>52.835</maxValue>
            <algorithm>StretchToMinimumMaximum</algorithm>
 </contrastEnhancement>

Those values can be changed manually (in the raster properties) but it seems that they are used by QGIS on raster loading.

Do you think we can close this bug or is there anything else to store ?

Updated by Médéric RIBREUX about 1 year ago

  • Status changed from Feedback to Closed
  • % Done changed from 0 to 100
  • Resolution set to fixed/implemented

Hello, bug triage...

I am closing this feature request for lack of feedback and because it seems to be implemented at least in QGIS master.

Feel free to reopen it if I have missed something !

Also available in: Atom