Mark lists of raw vectors as well-known binary

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

parse_wkb(x, crs = wk_crs_auto())

wk_platform_endian()

as_wkb(x, ...)

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

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

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

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

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

Arguments

x

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

crs

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

...

Unused

Value

A new_wk_wkb()

Examples

wkb(wkt_translate_wkb("POINT (20 10)"))
#> <wk_wkb[1]> #> [1] <POINT (20 10)>