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

@property
def json(self):

    if gdal.GEOJSON:
        return self.ogr.json
    else:
        raise GEOSException('GeoJSON    output    only    supported    on    GDAL    1.5+.')
