Hello, current implementation of GDALGetRasterSampleOverview() don't work properly for big rasters over 2GB because of integer overflow.
Solutions is replace int for unsigned long at the price of API/ABI broke. best regards Marian Krivos _______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev