'Returns the OGR Geometry for this Geometry.'

@property
def ogr(self):

    if (not gdal.HAS_GDAL):
        raise GEOSException(u'GDAL    required    to    convert    to    an    OGRGeometry.')
    if self.srid:
        try:
            return gdal.OGRGeometry(self.wkb, self.srid)
        except SRSException:
            pass
    return gdal.OGRGeometry(self.wkb)
