Ticket #2714 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

OGRSpatialReference::GetAxis() returns bad value when the WKT has no AXIS definition

Reported by: 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

Changed 5 years ago by rouault

Fixed in trunk in r15867 and in branches/1.6 in r15868

Changed 5 years ago by rouault

  • status changed from new to closed
  • resolution set to fixed
  • milestone set to 1.6.0
Note: See TracTickets for help on using tickets.