Documentation Home
MySQL 9.0 Reference Manual
Related Documentation Download this Manual
PDF (US Ltr) - 40.0Mb
PDF (A4) - 40.1Mb
Man Pages (TGZ) - 259.0Kb
Man Pages (Zip) - 366.2Kb
Info (Gzip) - 4.0Mb
Info (Zip) - 4.0Mb


13.4.2.8 GeometryCollection Class

AGeomCollection is a geometry that is a collection of zero or more geometries of any class.

GeomCollection andGeometryCollection are synonymous, withGeomCollection the preferred type name.

All the elements in a geometry collection must be in the same spatial reference system (that is, in the same coordinate system). There are no other constraints on the elements of a geometry collection, although the subclasses ofGeomCollection described in the following sections may restrict membership. Restrictions may be based on:

  • Element type (for example, aMultiPoint may contain onlyPoint elements)

  • Dimension

  • Constraints on the degree of spatial overlap between elements