Learn R Programming

geoarrow (version 0.2.0)

as_geoarrow_vctr: GeoArrow encoded arrays as R vectors

Description

GeoArrow encoded arrays as R vectors

Usage

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

Value

A vctr of class 'geoarrow_vctr'

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()).

Examples

Run this code
as_geoarrow_vctr("POINT (0 1)")

Run the code above in your browser using DataLab