[mapserver-commits] r7737 - trunk/mapserver

svn at osgeo.org svn at osgeo.org
Tue Jun 24 11:21:01 EDT 2008


Author: Assefa
Date: 2008-06-24 11:21:01 -0400 (Tue, 24 Jun 2008)
New Revision: 7737

Modified:
   trunk/mapserver/HISTORY.TXT
   trunk/mapserver/mapquery.c
Log:
Correct OGC Contains filter #2306

Modified: trunk/mapserver/HISTORY.TXT
===================================================================
--- trunk/mapserver/HISTORY.TXT	2008-06-24 03:54:41 UTC (rev 7736)
+++ trunk/mapserver/HISTORY.TXT	2008-06-24 15:21:01 UTC (rev 7737)
@@ -12,6 +12,8 @@
 Current Version (SVN trunk):
 ----------------------------
 
+- WFS: correct OGC Contains filter  (#2306)
+
 - WMS: set srsName correctly for GetFeatureInfo (#2502)
 
 - SOS: detect invalid time strings (#2560)

Modified: trunk/mapserver/mapquery.c
===================================================================
--- trunk/mapserver/mapquery.c	2008-06-24 03:54:41 UTC (rev 7736)
+++ trunk/mapserver/mapquery.c	2008-06-24 15:21:01 UTC (rev 7737)
@@ -1390,7 +1390,7 @@
             break;
           
           case MS_GEOS_CONTAINS:
-            status = msGEOSContains(&shape, selectshape);
+            status = msGEOSContains(selectshape, &shape);
             if (status != MS_TRUE && status != MS_FALSE)
               status = MS_FALSE;
             break;



More information about the mapserver-commits mailing list