|
On 2015-04-07 16:33, Even Rouault
wrote:
A similar problem exists with GDALRasterBand::GetRasterSampleOverview(): it takes a 31-bit integer value for its 'nDesiredSamples' parameter. I've run into some 100,000×100,000-pixel images for which the first two levels of overviews would contain more than 2-billion samples.This RFC modifies the GDALRasterBand GetHistogram(), GetDefaultHistogram() and SetDefaultHistogram() methods to accept arrays of 64-bit integer instead of the current arrays of 32-bit integer for bucket counts. This will fix issues when operating on large rasters that have more than 2 billion pixels. --
Dr. Craig S. Bruce Senior Software Developer CubeWerx Inc. |
_______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
