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

svn at osgeo.org svn at osgeo.org
Thu Mar 31 10:46:41 EDT 2011


Author: havatv
Date: 2011-03-31 07:46:41 -0700 (Thu, 31 Mar 2011)
New Revision: 11433

Modified:
   trunk/docs/en/mapfile/style.txt
Log:
STYLE: More detailed description of WIDTH

Modified: trunk/docs/en/mapfile/style.txt
===================================================================
--- trunk/docs/en/mapfile/style.txt	2011-03-31 14:44:16 UTC (rev 11432)
+++ trunk/docs/en/mapfile/style.txt	2011-03-31 14:46:41 UTC (rev 11433)
@@ -229,11 +229,24 @@
 
 WIDTH [double|attribute]
 
-    - Width refers to the thickness of line work drawn, in layer `SIZEUNITS`.
-      Default is 1.
-    - For symbols of Type HATCH, the WIDTH is how thick the hatched lines are.
+    `WIDTH` refers to the thickness of line work drawn, in layer `SIZEUNITS`.
+    Default is 1.
+
+    For scaling symbols (`SYMBOLSCALEDENOM` is specified for the
+    :ref:`LAYER`), `WIDTH` refers to the thickness of the line work
+    in layer `SIZEUNITS` at the map scale 1:`SYMBOLSCALEDENOM`.
+
+    - If used with `SYMBOL` and `OUTLINECOLOR`, `WIDTH` specifies the
+      width of the symbol outlines.  This applies to :ref:`SYMBOL`
+      `TYPE` `vector` (polygons), `ellipse` and `truetype`.
+    - For lines, `WIDTH` specifies the width of the line.
+    - For polygons, if used with `OUTLINECOLOR`, `WIDTH` specifies the
+      thickness of the polygon outline.
+    - For a `SYMBOL` of :ref:`SYMBOL` `TYPE` `hatch`, `WIDTH`
+      specifies the thickness of the hatched lines.
       For its use with hatched lines, see Example#8 in the
       :ref:`symbology examples <sym_examples>`.
-    - Attribute binding was added in version 5.2
-    - Starting from version 5.4, the value can also be a fractional value (and not
-      only integer).
+    - [*Attribute*] was added in version 5.2 to specify the item name in
+      the attribute table to use for the width value.
+    - Starting from version 5.4, the value can also be a fractional
+      value (and not only integer).



More information about the mapserver-commits mailing list