def wkt(self): "Returns the WKT representation of this Spatial Reference." return capi.to_wkt(self.ptr, byref(c_char_p()))
"""
def wkt(self): "Returns the WKT representation of this Spatial Reference." return capi.to_wkt(self.ptr, byref(c_char_p()))
capi.from_wkt(self.ptr, byref(c_char_p(force_bytes(wkt)))) def import_xml(self, xml): "Import the Spatial Reference from an XML string." >>>>>>> 37c99181c9a6b95433d60f8c8ef9af5731096435 capi.from_xml(self.ptr, xml) # #### Export Properties #### @property def wkt(self): <<<<<<< HEAD "Returns the WKT representation of this Spatial Reference." ======= "Return the WKT representation of this Spatial Reference." >>>>>>> 37c99181c9a6b95433d60f8c8ef9af5731096435 return capi.to_wkt(self.ptr, byref(c_char_p())) @property def pretty_wkt(self, simplify=0): <<<<<<< HEAD "Returns the 'pretty' representation of the WKT." ======= "Return the 'pretty' representation of the WKT." >>>>>>> 37c99181c9a6b95433d60f8c8ef9af5731096435 return capi.to_pretty_wkt(self.ptr, byref(c_char_p()), simplify) @property def proj(self): <<<<<<< HEAD "Returns the PROJ.4 representation for this Spatial Reference." =======