Return Well-known Text representation of simple feature geometry or coordinate reference system
Arguments
- x
object of class
sfg
,sfc
, orsf
- digits
integer; number of decimal digits to print
- ...
ignored
- EWKT
logical; use PostGIS Enhanced WKT (includes srid)
Details
The returned WKT representation of simple feature geometry conforms to the
simple features access specification and extensions (if EWKT = TRUE
),
known as EWKT, supported by
PostGIS and other simple features implementations for addition of SRID to a WKT string.
st_asewkt()
returns the Well-Known Text (WKT) representation of
the geometry with SRID meta data.