pub fn from_wkt<A: GenericWktArrayType>(
arr: &A,
to_type: GeoArrowType,
) -> GeoArrowResult<Arc<dyn GeoArrowArray>>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.