The attribute value for the given target node (e.g. 'PROJCS'). The index keyword specifies an index of the child node to return.
(self, target, index=0)
| 149 | |
| 150 | # #### SpatialReference Methods #### |
| 151 | def attr_value(self, target, index=0): |
| 152 | """ |
| 153 | The attribute value for the given target node (e.g. 'PROJCS'). The |
| 154 | index keyword specifies an index of the child node to return. |
| 155 | """ |
| 156 | if not isinstance(target, str) or not isinstance(index, int): |
| 157 | raise TypeError |
| 158 | return capi.get_attr_value(self.ptr, force_bytes(target), index) |
| 159 | |
| 160 | def auth_name(self, target): |
| 161 | "Return the authority name for the given string target node." |
no test coverage detected