def proj(self): "Returns the PROJ.4 representation for this Spatial Reference." return capi.to_proj(self.ptr, byref(c_char_p()))
"""
def proj(self): "Returns the PROJ.4 representation for this Spatial Reference." return capi.to_proj(self.ptr, byref(c_char_p()))
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." ======= "Return the PROJ.4 representation for this Spatial Reference." >>>>>>> 37c99181c9a6b95433d60f8c8ef9af5731096435 return capi.to_proj(self.ptr, byref(c_char_p())) @property def proj4(self): "Alias for proj()." return self.proj @property def xml(self, dialect=''): <<<<<<< HEAD "Returns the XML representation of this Spatial Reference." ======= "Return the XML representation of this Spatial Reference." >>>>>>> 37c99181c9a6b95433d60f8c8ef9af5731096435 return capi.to_xml(self.ptr, byref(c_char_p()), force_bytes(dialect))