[mapserver-commits] r11183 - in trunk/msautotest/misc: . expected
svn at osgeo.org
svn at osgeo.org
Wed Mar 16 16:41:03 EDT 2011
Author: sdlime
Date: 2011-03-16 13:41:03 -0700 (Wed, 16 Mar 2011)
New Revision: 11183
Added:
trunk/msautotest/misc/expected/style_opacity_test001.png
trunk/msautotest/misc/expected/style_opacity_test002.png
trunk/msautotest/misc/expected/style_opacity_test003.png
trunk/msautotest/misc/style_opacity.map
Log:
Added simple style opacity tests (AGG)...
Added: trunk/msautotest/misc/expected/style_opacity_test001.png
===================================================================
(Binary files differ)
Property changes on: trunk/msautotest/misc/expected/style_opacity_test001.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/msautotest/misc/expected/style_opacity_test002.png
===================================================================
(Binary files differ)
Property changes on: trunk/msautotest/misc/expected/style_opacity_test002.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/msautotest/misc/expected/style_opacity_test003.png
===================================================================
(Binary files differ)
Property changes on: trunk/msautotest/misc/expected/style_opacity_test003.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/msautotest/misc/style_opacity.map
===================================================================
--- trunk/msautotest/misc/style_opacity.map (rev 0)
+++ trunk/msautotest/misc/style_opacity.map 2011-03-16 20:41:03 UTC (rev 11183)
@@ -0,0 +1,75 @@
+
+# Test Style Opacity
+#
+# REQUIRES: INPUT=SHAPEFILE OUTPUT=PNG SUPPORTS=AGG
+#
+# RUN_PARMS: style_opacity_test001.png [SHP2IMG] -m [MAPFILE] -l style_opacity_test001 -o [RESULT]
+# RUN_PARMS: style_opacity_test002.png [SHP2IMG] -m [MAPFILE] -l style_opacity_test002 -o [RESULT]
+# RUN_PARMS: style_opacity_test003.png [SHP2IMG] -m [MAPFILE] -l style_opacity_test003 -o [RESULT]
+#
+MAP
+ NAME 'style_opacity'
+ EXTENT 125000 4785000 789000 5489000
+ UNITS METERS
+
+ SIZE 300 300
+ IMAGETYPE PNG24
+
+ LAYER
+ NAME 'style_opacity_base'
+ DATA '../query/data/bdry_counpy2'
+ TYPE POLYGON
+ STATUS DEFAULT
+ CLASS
+ STYLE
+ OUTLINECOLOR 0 0 0
+ END
+ END
+ END
+
+ LAYER
+ NAME 'style_opacity_test001'
+ DATA '../query/data/bdry_counpy2'
+ TYPE POLYGON
+ STATUS OFF
+ FILTER ('[cty_name]' =* 'aitkin')
+ CLASS
+ STYLE
+ OPACITY 50
+ COLOR 255 0 0
+ OFFSET 10 10
+ END
+ END
+ END
+
+ LAYER
+ NAME 'style_opacity_test002'
+ DATA '../query/data/bdry_counpy2'
+ TYPE POLYGON
+ STATUS OFF
+ FILTER ('[cty_name]' =* 'aitkin')
+ CLASS
+ STYLE
+ OPACITY 500 # bad value
+ COLOR 255 0 0
+ OFFSET 10 10
+ END
+ END
+ END
+
+ LAYER
+ NAME 'style_opacity_test003'
+ DATA '../query/data/bdry_counpy2'
+ TYPE POLYGON
+ STATUS OFF
+ FILTER ('[cty_name]' =* 'aitkin')
+ CLASS
+ STYLE
+ OPACITY -500 # bad value
+ COLOR 255 0 0
+ OFFSET 10 10
+ END
+ END
+ END
+
+END
\ No newline at end of file
More information about the mapserver-commits
mailing list