Learn R Programming

geoarrow (version 0.2.0)

as_geoarrow_array: Convert an object to a GeoArrow array

Description

Convert an object to a GeoArrow array

Usage

as_geoarrow_array(x, ..., schema = NULL)

as_geoarrow_array_stream(x, ..., schema = NULL)

Value

A nanoarrow_array.

Arguments

x

An object

...

Passed to S3 methods

schema

A geoarrow extension schema to use as the target type

Examples

Run this code
as_geoarrow_array(wk::wkt("POINT (0 1)"))

Run the code above in your browser using DataLab