| 83 | |
| 84 | == Addendum == |
| 85 | |
| 86 | The implementation of the CCoordinateSystemMathComparator::SameDatum(MgCoordinateSystemDatum *pDefinition1, MgCoordinateSystemDatum *pDefinition2) has to be adjusted so it does (optionally, i.e. no change in default behavior) no longer considers the transformation information that might be attached to a datum object. Due to the CSMAP RFC2, such geodetic transformation information is no longer an inherent part of a datum definition but is now available in a separate dictionary. |
| 87 | |
| 88 | New API in MgCoordinateSystemMathComparator: |
| 89 | {{{ |
| 90 | |
| 91 | void SetCompareInternalDatumOldParameters(bool); //on by default; i.e. no change in default behavior |
| 92 | bool GetCompareInternalDatumOldParameters(); |
| 93 | }}} |
| 94 | |
| 95 | The implementation in CCoordinateSystemMathComparator has be changed accordingly. That is, if |
| 96 | {{{ |
| 97 | CCoordinateSystemMathComparator::GetCompareInternalDatumOldParameters() |
| 98 | }}} |
| 99 | |
| 100 | is true, the code will no longer try to match the transformation parameters of the cs_dtDef_ struct. |