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

svn at osgeo.org svn at osgeo.org
Tue Mar 29 00:10:04 EDT 2011


Author: sdlime
Date: 2011-03-28 21:10:04 -0700 (Mon, 28 Mar 2011)
New Revision: 11355

Added:
   trunk/msautotest/query/context.map
   trunk/msautotest/query/expected/context_test001.gif
   trunk/msautotest/query/expected/context_test002.gif
   trunk/msautotest/query/expected/context_test003.gif
Log:
A couple of tests for layer context expressions (REQUIRES/LABELREQUIRES).

Added: trunk/msautotest/query/context.map
===================================================================
--- trunk/msautotest/query/context.map	                        (rev 0)
+++ trunk/msautotest/query/context.map	2011-03-29 04:10:04 UTC (rev 11355)
@@ -0,0 +1,28 @@
+#
+# Test Layer Context (REQUIRES/LABELREQUIRES)
+#
+# REQUIRES: INPUT=SHAPEFILE OUTPUT=GIF
+#
+# RUN_PARMS: context_test001.gif [SHP2IMG] -m [MAPFILE] -l "bdry_counpy2" -o [RESULT]
+# RUN_PARMS: context_test002.gif [SHP2IMG] -m [MAPFILE] -l "bdry_counpy2 indx_q100kpy4" -o [RESULT]
+# RUN_PARMS: context_test003.gif [SHP2IMG] -m [MAPFILE] -l "indx_q100kpy4" -o [RESULT]
+#
+MAP
+  NAME 'context'
+  EXTENT 125000 4785000 789000 5489000
+  UNITS METERS
+
+  SIZE 400 300
+  IMAGETYPE GIF
+
+  LAYER
+    NAME 'bdry_counpy2'
+    INCLUDE 'include/bdry_counpy2_shapefile.map'
+  END
+
+  LAYER
+    NAME 'indx_q100kpy4'
+    REQUIRES '![bdry_counpy2]'
+    INCLUDE 'include/indx_q100kpy4_shapefile.map'
+  END
+END

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


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

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


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

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


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



More information about the mapserver-commits mailing list