def xml(self, dialect=""): "Returns the XML representation of this Spatial Reference." return capi.to_xml(self.ptr, byref(c_char_p()), dialect)
def xml(self, dialect=''): "Returns the XML representation of this Spatial Reference." return capi.to_xml(self.ptr, byref(c_char_p()), dialect)
"""
def xml(self, dialect=""): "Return the XML representation of this Spatial Reference." return capi.to_xml(self.ptr, byref(c_char_p()), force_bytes(dialect))
def xml(self, dialect=''): "Return the XML representation of this Spatial Reference." return capi.to_xml(self.ptr, byref(c_char_p()), force_bytes(dialect))
>>>>>>> 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)) class CoordTransform(GDALBase): "The coordinate system transformation object." destructor = capi.destroy_ct def __init__(self, source, target): <<<<<<< HEAD "Initializes on a source and target SpatialReference objects." ======= "Initialize on a source and target SpatialReference objects." >>>>>>> 37c99181c9a6b95433d60f8c8ef9af5731096435 if not isinstance(source, SpatialReference) or not isinstance(target, SpatialReference): raise TypeError('source and target must be of type SpatialReference') self.ptr = capi.new_ct(source._ptr, target._ptr)