Learn R Programming

geoarrow (version 0.2.0)

geoarrow_wkb: GeoArrow Types

Description

These functions provide GeoArrow type definitions as zero-length vectors.

Usage

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

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

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

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

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

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

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

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

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

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

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

Value

A geoarrow_vctr

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
geoarrow_wkb()
geoarrow_wkt()
geoarrow_point()

Run the code above in your browser using DataLab