# S3 method for sfc
st_as_text(x, ..., EWKT = FALSE)
Arguments
x
object of class sfg, sfc or crs
...
modifiers; in particular digits can be passed to control the number of digits used
projjson
logical; if TRUE, return projjson form (requires GDAL 3.1 and PROJ 6.2), else return well-known-text form
pretty
logical; if TRUE, print human-readable well-known-text representation of a coordinate reference system
EWKT
logical; if TRUE, print SRID=xxx; before the WKT string if epsg is available
Details
The returned WKT representation of simple feature geometry conforms to the
simple features access specification and extensions
(known as EWKT, supported by PostGIS and other simple features implementations for addition of
a SRID to a WKT string).