Menu

#43 omlib: use ComputeStatistics for min max in gdal raster

open
5
2006-12-04
2006-12-04
Tim Sutton
No

When computing min max for a layer, we should not be using GetMinimum, GetMaximum calls in GDAL as they are not guaranteed to return the definitive result (they may be estimated in this case). Rather we should use ComputeStatistics:

http://www.remotesensing.org/gdal/classGDALRasterBand.html#131debfcbb9b0f87bd1a019790192802

Discussion


Log in to post a comment.