Opened 8 years ago

Closed 8 years ago

#6441 closed enhancement (fixed)

SpatialReference.GetAttrNode & SpatialReference.GetAxis missing on Java API

Reported by: cmartinez Owned by: Even Rouault
Priority: normal Milestone: 2.1.0
Component: SWIG (all bindings) Version: unspecified
Severity: normal Keywords:


The GetAttrNode and GetAxis methods are missing on the Java version of SpatialReference. This omission makes impossible to guess the axes of a SpatialReference unless it is exported to WKT and then parsed "by hand".

Change History (1)

comment:1 by Even Rouault, 8 years ago

Component: JavaBindingsSWIG (all bindings)
Milestone: 2.1.0
Resolution: fixed
Status: newclosed

Adding GetAttrNode() isn't really convenient as it isn't exposed to the C API, but with the following these should be enough. See the changeset for an example test in Java

trunk r33900 "SWIG bindings: add SpatialReference.GetAxisName() and SpatialReference.GetAxisOrientation() (#6441)"

Note: See TracTickets for help on using tickets.