Learn R Programming

geoarrow (version 0.2.0)

na_extension_wkb: Extension type definitions for GeoArrow extension types

Description

Extension type definitions for GeoArrow extension types

Usage

na_extension_wkb(crs = NULL, edges = "PLANAR")

na_extension_wkt(crs = NULL, edges = "PLANAR")

na_extension_large_wkb(crs = NULL, edges = "PLANAR")

na_extension_large_wkt(crs = NULL, edges = "PLANAR")

na_extension_geoarrow( geometry_type, dimensions = "XY", coord_type = "SEPARATE", crs = NULL, edges = "PLANAR" )

Value

A nanoarrow_schema.

Arguments

crs

An object representing a CRS. For maximum portability, it should implement wk::wk_crs_projjson().

edges

One of "PLANAR" or "SPHERICAL".

geometry_type

One of "POINT", "LINESTRING", "POLYGON", "MULTIPOINT", "MULTILINESTRING", "MULTIPOLYGON".

dimensions

One of "XY", "XYZ", "XYM", or "XYZM"

coord_type

One of "SEPARATE" or "INTERLEAVED"

Examples

Run this code
na_extension_wkb(crs = "OGC:CRS84")
na_extension_geoarrow("POINT")

Run the code above in your browser using DataLab