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

Description Usage Arguments Value Examples

View source: R/wkb.R

Description

Mark lists of raw vectors as well-known binary

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
wkb(x = list(), crs = wk_crs_auto())

parse_wkb(x, crs = wk_crs_auto())

wk_platform_endian()

as_wkb(x, ...)

## Default S3 method:
as_wkb(x, ...)

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

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

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

## S3 method for class '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

1
wkb(wkt_translate_wkb("POINT (20 10)"))

wk documentation built on March 16, 2021, 5:11 p.m.