[mapguide-commits] r1116 - trunk/MgDev/Common/CoordinateSystem

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Fri Feb 16 18:32:49 EST 2007


Author: brucedechant
Date: 2007-02-16 18:32:47 -0500 (Fri, 16 Feb 2007)
New Revision: 1116

Modified:
   trunk/MgDev/Common/CoordinateSystem/CoordSys.cpp
Log:
Update source code comments.

Modified: trunk/MgDev/Common/CoordinateSystem/CoordSys.cpp
===================================================================
--- trunk/MgDev/Common/CoordinateSystem/CoordSys.cpp	2007-02-16 23:32:43 UTC (rev 1115)
+++ trunk/MgDev/Common/CoordinateSystem/CoordSys.cpp	2007-02-16 23:32:47 UTC (rev 1116)
@@ -213,6 +213,7 @@
     {
         coordSys->m_latLonSrs = m_latLonSrs->Clone();
 
+        // No datum shift is done. You must use the CoordinateSystemTransform class for that.
         coordSys->m_transformForward = CCoordinateSystemTransformation::CreateCoordinateTransformation(coordSys->m_ogrSrs, coordSys->m_latLonSrs, false);
         if(NULL == coordSys->m_transformForward)
         {
@@ -220,6 +221,7 @@
             throw new CInvalidCoordinateSystemException(L"CCoordinateSystem.Clone", __LINE__, __WFILE__, L"Could not create coordinate system forward transformation with specified coordinate systems.");
         }
 
+        // No datum shift is done. You must use the CoordinateSystemTransform class for that.
         coordSys->m_transformInverse = CCoordinateSystemTransformation::CreateCoordinateTransformation(coordSys->m_latLonSrs, coordSys->m_ogrSrs, false);
         if(NULL == coordSys->m_transformInverse)
         {
@@ -402,12 +404,14 @@
 
                             if(OGRERR_NONE == error)
                             {
+                                // No datum shift is done. You must use the CoordinateSystemTransform class for that.
                                 m_transformForward = CCoordinateSystemTransformation::CreateCoordinateTransformation(m_ogrSrs, m_latLonSrs, false);
                                 if(NULL == m_transformForward)
                                 {
                                     throw new CInvalidCoordinateSystemException(L"CCoordinateSystem.CCoordinateSystem", __LINE__, __WFILE__, L"Could not create coordinate system forward transformation with specified coordinate systems.");
                                 }
 
+                                // No datum shift is done. You must use the CoordinateSystemTransform class for that.
                                 m_transformInverse = CCoordinateSystemTransformation::CreateCoordinateTransformation(m_latLonSrs, m_ogrSrs, false);
                                 if(NULL == m_transformInverse)
                                 {



More information about the mapguide-commits mailing list