id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc
3889,gdal_translate -scale doesn't update metadata,giohappy,warmerdam,"I've noticed that scaling the values of a raster through gdal_translate -scale option doesn't update the grid metadata values.

I've run:

{{{
gdal_translate -scale 0.01 2.09 -a_nodata -99999 
}}}
 
Tha raster has been correctly reclassified to 0-255 values but gdalconfig still shows the original values range:

{{{
Min=0.012 Max=2.093
Minimum=0.012, Maximum=2.093, Mean=0.794, StdDev=0.090
NoData Value=0
Metadata:
  STATISTICS_MINIMUM=0.011922454461455
  STATISTICS_MAXIMUM=2.0925054550171
  STATISTICS_MEAN=0.79358366752425
  STATISTICS_STDDEV=0.090106991043695
}}}",defect,closed,normal,1.8.0,GDAL_Raster,svn-trunk,normal,fixed,metadata scale,
