Skip to main content
Create a polygon geometry from a linestring describing the exterior ring as well as an array of linestrings describing holes. SQL reference: ST_MakePolygon

Signature

Parameters

ColumnOrName
required
Closed linestring geometry column that describes the exterior ring of the polygon.
Optional[ColumnOrName]
default:"None"
Optional column for an array of closed geometry columns that describe holes in the polygon, defaults to None.

Returns

Column
Polygon geometry column created from the input linestrings.