as_geoarrow_vctr {geoarrow}R 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)")


[Package geoarrow version 0.2.1 Index]