as_geoarrow_array {geoarrow} | R Documentation |
Convert an object to a GeoArrow array
as_geoarrow_array(x, ..., schema = NULL)
as_geoarrow_array_stream(x, ..., schema = NULL)
x |
An object |
... |
Passed to S3 methods |
schema |
A geoarrow extension schema to use as the target type |
as_geoarrow_array(wk::wkt("POINT (0 1)"))