ST_GEOMETRYFROMTEXT (Lakehouse v2)
Creates a geometry from a WKT (Well-Known Text) string.
Analyze Syntax
Section titled “Analyze Syntax”func.st_geometryfromtext(<wkt>)Analyze Examples
Section titled “Analyze Examples”func.st_geometryfromtext('POINT (1 2)')
┌────────────┐│ (geometry) │└────────────┘SQL Syntax
Section titled “SQL Syntax”ST_GEOMETRYFROMTEXT(<wkt>)SQL Examples
Section titled “SQL Examples”SELECT ST_ASTEXT(ST_GEOMETRYFROMTEXT('POINT (1 2)'));
┌─────────────┐│ POINT (1 2) │└─────────────┘