geoarrow-rs
geoarrow-rs copied to clipboard
Coordinate/Coordinate Array trait to support XYZM
Should presumably also have a perf boost by eliminating lots of match statements
- don't use C as the generic name as that overlaps with the name georust/geo gives to the numeric type
pseudocode from my phone:
trait Coord {
}
trait CoordArray {
type Coord;
}
struct InterleavedXYBuffer<C: Coord> {
}
struct MutableInterleavedXY
Solved in https://github.com/geoarrow/geoarrow-rs/pull/661 as part of https://github.com/geoarrow/geoarrow-rs/issues/662