def kml(self): "Returns the KML representation of the Geometry." if GEOJSON: return capi.to_kml(self.ptr, None) else: raise NotImplementedError( 'KML output only supported on GDAL 1.5+.')
def kml(self): "Returns the KML representation of the Geometry." return capi.to_kml(self.ptr, None)
def kml(self): "Returns the KML representation of the Geometry." if GEOJSON: return capi.to_kml(self.ptr, None) else: raise NotImplementedError('KML output only supported on GDAL 1.5+.')
Returns the GeoJSON representation of this Geometry. ======= Return the GeoJSON representation of this Geometry. >>>>>>> 37c99181c9a6b95433d60f8c8ef9af5731096435 """ return capi.to_json(self.ptr) geojson = json @property def kml(self): <<<<<<< HEAD "Returns the KML representation of the Geometry." ======= "Return the KML representation of the Geometry." >>>>>>> 37c99181c9a6b95433d60f8c8ef9af5731096435 return capi.to_kml(self.ptr, None) @property def wkb_size(self): <<<<<<< HEAD "Returns the size of the WKB buffer." ======= "Return the size of the WKB buffer." >>>>>>> 37c99181c9a6b95433d60f8c8ef9af5731096435 return capi.get_wkbsize(self.ptr) @property def wkb(self): <<<<<<< HEAD "Returns the WKB representation of the Geometry." =======