
Last chance! 50% off unlimited learning
Sale ends in
st_as_sfc(x, ...)
"st_as_sfc"(x, ...)
"st_as_sfc"(x, ...)
"st_as_sfc"(x, ...)
"st_as_sfc"(x, ..., forceMulti = FALSE)
"st_as_sfc"(x, ..., forceMulti = FALSE)
"st_as_sfc"(x, ..., EWKB = FALSE)
TRUE
, force coercion into MULTIPOLYGON
or MULTILINE
objects, else autodetectx
is either a character vector such as typically obtained from PostGIS (either with leading "0x" or without), or a list with raw vectors representing the features in binary form.
wkb = structure(list("01010000204071000000000000801A064100000000AC5C1441"), class = "WKB")
st_as_sfc(wkb, EWKB = TRUE)
wkb = structure(list("0x01010000204071000000000000801A064100000000AC5C1441"), class = "WKB")
st_as_sfc(wkb, EWKB = TRUE)
Run the code above in your browser using DataLab