Documentation Home
MySQL 8.0 Reference Manual
Related Documentation Download this Manual
PDF (US Ltr) - 37.5Mb
PDF (A4) - 37.5Mb
PDF (RPM) - 33.3Mb
HTML Download (TGZ) - 8.3Mb
HTML Download (Zip) - 8.3Mb
HTML Download (RPM) - 7.2Mb
Man Pages (TGZ) - 129.9Kb
Man Pages (Zip) - 185.5Kb
Info (Gzip) - 3.3Mb
Info (Zip) - 3.3Mb

MySQL 8.0 Reference Manual  /  ...  /  GeometryCollection Class

Pre-General Availability Draft: 2018-03-17 GeometryCollection Class

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


The GeomCollection type name was added in MySQL 8.0.11. GeomCollection and GeometryCollection are synonymous, with GeomCollection the preferred type name. Prior to MySQL 8.0.11, GeometryCollection is the only permitted 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 of GeomCollection described in the following sections may restrict membership. Restrictions may be based on:

  • Element type (for example, a MultiPoint may contain only Point elements)

  • Dimension

  • Constraints on the degree of spatial overlap between elements

User Comments
Sign Up Login You must be logged in to post a comment.