[mapserver-commits] r11126 - in trunk/msautotest/query: . expected

svn at osgeo.org svn at osgeo.org
Wed Mar 9 00:29:39 EST 2011


Author: sdlime
Date: 2011-03-08 21:29:39 -0800 (Tue, 08 Mar 2011)
New Revision: 11126

Added:
   trunk/msautotest/query/expected/filters_test009.gif
Modified:
   trunk/msautotest/query/filters.map
Log:
Added a test for IN operator to filters.map

Added: trunk/msautotest/query/expected/filters_test009.gif
===================================================================
(Binary files differ)


Property changes on: trunk/msautotest/query/expected/filters_test009.gif
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Modified: trunk/msautotest/query/filters.map
===================================================================
--- trunk/msautotest/query/filters.map	2011-03-09 05:22:03 UTC (rev 11125)
+++ trunk/msautotest/query/filters.map	2011-03-09 05:29:39 UTC (rev 11126)
@@ -11,6 +11,7 @@
 # RUN_PARMS: filters_test006.gif [SHP2IMG] -m [MAPFILE] -l filters_test006 -o [RESULT]
 # RUN_PARMS: filters_test007.gif [SHP2IMG] -m [MAPFILE] -l filters_test007 -o [RESULT]
 # RUN_PARMS: filters_test008.gif [SHP2IMG] -m [MAPFILE] -l filters_test008 -o [RESULT]
+# RUN_PARMS: filters_test009.gif [SHP2IMG] -m [MAPFILE] -l filters_test009 -o [RESULT]
 #
 MAP
   NAME 'filters'
@@ -80,7 +81,14 @@
     INCLUDE 'include/bdry_counpy2_shapefile.map'
   END
 
+  # Logical expression, in operator
   LAYER
+    NAME 'filters_test009'
+    FILTER ('[CTY_ABBR]' in 'ANOK,RAMS,CARL')
+    INCLUDE 'include/bdry_counpy2_shapefile.map'
+  END
+
+  LAYER
     NAME 'bdry_counpy2'
     TYPE LINE
     DATA 'data/bdry_counpy2.shp'



More information about the mapserver-commits mailing list