[mapguide-commits] r9446 - trunk/MgDev/Server/src/UnitTesting

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Sun Jan 6 04:37:51 PST 2019


Author: jng
Date: 2019-01-06 04:37:51 -0800 (Sun, 06 Jan 2019)
New Revision: 9446

Modified:
   trunk/MgDev/Server/src/UnitTesting/TestCoordinateSystem.cpp
Log:
#2787: Ignore datum shift warnings for TestCase_Geographic_To_Projected_Transform_EnvelopeXYZ. Time will tell if this is a fix or a band-aid.

Modified: trunk/MgDev/Server/src/UnitTesting/TestCoordinateSystem.cpp
===================================================================
--- trunk/MgDev/Server/src/UnitTesting/TestCoordinateSystem.cpp	2019-01-06 12:30:00 UTC (rev 9445)
+++ trunk/MgDev/Server/src/UnitTesting/TestCoordinateSystem.cpp	2019-01-06 12:37:51 UTC (rev 9446)
@@ -5321,6 +5321,9 @@
         Ptr<MgCoordinateSystemTransform> transform = factory.GetTransform(coordinateSystemSource, coordinateSystemTarget);
         CPPUNIT_ASSERT(transform);
 
+        //#2787: We get datum shift warnings if Z coordinates are involved
+        transform->IgnoreDatumShiftWarning(true);
+
         Ptr<MgCoordinate> coord1 = new MgCoordinateXYZ(-83.0, 34.0, 1.0);
         Ptr<MgCoordinate> coord2 = new MgCoordinateXYZ(-84.0, 33.0, 2.0);
         Ptr<MgEnvelope> envelopeSource = new MgEnvelope(coord1, coord2);



More information about the mapguide-commits mailing list