geoarrow / geoarrow-rs

GeoArrow in Rust, Python, and JavaScript (WebAssembly) with vectorized geometry operations
http://geoarrow.org/geoarrow-rs/
Apache License 2.0
243 stars 14 forks source link

Remove `GeometryArray` enum and move towards use of `Arc<dyn GeometryArray>` #236

Open kylebarron opened 10 months ago

kylebarron commented 10 months ago

This aligns well with arrow-rs. Progress started in https://github.com/geoarrow/geoarrow-rs/pull/233 and https://github.com/geoarrow/geoarrow-rs/pull/235

kylebarron commented 9 months ago

For now, just move slice, with_coords, into_coord_type and owned_slice to another trait, to make GeometryArrayTrait object safe