Class GeometryCollection
A GeometryCollection is a geometry that is a collection of one or more geometries of any class.
All the elements in a GeometryCollection 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 GeometryCollection, although the subclasses of GeometryCollection described in the following sections may restrict membership. Restrictions may be based on:
- Element type (for example, a
MultiPointmay contain onlyPointelements) - Dimension
- Constraints on the degree of spatial overlap between elements