PostGIS  3.4.0dev-r@@SVN_REVISION@@
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Pages

◆ PG_FUNCTION_INFO_V1() [14/97]

PG_FUNCTION_INFO_V1 ( LWGEOM_collect_garray  )

collect_garray ( GEOMETRY[] ) returns a geometry which contains all the sub_objects from all of the geometries in given array.

Returns
geometry is the simplest possible, based on the types of the collected objects ie. if all are of either X or multiX, then a multiX is returned bboxonly types are treated as null geometries (no sub_objects)