Feature request #5903

For raster data store min-max in the project file

Added by Luca Casagrande over 12 years ago. Updated almost 9 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Rasters
Pull Request or Patch supplied:No Resolution:fixed/implemented
Easy fix?:No Copied to github as #:15351

Description

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

History

#1 Updated by Pirmin Kalberer about 12 years ago

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

#2 Updated by Médéric RIBREUX almost 9 years 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 ?

#3 Updated by Médéric RIBREUX almost 9 years ago

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

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 PDF