Convert a linear WKT (Well Known Text) to the corresponding memory geometry
ST_GEOMETRYFROMTEXT( <wkt>)
| Parameters | Instructions |
|---|---|
<wkt> | The memory form of the graph |
The corresponding geometric storage form of WKB
SELECT ST_AsText(ST_GeometryFromText("LINESTRING (1 1, 2 2)"));
+---------------------------------------------------------+ | st_astext(st_geometryfromtext('LINESTRING (1 1, 2 2)')) | +---------------------------------------------------------+ | LINESTRING (1 1, 2 2) | +---------------------------------------------------------+