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

Blanket traits for broadcast implementation

Open kylebarron opened this issue 1 year ago • 1 comments

Right now we duplicate implementations for geoarrow and geo scalars. Instead, since we own these traits, we should implement blanket implementations on scalars for anything that implements the geometry trait.

kylebarron avatar Nov 20 '23 16:11 kylebarron

In the short term, until georust adopts traits for its algorithms, this would need a conversion from PointTrait to geo::Point, and from LineStringTrait to geo::LineString, so that the implementation could convert the input scalar to a geo scalar for use in the function

kylebarron avatar Nov 21 '23 05:11 kylebarron