Closed netthier closed 2 months ago
CHANGES.md
This PR adds safe bindings for https://docs.rs/gdal-sys/latest/gdal_sys/fn.GDALFillRaster.html (https://gdal.org/api/gdalrasterband_cpp.html#classGDALRasterBand_1a55bf20527df638dc48bf25e2ff26f353) The C++ API has a default value for the dfImaginaryValue param which is missing from the C API, so I reintroduced via an Option+.unwrap_or. Let me know if this isn't acceptable. I also haven't tested that parameter, as I'm unsure how to read it back.
dfImaginaryValue
Option
.unwrap_or
I should probably add docs about the default imaginary value too...
I ran cargo fmt against it, CI shouldn't fail anymore (I hope).
cargo fmt
[x] I added an entry to
CHANGES.md
if knowledge of this change could be valuable to users.This PR adds safe bindings for https://docs.rs/gdal-sys/latest/gdal_sys/fn.GDALFillRaster.html (https://gdal.org/api/gdalrasterband_cpp.html#classGDALRasterBand_1a55bf20527df638dc48bf25e2ff26f353) The C++ API has a default value for the
dfImaginaryValue
param which is missing from the C API, so I reintroduced via anOption
+.unwrap_or
. Let me know if this isn't acceptable. I also haven't tested that parameter, as I'm unsure how to read it back.