gdal
gdal copied to clipboard
Add `Rasterband::set_statistics`
- [x] I agree to follow the project's code of conduct.
- [x] I added an entry to
CHANGES.mdif knowledge of this change could be valuable to users.
This PR adds safe bindings for https://docs.rs/gdal-sys/latest/gdal_sys/fn.GDALSetRasterStatistics.html (https://gdal.org/api/gdalrasterband_cpp.html#_CPPv4N14GDALRasterBand13SetStatisticsEdddd).
I also fixed up the docs for get_statistics where a backtick was missing.
It could maybe make sense to have the method take StatisticsAll instead.