[mapserver-commits] r11150 - in trunk/msautotest/misc: . data
expected
svn at osgeo.org
svn at osgeo.org
Fri Mar 11 00:40:53 EST 2011
Author: sdlime
Date: 2011-03-10 21:40:53 -0800 (Thu, 10 Mar 2011)
New Revision: 11150
Added:
trunk/msautotest/misc/attrbind.map
trunk/msautotest/misc/data/attrbind.dbf
trunk/msautotest/misc/data/attrbind.shp
trunk/msautotest/misc/data/attrbind.shx
trunk/msautotest/misc/expected/attrbind_test001.png
Log:
Added some initial attribute binding tests.
Added: trunk/msautotest/misc/attrbind.map
===================================================================
--- trunk/msautotest/misc/attrbind.map (rev 0)
+++ trunk/msautotest/misc/attrbind.map 2011-03-11 05:40:53 UTC (rev 11150)
@@ -0,0 +1,70 @@
+#
+# Test for label and style attribute binding.
+#
+# REQUIRES: INPUT=SHAPE OUTPUT=PNG
+#
+# RUN_PARMS: attrbind_test001.png [SHP2IMG] -m [MAPFILE] -l test001 -o [RESULT]
+MAP
+ NAME 'attrbind'
+ EXTENT -1.5 0.1 -0.6 1.0
+ SIZE 500 500
+
+ IMAGETYPE PNG
+
+ FONTSET fonts.lst
+
+ SYMBOL
+ NAME 'triangle'
+ TYPE VECTOR
+ POINTS
+ 0 4
+ 2 0
+ 4 4
+ 0 4
+ END
+ FILLED TRUE
+ END
+
+ SYMBOL
+ NAME 'square'
+ TYPE VECTOR
+ POINTS 0 0 1 0 1 1 0 1 0 0 END
+ FILLED TRUE
+ END
+
+ SYMBOL
+ NAME 'circle'
+ TYPE ELLIPSE
+ POINTS 1 1 END
+ FILLED TRUE
+ END
+
+ LAYER
+ NAME 'test001'
+ TYPE POINT
+ DATA 'data/attrbind'
+ STATUS OFF
+ LABELITEM 'text'
+ CLASS
+ STYLE # a shadow
+ COLOR 151 151 151
+ SYMBOL [symbol]
+ OFFSET 2 2
+ SIZE [size]
+ END
+ STYLE
+ COLOR [color]
+ SYMBOL [symbol]
+ SIZE [size]
+ END
+ LABEL
+ TYPE TRUETYPE
+ FONT 'default'
+ COLOR [lcolor]
+ SIZE [lsize]
+ POSITION UR
+ END
+ END
+ END
+END
+
\ No newline at end of file
Added: trunk/msautotest/misc/data/attrbind.dbf
===================================================================
(Binary files differ)
Property changes on: trunk/msautotest/misc/data/attrbind.dbf
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/msautotest/misc/data/attrbind.shp
===================================================================
(Binary files differ)
Property changes on: trunk/msautotest/misc/data/attrbind.shp
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/msautotest/misc/data/attrbind.shx
===================================================================
(Binary files differ)
Property changes on: trunk/msautotest/misc/data/attrbind.shx
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/msautotest/misc/expected/attrbind_test001.png
===================================================================
(Binary files differ)
Property changes on: trunk/msautotest/misc/expected/attrbind_test001.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
More information about the mapserver-commits
mailing list