(self, geoms=None)
Parameters
        ----------
        geoms : list
            A list of shapely geometry instances, which may be heterogenous.
        
        Example
        -------
        Create a GeometryCollection with a Point and a LineString
        
          >>> p = Point(51, -1)
          >>> l = LineString([(52, -1), (49, 2)])
          >>> gc = GeometryCollection([p, l])
Parameters
        ----------
        geoms : list
            A list of shapely geometry instances, which may be heterogenous.
        
        Example
        -------
        Create a GeometryCollection with a Point and a LineString
        
          >>> p = Point(51, -1)
          >>> l = LineString([(52, -1), (49, 2)])
          >>> gc = GeometryCollection([p, l])
Parameters ---------- geoms : list A list of shapely geometry instances which may be heterogenous . Example ------- Create a GeometryCollection with a Point and a LineString >>> p = Point ( 51 - 1 ) >>> l = LineString ( [ ( 52 - 1 ) ( 49 2 ) ] ) >>> gc = GeometryCollection ( [ p l ] )
def __init__(self, geoms=None):
        """
        Parameters
        ----------
        geoms : list
            A list of shapely geometry instances, which may be heterogenous.
        
        Example
        -------
        Create a GeometryCollection with a Point and a LineString
        
          >>> p = Point(51, -1)
          >>> l = LineString([(52, -1), (49, 2)])
          >>> gc = GeometryCollection([p, l])
        """
        BaseMultipartGeometry.__init__(self)
        if not geoms:
            pass
        else:
            self._geom, self._ndim = geos_geometrycollection_from_py(geoms)
def __init__ ( self , geoms = None ) : BaseMultipartGeometry . __init__ ( self ) if not geoms : pass else : self . _geom , self . _ndim = geos_geometrycollection_from_py ( geoms )