powered by
Return Well-known Text representation of simple feature geometry or coordinate reference system
st_as_text(x, ...)# S3 method for sfg st_as_text(x, ...)# S3 method for sfc st_as_text(x, ..., EWKT = FALSE)# S3 method for crs st_as_text(x, ..., pretty = FALSE)
# S3 method for sfg st_as_text(x, ...)
# S3 method for sfc st_as_text(x, ..., EWKT = FALSE)
# S3 method for crs st_as_text(x, ..., pretty = FALSE)
object of class sfg, sfc or crs
sfg
sfc
crs
passed on to WKT_name
logical; if TRUE, print SRID=xxx; before the WKT string if epsg is available
logical; if TRUE, print human-readable well-known-text representation of a coordinate reference system
to suppress printing of SRID, EWKT=FALSE can be passed as parameter
EWKT=FALSE
st_as_text(st_point(1:2))
Run the code above in your browser using DataLab