st_as_text: Return Well-known Text representation of simple feature geometry or coordinate reference system
Description
Return Well-known Text representation of simple feature geometry or coordinate reference system
Usage
st_as_text(x, ...)
"st_as_text"(x, ...)
"st_as_text"(x, ..., EWKT = FALSE)
"st_as_text"(x, ..., pretty = FALSE)
Arguments
x
object of class sfg
, sfc
or crs
EWKT
logical; if TRUE, print SRID=xxx; before the WKT string if epsg is available
pretty
logical; if TRUE, print human-readable well-known-text representation of a coordinate reference system
Details
to suppress printing of SRID, EWKT=FALSE
can be passed as parameter