Opened 14 years ago

Closed 14 years ago

Last modified 11 years ago

#3270 closed defect (fixed)

Bug when OGR reads axis info from EPSG

Reported by: mikrit Owned by: warmerdam
Priority: normal Milestone:
Component: OGR_SRS Version: 1.6.2
Severity: normal Keywords: EPSG axis information
Cc:

Description

There is a typo in ogr\ogr_fromepsg.cpp. Lines 69 - 72 are

/* -------------------------------------------------------------------- */ /* Do we need to switch the axes around? */ /* -------------------------------------------------------------------- */

if( atoi(papszAxis2[iAxisOrderField]) < atoi(papszAxis2[iAxisOrderField]) )


On line 72, the second 2 should be a 1.

Best regards,

Change History (3)

comment:1 by warmerdam, 14 years ago

Component: defaultOGR_SRS
Status: newassigned

Investigating...

comment:2 by warmerdam, 14 years ago

Milestone: 1.6.4
Resolution: fixed
Status: assignedclosed

Fixed in trunk (r18229) and 1.6 (r18230). I imagine this went unnoticed because the common axis definitions are short circuited a bit earlier.

Thanks

comment:3 by Even Rouault, 11 years ago

Milestone: 1.6.4

Milestone 1.6.4 deleted

Note: See TracTickets for help on using tickets.