Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.wherobots.com/llms.txt

Use this file to discover all available pages before exploring further.

Returns TRUE if the geometry type of the input is a geometry collection type. Collection types are the following:
  • GEOMETRYCOLLECTION
  • MULTI
ST_IsCollection

Signatures

ST_IsCollection(geom: Geometry)

Parameters

geom
Geometry
required
The input geometry.

Return type

Returns true or false.

Examples

SELECT ST_IsCollection(ST_GeomFromText('MULTIPOINT ((0 0), (6 6))'))
true
SELECT ST_IsCollection(ST_GeomFromText('POINT(5 5)'))
false