as_geoarrow_vctr: GeoArrow encoded arrays as R vectors

View source: R/vctr.R

as_geoarrow_vctrR Documentation

GeoArrow encoded arrays as R vectors

Description

GeoArrow encoded arrays as R vectors

Usage

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

Arguments

x

An object that works with as_geoarrow_array_stream(). Most spatial objects in R already work with this method.

...

Passed to as_geoarrow_array_stream()

schema

An optional schema (e.g., na_extension_geoarrow()).

Value

A vctr of class 'geoarrow_vctr'

Examples

as_geoarrow_vctr("POINT (0 1)")


geoarrow documentation built on June 22, 2024, 9:28 a.m.