ST_Polygon
This section contains reference documentation for the ST_Polygon function.
Last updated
Was this helpful?
This section contains reference documentation for the ST_Polygon function.
Last updated
Was this helpful?
Returns a geometry type polygon object from .
ST_Polygon(wkt)
These examples are based on the .
040000000100000005000000004000000000000000400000000000000040000000000000004018000000000000401800000000000040180000000000004018000000000000400000000000000040000000000000004000000000000000
040000000000000000
This function doesn't accept values that represent non polygons. It will throw an exception if passed other primitives or geometries:
To create geometry objects for non polygons, see .