ST_AsEWKT — Returns the Extended Well-Known Text representation (EWKT) from a geometry object.
varchar ST_AsEWKT(bytea
Geometry);
Returns the Extended Well-Known Text (EWKT) representation of a Geometry object. The EWKT format is a Postgis format that adds the Spatial Reference ID (SRID) to the OGC Well-Known Text representation (WKT).
![]() | |
The reverse function is ST_GeomFromEWKT |
| 2D | 3D | M |
|---|---|---|
![]() | ![]() | ![]() |
| OGC SFS for SQL. 1.1 (1999) | OGC SFS for SQL. 1.1.0 (2005) | OGC SFS for SQL. 1.2.0 (2006) | SQL-MM Part 3 |
|---|---|---|---|
| - | - | - | - |