Trait ToPolygonArray

Source
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§

Source

fn to_polygon_builder(&self, typ: PolygonType) -> Result<PolygonBuilder>

Convert to a GeoArrow PolygonBuilder

Provided Methods§

Source

fn to_polygon_array(&self, typ: PolygonType) -> Result<PolygonArray>

Convert to GeoArrow PolygonArray

Implementors§