[mapserver-commits] r9631 - trunk/docs/en/mapfile

svn at osgeo.org svn at osgeo.org
Fri Dec 18 13:33:46 EST 2009


Author: assefa
Date: 2009-12-18 13:33:45 -0500 (Fri, 18 Dec 2009)
New Revision: 9631

Modified:
   trunk/docs/en/mapfile/label.txt
   trunk/docs/en/mapfile/style.txt
Log:
Update binding support for label and style objects

Modified: trunk/docs/en/mapfile/label.txt
===================================================================
--- trunk/docs/en/mapfile/label.txt	2009-12-18 15:16:19 UTC (rev 9630)
+++ trunk/docs/en/mapfile/label.txt	2009-12-18 18:33:45 UTC (rev 9631)
@@ -90,8 +90,9 @@
     information can be found at: 
     http://www.foss4g.org/FOSS4G/MAPSERVER/mpsnf-i18n-en.html.
 
-FONT [name]
-    Font alias (as defined in the FONTSET) to use for labeling.
+FONT [name|attribute]
+    - Font alias (as defined in the FONTSET) to use for labeling.
+    - [*Attribute*] was introduced in version 5.6 to specfify the font alias.
 
 .. _FORCE:
 
@@ -179,7 +180,7 @@
     a conflict, then the label is not drawn (Unless the label's FORCE_ a 
     parameter is set to "true"). "Auto" placement is only available with cached labels.
 
-PRIORITY [integer]|[item_name]
+PRIORITY [integer]|[item_name]|[attribute]
      The priority parameter (added in v5.0) takes an integer value between 1 
      (lowest) and 10 (highest). The default value is 1. It is also possible
      to bind the priority to an attribute (item_name) using square brackets 
@@ -192,6 +193,8 @@
      shape attribute will be clamped to the min/max values at rendering time.
      There is no expected impact on performance for using label priorities.
 
+     [*Attribute*] was introduced in version 5.6.
+
 REPEATDISTANCE [integer] 
     - Introduced in version 5.6. The label will be repeated on every line of
       a multiline shape and will be repeated multiple times along a given
@@ -208,7 +211,7 @@
 SIZE [integer]|[tiny|small|medium|large|giant]|[attribute]
     - Text size. Use "integer" to give the size in pixels of your TrueType font 
       based label, or any of the other 5 listed keywords to bitmap fonts.
-    - [Attribute] was introduced in version 5.0, to specify the item name in
+    - [*Attribute*] was introduced in version 5.0, to specify the item name in
       the attribute table to use for size values.  The hard brackets [] are
       required.  For example, if your shapefile's DBF has a field named "MYSIZE"
       that holds size values for each record, your LABEL object might contain:

Modified: trunk/docs/en/mapfile/style.txt
===================================================================
--- trunk/docs/en/mapfile/style.txt	2009-12-18 15:16:19 UTC (rev 9630)
+++ trunk/docs/en/mapfile/style.txt	2009-12-18 18:33:45 UTC (rev 9631)
@@ -126,9 +126,10 @@
 OFFSET [x][y]
     Offset values for shadows, hollow symbols, etc ...
 
-OPACITY [integer]
-    Opacity to draw the current style (applies to 5.2+, :ref:`AGG` only, does not apply to pixmap
-    symbols)
+OPACITY [integer|attribute]
+    - Opacity to draw the current style (applies to 5.2+, :ref:`AGG` only, does not apply to pixmap
+      symbols)
+    - [*Attribute*]  was introduced in version 5.6.
 
 OUTLINECOLOR [r] [g] [b] | [attribute]
 
@@ -189,7 +190,7 @@
     - For MapServer versions <5, this is the attribute/field that stores the
       size to be used in rendering. Value is given in pixels.
 
-SYMBOL [integer|string|filename]
+SYMBOL [integer|string|filename|attribute]
     The symbol name or number to use for all features if attribute tables are 
     not used. The number is the index of the symbol in the symbol file, 
     starting at 1, the 5th symbol in the file is therefore symbol number 5. 
@@ -201,6 +202,8 @@
     You can also specify a gif or png filename. The path is relative to the 
     location of the mapfile. 
 
+    [*Attribute*] was introduced in version 5.6, to specify the symbol name
+
 WIDTH [integer|attribute]
     
     - Width refers to the thickness of line work drawn, in layer `SIZEUNITS`.



More information about the mapserver-commits mailing list