Opened 16 years ago

Closed 16 years ago

#2533 closed defect (fixed)

OGRSpatialReference:Clear() does not fully reset things

Reported by: warmerdam Owned by: warmerdam
Priority: normal Milestone: 1.5.3
Component: OGR_SRS Version: 1.5.0
Severity: normal Keywords:


The OGRSpatialReference::Clear() method does not reset the fields dfFromGreenwich, dfToMeter, dfToDegrees and bNormInfoSet in the OGRSpatialReference.

It is believed this may be responsible for errors reported in when doing multiple importFromProj4()'s from feet based coordinate systems.

Change History (1)

comment:1 by warmerdam, 16 years ago

Resolution: fixed
Status: newclosed

Patched so that Clear() wipes the bNormInfoSet flag and modified a few import methods to call Clear() rather than trying to do things themselves in trunk (r15160) and 1.5 (r15161).

Note: See TracTickets for help on using tickets.