ST_PolyFromText
Signature
Description
Converts the Well Known Text wkt
into a Geometry, optionally with spatial reference id
srid
. Verifies that wkt
does in fact specify a POLYGON
.
Note: If wkt
specifies a Geometry with z-coordinates, they will be
conserved in reality but suppressed when visualizing the Geometry as WKT.
Implements the OpenGIS Simple Features Implementation Specification for
SQL version
1.2.1.
Examples
See also