powered by
create sfc object from tiny well-known binary (twkb)
# S3 method for TWKB st_as_sfc(x, ...)
list with raw vectors, of class TWKB
TWKB
ignored
https://github.com/TWKB/Specification/blob/master/twkb.md
l = structure(list(as.raw(c(0x02, 0x00, 0x02, 0x02, 0x02, 0x08, 0x08))), class = "TWKB") library(sf) # load generic st_as_sfc(l)
Run the code above in your browser using DataLab