ST_GeomFromEWKT — Return a specified Geometry from a Extended Well-Known Text representation (EWKT)
geometry ST_GeomFromEWKT(
varchar
EWKT)
;
Return a specified Geometry from a Extended Well-Known Text representation (EWKT). The EWKB 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_AsEWKT |
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 |
---|---|---|---|
- | - | - | - |
SELECT ST_GeomFromEWKT('SRID=25830;POINT(5 5)') as Point; --Result point -------------------------------------------------------------------------------------- \011 \200\346d\000\000\001\000\000\000\000\000\000\024@\000\000\000\000\000\000\024@ (1 row)
SELECT ST_GeomFromEWKT('SRID=25830;POINT(5 5)') as Point; --Result POINT 092080e66400000100000000000014400000000000001440