Constructs a geometry collection from a list of geometry values.
All of the supplied geometry values must have the same SRID, and
the geometry collection is constructed with this common SRID.
All of the supplied geometry values must have the same answer for Is3D and IsMeasured.
The geometry collection is 3D if all of the geometry values are 3D,
and the geometry collection is measured if all of the geometry values are measured.
Note
By default, ST_GeomCollection uses the original format for a geometry, if it is available. Otherwise, the internal format
is used. For more information about internal and original formats, see STORAGE FORMAT clause, CREATE SPATIAL REFERENCE SYSTEM statement.