Ticket #1945 (closed defect: fixed)

Opened 4 months ago

Last modified 3 months ago

CCoordinateSystemTransform::Transform methods might return incorrect transformation results for geographic coordinate systems

Reported by: baertelchen Owned by: baertelchen
Priority: medium Milestone: 2.4
Component: General Version:
Severity: minor Keywords: coordinate system transformation transformation CCoordinateSystemTransform
Cc: External ID:

Description

The various [Transform] methods in the CCoordinateSystemTransform class trim input coordinates if the source coordinate system is geographic and the [IgnoreOutsideDomainWarning?] flag is set.

Mg API thus returns different values then CSMAP does. For example, running CSMAP's TEST.DAT file through the mg API isn't possible.

Change History

Changed 3 months ago by baertelchen

  • status changed from new to closed
  • resolution set to fixed

Fixed in changeset 6532 (see  http://trac.osgeo.org/mapguide/changeset/6532 for more/technical details).

The CCoordinateSystemTransform class does now no longer 'adjust' any geographic coordinate before passing them to CSMAP.

Note: See TracTickets for help on using tickets.