@property
    def json(self):
        if gdal.GEOJSON:
            return self.ogr.json
        else:
            raise GEOSException('GeoJSON output only supported on GDAL 1.5+.')
Returns GeoJSON representation of this Geometry if GDAL 1.5+
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.2/django/contrib/gis/geos/geometry.py/GEOSGeometry.json