Opened 15 years ago
Closed 15 years ago
#2714 closed defect (fixed)
OGRSpatialReference::GetAxis() returns bad value when the WKT has no AXIS definition
Reported by: | Even Rouault | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | 1.6.0 |
Component: | OGR_SRS | Version: | 1.6.0 |
Severity: | normal | Keywords: | axis |
Cc: |
Description
The loop that iterates over the children of the node doesn't work properly when there's no AXIS, or when the number of AXIS is less than iAxis+1.
Currently it returns the last of the node instead of NULL. Fix to follow
Change History (2)
comment:1 by , 15 years ago
comment:2 by , 15 years ago
Milestone: | → 1.6.0 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Fixed in trunk in r15867 and in branches/1.6 in r15868