def json(self): """ Returns the GeoJSON representation of this Geometry (requires GDAL 1.5+). """ if GEOJSON: return capi.to_json(self.ptr) else: raise NotImplementedError('GeoJSON output only supported on GDAL 1.5+.')
def json(self): """ <<<<<<< HEAD Returns the GeoJSON representation of this Geometry. ======= Return the GeoJSON representation of this Geometry. >>>>>>> 37c99181c9a6b95433d60f8c8ef9af5731096435 """ return capi.to_json(self.ptr)
def json(self): """ Returns the GeoJSON representation of this Geometry (requires GDAL 1.5+). """ if GEOJSON: return capi.to_json(self.ptr) else: raise NotImplementedError( 'GeoJSON output only supported on GDAL 1.5+.')
def json(self): """ Returns the GeoJSON representation of this Geometry. """ return capi.to_json(self.ptr)