:sparkles: Support reading uint/int/float dtypes
Add support on the Rust side for reading u8/u16/u32/u64/i8/i16/i32/i64/f32/f64 dtypes via a num_traits::FromPrimitive bound. Different dtypes can be selected via the turbofish operator e.g. by calling `.ndarray::<u16>()`. Added a unit test to check that reading a uint16 tif file works.
d152e51
2 months ago
by weiji14
0%
:memo: Tick off multi-dtype support in roadmap and update timeline
Took longer than expected, but support for reading multiple dtypes finally landed (albeit only in the Rust bindings). Stretched out the timeline in the roadmap further into the future, and mentioning aiocogeo-rs under related crates.
3e737d0
2 months ago
by weiji14
0%
:memo: Document how to set output dtype using turbofish operator
Show how the turbofish operator (e.g. `::<f32, _>`) can be used to set the output dtype from the `read_geotiff` function. Mention all supported dtypes in crate-level docs at src/lib.rs.