Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

st_as_sfc.TWKB

create sfc object from tiny well-known binary (twkb)


Description

create sfc object from tiny well-known binary (twkb)

Usage

## S3 method for class 'TWKB'
st_as_sfc(x, ...)

Arguments

x

list with raw vectors, of class TWKB

...

ignored

See Also

https://github.com/TWKB/Specification/blob/master/twkb.md

Examples

l = structure(list(as.raw(c(0x02, 0x00, 0x02, 0x02, 0x02, 0x08, 0x08))), class = "TWKB")
library(sf) # load generic
st_as_sfc(l)

lwgeom

Bindings to Selected 'liblwgeom' Functions for Simple Features

v0.2-6
GPL-2
Authors
Edzer Pebesma [aut, cre] (<https://orcid.org/0000-0001-8049-7069>), Colin Rundel [ctb], Andy Teucher [ctb], liblwgeom developers [cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.