Skip to main content
Function to create a polygon built from the given LineString and sets the spatial reference system from the srid ST_Polygon

Signatures

Parameters

geom
Geometry
required
The input geometry.
srid
Integer
required
Spatial Reference Identifier.

Return type

The resulting geometry.

Example