[mapguide-commits] r4251 - in trunk/MgDev/Common: CoordinateSystem Geometry/CoordinateSystem

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Tue Sep 22 19:03:52 EDT 2009


Author: NormOlsen
Date: 2009-09-22 19:03:51 -0400 (Tue, 22 Sep 2009)
New Revision: 4251

Modified:
   trunk/MgDev/Common/CoordinateSystem/MentorUtil.cpp
   trunk/MgDev/Common/Geometry/CoordinateSystem/CoordinateSystemGeodeticTransformationMethod.h
Log:
Submitted in response to Trac ticket 1099.  The CS-MAP repository was updated producing revision 1622.  This submission to the MgDev repository adds the new geodetic transformation method ("CHENYX") to the coordinate system API.

Modified: trunk/MgDev/Common/CoordinateSystem/MentorUtil.cpp
===================================================================
--- trunk/MgDev/Common/CoordinateSystem/MentorUtil.cpp	2009-09-22 23:01:56 UTC (rev 4250)
+++ trunk/MgDev/Common/CoordinateSystem/MentorUtil.cpp	2009-09-22 23:03:51 UTC (rev 4251)
@@ -879,6 +879,7 @@
     case MgCoordinateSystemGeodeticTransformationMethod::DHDN:
     case MgCoordinateSystemGeodeticTransformationMethod::ETRF89:
     case MgCoordinateSystemGeodeticTransformationMethod::Geocentric:
+    case MgCoordinateSystemGeodeticTransformationMethod::CHENYX:
         return true;
     default:
         return false;

Modified: trunk/MgDev/Common/Geometry/CoordinateSystem/CoordinateSystemGeodeticTransformationMethod.h
===================================================================
--- trunk/MgDev/Common/Geometry/CoordinateSystem/CoordinateSystemGeodeticTransformationMethod.h	2009-09-22 23:01:56 UTC (rev 4250)
+++ trunk/MgDev/Common/Geometry/CoordinateSystem/CoordinateSystemGeodeticTransformationMethod.h	2009-09-22 23:03:51 UTC (rev 4251)
@@ -64,7 +64,8 @@
     static const INT32 DHDN = 23;           // DHDN<->ETRF89 via Grid Files
     static const INT32 ETRF89 = 24;         // Is ETRF89, no shift required
     static const INT32 Lclgrf = 99;         // Local Geodetic Reference System
-    static const INT32 Geocentric = 25;     // Three Parameter Transformation
+    static const INT32 Geocentric = 25;     // Geocentric Translation
+    static const INT32 CHENYX = 26          // Swiss Ch1903 to CH1903+
 };
 /// \}
 



More information about the mapguide-commits mailing list