Skip to main content
This function converts the input geometry into a GeometryCollection, regardless of the original geometry type. If the input is a multipart geometry, such as a MultiPolygon or MultiLineString, it will be decomposed into a GeometryCollection containing each individual Polygon or LineString element from the original multipart geometry. ST_ForceCollection

Signatures

Parameters

geom
Geometry
required
The input geometry.

Return type

The resulting geometry.

Example