[mapguide-commits] r5324 - trunk/MgDev/Common/Geometry/CoordinateSystem

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Mon Oct 25 03:07:22 EDT 2010


Author: hubu
Date: 2010-10-25 00:07:22 -0700 (Mon, 25 Oct 2010)
New Revision: 5324

Modified:
   trunk/MgDev/Common/Geometry/CoordinateSystem/CoordinateSystemGeodeticAnalyticalTransformationMethod.h
   trunk/MgDev/Common/Geometry/CoordinateSystem/CoordinateSystemGeodeticMultipleRegressionTransformationMethod.h
Log:
Fix ticket #1499.
When open site administrator(www\mapadmin\login.php) by browser, we get below error: PHP errors: syntax error,unexpected "(" on www\mapadmin\Constants.php Ln1907. 

This is caused by Revision #5270?\239?\188?\140which export the const classes "MgCoordinateSystemGeodeticMultipleRegressionTransformationMethod?" and "MgCoordinateSystemGeodeticTransformGridFileFormat?". However this 2 classes have some syntax, which will result in php syntax errors when browse the Login.php. 


Modified: trunk/MgDev/Common/Geometry/CoordinateSystem/CoordinateSystemGeodeticAnalyticalTransformationMethod.h
===================================================================
--- trunk/MgDev/Common/Geometry/CoordinateSystem/CoordinateSystemGeodeticAnalyticalTransformationMethod.h	2010-10-25 06:57:06 UTC (rev 5323)
+++ trunk/MgDev/Common/Geometry/CoordinateSystem/CoordinateSystemGeodeticAnalyticalTransformationMethod.h	2010-10-25 07:07:22 UTC (rev 5324)
@@ -36,16 +36,16 @@
 
     static const INT32 None = 0;
 
-    static const INT32 ThreeParameter =     (8192 + 1);     //cs_DTCMTH_3PARM
-    static const INT32 Molodensky =         (8192 + 2);     //cs_DTCMTH_MOLOD
-    static const INT32 AbridgedMolodensky = (8192 + 3);     //cs_DTCMTH_AMOLO
-    static const INT32 Geocentric =         (8192 + 4);     //cs_DTCMTH_GEOCT
-    static const INT32 FourParameter =      (8192 + 5);     //cs_DTCMTH_4PARM
-    static const INT32 SixParameter =       (8192 + 6);     //cs_DTCMTH_6PARM
-    static const INT32 Bursa =              (8192 + 7);     //cs_DTCMTH_BURSA
-    static const INT32 Frame =              (8192 + 8);     //cs_DTCMTH_FRAME
-    static const INT32 SevenParameter =     (8192 + 9);     //cs_DTCMTH_7PARM
-    static const INT32 MolodenskyBadekas =  (8192 + 10);    //cs_DTCMTH_BDKAS
+    static const INT32 ThreeParameter =     8193;     //cs_DTCMTH_3PARM
+    static const INT32 Molodensky =         8194;     //cs_DTCMTH_MOLOD
+    static const INT32 AbridgedMolodensky = 8195;     //cs_DTCMTH_AMOLO
+    static const INT32 Geocentric =         8196;     //cs_DTCMTH_GEOCT
+    static const INT32 FourParameter =      8197;     //cs_DTCMTH_4PARM
+    static const INT32 SixParameter =       8198;     //cs_DTCMTH_6PARM
+    static const INT32 Bursa =              8199;     //cs_DTCMTH_BURSA
+    static const INT32 Frame =              8200;     //cs_DTCMTH_FRAME
+    static const INT32 SevenParameter =     8201;     //cs_DTCMTH_7PARM
+    static const INT32 MolodenskyBadekas =  8202;     //cs_DTCMTH_BDKAS
 
 };
 /// \}

Modified: trunk/MgDev/Common/Geometry/CoordinateSystem/CoordinateSystemGeodeticMultipleRegressionTransformationMethod.h
===================================================================
--- trunk/MgDev/Common/Geometry/CoordinateSystem/CoordinateSystemGeodeticMultipleRegressionTransformationMethod.h	2010-10-25 06:57:06 UTC (rev 5323)
+++ trunk/MgDev/Common/Geometry/CoordinateSystem/CoordinateSystemGeodeticMultipleRegressionTransformationMethod.h	2010-10-25 07:07:22 UTC (rev 5324)
@@ -36,8 +36,8 @@
 
     static const INT32 None = 0;
 
-    static const INT32 MultipleRegression =     (20480 + 1); //cs_DTCMTH_MULRG
-    static const INT32 GeneralPolynomialEpsg =  (20480 + 2); //cs_DTCMTH_PLYNM
+    static const INT32 MultipleRegression =     20481; //cs_DTCMTH_MULRG
+    static const INT32 GeneralPolynomialEpsg =  20482; //cs_DTCMTH_PLYNM
 
 };
 /// \}



More information about the mapguide-commits mailing list