Name

st_geomfromtext — Parses the string and returns the corresponding geometry.

Synopsis

st_geomfromtext ( in string varchar );

Description

Parses the string and returns the corresponding geometry. The string is to be in well known text representation (WKT).

Parameters

string

String for the corresponding geometry to be extracted from.

Return Types

Returns any.

Examples

Example24.143.Simple Use

SQL>SELECT st_geomfromtext ('point (10.03 30.01)', 2000);
callret
VARCHAR
__________________________________
 POINT(10.03 30.01)
No. of rows in result: 1