na_extension_wkb {geoarrow}R Documentation

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"
)

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"

Value

A nanoarrow_schema.

Examples

na_extension_wkb(crs = "OGC:CRS84")
na_extension_geoarrow("POINT")


[Package geoarrow version 0.2.1 Index]