wk (version 0.9.1)

wkb: Mark lists of raw vectors as well-known binary

Description

Mark lists of raw vectors as well-known binary

Usage

wkb(x = list(), crs = wk_crs_auto(), geodesic = FALSE)

parse_wkb(x, crs = wk_crs_auto(), geodesic = FALSE)

wk_platform_endian()

as_wkb(x, ...)

# S3 method for default as_wkb(x, ...)

# S3 method for character as_wkb(x, ..., crs = NULL, geodesic = FALSE)

# S3 method for wk_wkb as_wkb(x, ...)

# S3 method for blob as_wkb(x, ..., crs = NULL, geodesic = FALSE)

# S3 method for WKB as_wkb(x, ..., crs = NULL, geodesic = FALSE)

Value

A new_wk_wkb()

Arguments

x

A list() of raw() vectors or NULL.

crs

A value to be propagated as the CRS for this vector.

geodesic

TRUE if edges must be interpolated as geodesics when coordinates are spherical, FALSE otherwise.

...

Unused

Examples

Run this code
as_wkb("POINT (20 10)")

Run the code above in your browser using DataLab