GeometryCollection

A GeometryCollection geometry is a heterogeneous collection of Geometry objects that are related.

  • The geometries contained by the geometry collection.

  • Initializes a geometry collection defined by the given geometries.

  • Initializes a geometry collection coincident to the given multipolygon.

    You should only use this initializer if you intend to add geometries other than multipolygons to the geometry collection after initializing it.