[mapguide-commits] r6449 - branches/maestro-4.0.x/OSGeo.MapGuide.MaestroAPI

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Sat Jan 21 08:27:20 EST 2012


Author: jng
Date: 2012-01-21 05:27:19 -0800 (Sat, 21 Jan 2012)
New Revision: 6449

Modified:
   branches/maestro-4.0.x/OSGeo.MapGuide.MaestroAPI/PlatformConnectionBase.cs
Log:
Backport r6447

Modified: branches/maestro-4.0.x/OSGeo.MapGuide.MaestroAPI/PlatformConnectionBase.cs
===================================================================
--- branches/maestro-4.0.x/OSGeo.MapGuide.MaestroAPI/PlatformConnectionBase.cs	2012-01-20 11:46:45 UTC (rev 6448)
+++ branches/maestro-4.0.x/OSGeo.MapGuide.MaestroAPI/PlatformConnectionBase.cs	2012-01-21 13:27:19 UTC (rev 6449)
@@ -1563,14 +1563,14 @@
             try
             {
                 System.Collections.Specialized.NameValueCollection fun = new System.Collections.Specialized.NameValueCollection();
-                fun.Add("extent", "SpatialExtents(\"" + geometry + "\")");
+                fun.Add("EXTENT", "SpatialExtents(\"" + geometry + "\")");
                 using (IReader fsr = AggregateQueryFeatureSource(resourceID, schema, filter, fun))
                 {
                     try
                     {
                         if (fsr.ReadNext())
                         {
-                            IGeometry geom = fsr["extent"] as IGeometry;
+                            IGeometry geom = fsr["EXTENT"] as IGeometry;
                             if (geom == null)
                             {
                                 throw new Exception("No data found in resource: " + resourceID);



More information about the mapguide-commits mailing list