You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I guess we should change the read_as and read_into_slice methods to use GDALRasterIOEx. It would be great if you could provide a PR for this. You could have a look at GdalOpenEx in dataset.rs for an example.
At the moment, to read a raster into a slice you are using GDALRasterIO, which doesn't provide a way to select a resampling algorithm.
If I'm not mistaken, GDALRasterIOEx has an extra option which could be used to do that.
Is there any way to pass a sampling algorithm (GDALRIOResampleAlg) to
read_as
orread_into_slice
?I tried to implement my own
read_into_slice
function butRasterBand.c_rasterband
is private and I'm not sure how to proceed.Cheers!
The text was updated successfully, but these errors were encountered: