[mapserver-commits] r10759 - trunk/mapserver

svn at osgeo.org svn at osgeo.org
Tue Nov 23 09:48:15 EST 2010


Author: assefa
Date: 2010-11-23 06:48:15 -0800 (Tue, 23 Nov 2010)
New Revision: 10759

Modified:
   trunk/mapserver/mapogcfilter.c
Log:
parse MultiSurface elements #3615

Modified: trunk/mapserver/mapogcfilter.c
===================================================================
--- trunk/mapserver/mapogcfilter.c	2010-11-22 14:51:05 UTC (rev 10758)
+++ trunk/mapserver/mapogcfilter.c	2010-11-23 14:48:15 UTC (rev 10759)
@@ -1822,9 +1822,9 @@
                     if (psGMLElement)
                       bPolygon = 1;
                     else if ((psGMLElement= CPLGetXMLNode(psXMLNode, "MultiPolygon")))
-                    {
-                          bPolygon = 1;
-                    }
+                      bPolygon = 1;
+                    else if ((psGMLElement= CPLGetXMLNode(psXMLNode, "MultiSurface")))
+                      bPolygon = 1;                    
                     else
                     {
                         psGMLElement= CPLGetXMLNode(psXMLNode, "LineString");
@@ -1897,9 +1897,9 @@
                 if (psGMLElement)
                   bPolygon = 1;
                 else if ((psGMLElement= CPLGetXMLNode(psXMLNode, "MultiPolygon")))
-                {
-                      bPolygon = 1;
-                }
+                  bPolygon = 1;
+                else if ((psGMLElement= CPLGetXMLNode(psXMLNode, "MultiSurface")))
+                  bPolygon = 1;
                 else if ((psGMLElement= CPLGetXMLNode(psXMLNode, "LineString")))
                 {
                     if (psGMLElement)



More information about the mapserver-commits mailing list