geoarrow / geoarrow-rs

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

Don't panic for conversion of empty points to geo. #852

Open kylebarron opened 6 days ago

kylebarron commented 6 days ago

https://github.com/geoarrow/geoarrow-rs/blob/49fd4cbdc4bc08a2f1e0341ec7df700df18d2bdb/rust/geoarrow/src/io/geo/scalar.rs#L25

This is being moved to geo in any case: https://github.com/georust/geo/pull/1255

That has both panicking and non-panicking versions.