Convert a geometric figure to a representation of WKT (Well Known Text)
ST_ASTEXT( <geo>)
| Parameters | Instructions |
|---|---|
<geo> | The graph that needs to be converted |
The WKT representation of the geometry:
SELECT ST_AsText(ST_Point(24.7, 56.7));
+---------------------------------+ | st_astext(st_point(24.7, 56.7)) | +---------------------------------+ | POINT (24.7 56.7) | +---------------------------------+