infer_geoarrow_schema {geoarrow}R Documentation

Infer a GeoArrow-native type from a vector

Description

Infer a GeoArrow-native type from a vector

Usage

infer_geoarrow_schema(x, ..., promote_multi = TRUE, coord_type = NULL)

Arguments

x

An object from which to infer a schema.

...

Passed to S3 methods.

promote_multi

Use TRUE to return a MULTI type when both normal and MULTI elements are in the same array.

coord_type

Specify the coordinate type to use if returning

Value

A nanoarrow_schema

Examples

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


[Package geoarrow version 0.2.1 Index]