Convert an object to a GeoArrow array
Arguments
- x
An object
- ...
Passed to S3 methods
- schema
A geoarrow extension schema to use as the target type
Examples
as_geoarrow_array(wk::wkt("POINT (0 1)"))
#> <nanoarrow_array geoarrow.wkt{string}[1]>
#> $ length : int 1
#> $ null_count: int 0
#> $ offset : int 0
#> $ buffers :List of 3
#> ..$ :<nanoarrow_buffer validity<bool>[0][0 b]> ``
#> ..$ :<nanoarrow_buffer data_offset<int32>[2][8 b]> `0 11`
#> ..$ :<nanoarrow_buffer data<string>[11 b]> `POINT (0 1)`
#> $ dictionary: NULL
#> $ children : list()