geoarrow / geoarrow-rs

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

Implement parsing for WKBGeometryCollection #786

Closed kylebarron closed 4 days ago

kylebarron commented 1 week ago

WKBGeometryCollection exists but is not yet implemented.

https://github.com/geoarrow/geoarrow-rs/blob/b5e339aab74d802f4d4ec0f9e94f524b629b5c4d/src/io/wkb/reader/geometry_collection.rs#L5

Probably the best way to handle this is for WKBGeometryCollection to hold a Vec<WKBGeometry>, so each constituent geometry has been pre-parsed. So WKBGeometryCollection::new would go through each of the geometry parts and construct a WKBGeometry.