'Add the geometry to this Geometry Collection.'

def add(self, geom):

    if isinstance(geom, OGRGeometry):
        if isinstance(geom, self.__class__):
            for g in geom:
                capi.add_geom(self.ptr, g.ptr)
        else:
            capi.add_geom(self.ptr, geom.ptr)
    elif isinstance(geom, basestring):
        tmp = OGRGeometry(geom)
        capi.add_geom(self.ptr, tmp.ptr)
    else:
        raise OGRException('Must    add    an    OGRGeometry.')
