geom.GeometryCollection()

class geom.GeometryCollection(coords)
Arguments
  • coords (Array) – Coordinates array.

Create a multipart geometry with mixed geometry types. The items in the coords array may be geometry coordinates or geom.Geometry() objects.

Properties

In addition to the properties common to all geom.Geometry() subclasses, GeometryCollection geometries have the properties documented below.

GeometryCollection.components

Array The component geom.Geometry() objects that make up this collection.

Methods

GeometryCollection geometries have the methods common to all geom.Geometry() subclasses.