Skip to main content
Create a polygon built from the given LineString and sets the spatial reference system from the srid. SQL reference: ST_Polygon

Signature

Parameters

ColumnOrName
required
Closed linestring geometry column that describes the exterior ring of the polygon.
ColumnOrNameOrNumber
required
Spatial reference system identifier.

Returns

Column
Polygon geometry column created from the input linestring.