id summary reporter owner description type status priority milestone component version severity resolution keywords cc 4576 GDALRasterBand::ComputeStatistics() does not always call SetStatistics() bgp2000 warmerdam "The documentation says: ""Once computed, the statistics will generally be 'set' back on the raster band using SetStatistics()."", yet if the block (bApproxOK && GetOverviewCount() > 0 && !HasArbitraryOverviews()) evaluates to true, that is not the case. This might be a feature(not writing approximate data to the file) but it depends on how ""generally"" is interpreted. It seems rather arbitrary not to save the data in this case. At least the documentation could be clearer." defect closed normal closed_because_of_github_migration default unspecified normal wontfix