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

svn at osgeo.org svn at osgeo.org
Tue Mar 29 00:59:12 EDT 2011


Author: sdlime
Date: 2011-03-28 21:59:12 -0700 (Mon, 28 Mar 2011)
New Revision: 11358

Added:
   trunk/msautotest/query/expected/filters_test010.gif
Modified:
   trunk/msautotest/query/filters.map
Log:
Added a simple time/expression test.

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


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

Modified: trunk/msautotest/query/filters.map
===================================================================
--- trunk/msautotest/query/filters.map	2011-03-29 04:39:54 UTC (rev 11357)
+++ trunk/msautotest/query/filters.map	2011-03-29 04:59:12 UTC (rev 11358)
@@ -12,6 +12,7 @@
 # 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]
+# RUN_PARMS: filters_test010.gif [SHP2IMG] -m [MAPFILE] -l filters_test010 -o [RESULT]
 #
 MAP
   NAME 'filters'
@@ -88,7 +89,14 @@
     INCLUDE 'include/bdry_counpy2_shapefile.map'
   END
 
+  # Logical expression, time operands
   LAYER
+    NAME 'filters_test010'
+    FILTER (`[LASTMOD]` > `2010-12-01`)
+    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