'Returns GeoJSON representation of this Geometry if GDAL is installed.'

@property
def json(self):

    if gdal.HAS_GDAL:
        return self.ogr.json
    else:
        raise GEOSException(u'GeoJSON    output    only    supported    when    GDAL    is    installed.')
