geoarrow-rs icon indicating copy to clipboard operation
geoarrow-rs copied to clipboard

Coordinate/Coordinate Array trait to support XYZM

Open kylebarron opened this issue 2 years ago • 1 comments

Should presumably also have a perf boost by eliminating lots of match statements

kylebarron avatar Aug 02 '23 21:08 kylebarron

  • 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

kylebarron avatar Aug 04 '23 02:08 kylebarron

Solved in https://github.com/geoarrow/geoarrow-rs/pull/661 as part of https://github.com/geoarrow/geoarrow-rs/issues/662

kylebarron avatar Aug 27 '24 02:08 kylebarron