Opened 15 years ago

Closed 15 years ago

#2849 closed defect (fixed)

IsSame results in false positive for LOCAL_CS

Reported by: gaige Owned by: warmerdam
Priority: normal Milestone: 1.6.1
Component: OGR_SRS Version: 1.6.0
Severity: major Keywords:
Cc:

Description

OGRSpatialReference:IsSame tests for the "LOCALCS" instead of using IsLocal or testing for "LOCAL_CS". As a result, two local coordinate systems that have different units are considered to be the same.

The change I made in my local version was to use IsLocal() instead of the manual test.

-Gaige

Change History (1)

comment:1 by Even Rouault, 15 years ago

Milestone: 1.6.1
Resolution: fixed
Status: newclosed

Thanks for reporting.

Fixed in trunk (r16376) and branches/1.6 (r16377)

Note: See TracTickets for help on using tickets.