geoarrow_array/capacity/
mod.rs

1//! Counters for managing buffer lengths for each geometry array type.
2//!
3//! The most memory-efficient way to construct an array from a set of geometries is to make a
4//! first pass over these geometries to count exactly how big each underlying buffer of the Arrow
5//! array must be, allocate _once_ for exactly what you need, and then fill those buffers in a
6//! second pass. Capacity counters help with this process.
7
8mod geometry;
9mod geometrycollection;
10mod linestring;
11mod mixed;
12mod multilinestring;
13mod multipoint;
14mod multipolygon;
15mod point;
16mod polygon;
17mod wkb;
18
19pub use geometry::GeometryCapacity;
20pub use geometrycollection::GeometryCollectionCapacity;
21pub use linestring::LineStringCapacity;
22pub(crate) use mixed::MixedCapacity;
23pub use multilinestring::MultiLineStringCapacity;
24pub use multipoint::MultiPointCapacity;
25pub use multipolygon::MultiPolygonCapacity;
26pub use polygon::PolygonCapacity;
27pub use wkb::WkbCapacity;