as_geoarrow_array: Convert an object to a GeoArrow array

View source: R/array.R

as_geoarrow_arrayR Documentation

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)

Arguments

x

An object

...

Passed to S3 methods

schema

A geoarrow extension schema to use as the target type

Value

A nanoarrow_array.

Examples

as_geoarrow_array(wk::wkt("POINT (0 1)"))


paleolimbot/geoarrow documentation built on April 17, 2025, 11:30 p.m.