pub trait ToPolygonArray {
// Required method
fn to_polygon_builder(&self, typ: PolygonType) -> Result<PolygonBuilder>;
// Provided method
fn to_polygon_array(&self, typ: PolygonType) -> Result<PolygonArray> { ... }
}
Available on crate feature
geozero
only.Expand description
GeoZero trait to convert to GeoArrow PolygonArray.
Required Methods§
Sourcefn to_polygon_builder(&self, typ: PolygonType) -> Result<PolygonBuilder>
fn to_polygon_builder(&self, typ: PolygonType) -> Result<PolygonBuilder>
Convert to a GeoArrow PolygonBuilder
Provided Methods§
Sourcefn to_polygon_array(&self, typ: PolygonType) -> Result<PolygonArray>
fn to_polygon_array(&self, typ: PolygonType) -> Result<PolygonArray>
Convert to GeoArrow PolygonArray