def auth_name(self, target): "Returns the authority name for the given string target node." return capi.get_auth_name(self.ptr, target)
"""
def auth_name(self, target): "Returns the authority name for the given string target node." return capi.get_auth_name(self.ptr, force_bytes(target))
""" The attribute value for the given target node (e.g. 'PROJCS'). The index keyword specifies an index of the child node to return. """ <<<<<<< HEAD if not isinstance(target, six.string_types) or not isinstance(index, int): ======= if not isinstance(target, str) or not isinstance(index, int): >>>>>>> 37c99181c9a6b95433d60f8c8ef9af5731096435 raise TypeError return capi.get_attr_value(self.ptr, force_bytes(target), index) def auth_name(self, target): <<<<<<< HEAD "Returns the authority name for the given string target node." return capi.get_auth_name(self.ptr, force_bytes(target)) def auth_code(self, target): "Returns the authority code for the given string target node." return capi.get_auth_code(self.ptr, force_bytes(target)) def clone(self): "Returns a clone of this SpatialReference object." return SpatialReference(capi.clone_srs(self.ptr)) def from_esri(self): "Morphs this SpatialReference from ESRI's format to EPSG." ======= "Return the authority name for the given string target node." return capi.get_auth_name(self.ptr, force_bytes(target))