Zum Inhalt springen

Erstellt eine Geometrie aus einer WKT-Zeichenfolge (Well-Known Text).

func.st_geometryfromtext(<wkt>)
func.st_geometryfromtext('POINT (1 2)')
┌────────────┐
│ (geometry) │
└────────────┘
ST_GEOMETRYFROMTEXT(<wkt>)
SELECT ST_ASTEXT(ST_GEOMETRYFROMTEXT('POINT (1 2)'));
┌─────────────┐
│ POINT (1 2) │
└─────────────┘