Closed felixcremer closed 4 months ago
This widens the dispatch of the read! and rasterio! functions so that the buffer can be an AbstractArray instead of a normal Array. This will allow to also read into for example views or other array wrapper types like PermuteDimsArrays.
read!
rasterio!
This would close #410. It will also close https://github.com/rafaqz/Rasters.jl/issues/596
Should we also widen the buffer type for the write! functions?
The failure on Julia nightly is due to a change in Julia Base removing length from Iterators.Stateful which is already reported in DiskArrays see https://github.com/meggart/DiskArrays.jl/issues/142.
This widens the dispatch of the
read!
andrasterio!
functions so that the buffer can be an AbstractArray instead of a normal Array. This will allow to also read into for example views or other array wrapper types like PermuteDimsArrays.This would close #410. It will also close https://github.com/rafaqz/Rasters.jl/issues/596
Should we also widen the buffer type for the write! functions?