from_wkt

Function from_wkt 

Source
pub fn from_wkt<A>(
    arr: &A,
    to_type: GeoArrowType,
) -> Result<Arc<dyn GeoArrowArray>, GeoArrowError>
Expand description

Parse a GenericWktArray or WktViewArray to a GeoArrowArray with the designated GeoArrowType.

Note that the GeoArrow metadata on the new array is taken from to_type not the original array. Ensure you construct the GeoArrowType with the correct metadata.