Function to convert closed linestring to polygon including holes. If holes are provided, they should be fully contained within the shell. Holes outside the shell will produce an invalid polygon (matching PostGIS behavior). UseDocumentation Index
Fetch the complete documentation index at: https://docs.wherobots.com/llms.txt
Use this file to discover all available pages before exploring further.
ST_IsValid to check the result.
Signatures
Parameters
The input geometry.
The holes value.
Return type
The resulting geometry.

