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

svn at osgeo.org svn at osgeo.org
Thu Mar 31 06:24:38 EDT 2011


Author: havatv
Date: 2011-03-31 03:24:38 -0700 (Thu, 31 Mar 2011)
New Revision: 11418

Modified:
   trunk/docs/en/mapfile/style.txt
Log:
More detailed description of the ANGLE element

Modified: trunk/docs/en/mapfile/style.txt
===================================================================
--- trunk/docs/en/mapfile/style.txt	2011-03-31 09:13:01 UTC (rev 11417)
+++ trunk/docs/en/mapfile/style.txt	2011-03-31 10:24:38 UTC (rev 11418)
@@ -13,10 +13,26 @@
 the appearance of an object, notably a class.
 
 ANGLE [double|attribute|AUTO]
+    Angle, given in degrees, to rotate the symbol (counter clockwise).
+    Default is 0 (no rotation).
 
-    - Angle, given in degrees, to draw the line work. Default is 0. For
-      symbols of Type HATCH, this is the angle of the hatched lines. For its
-      use with hatched lines, see Example#8 in the :ref:`symbology examples
+    - For points, it specifies the rotation of the symbol around its center.
+    - For decorated lines, the behaviour depends on the value of
+      the GAP element.
+
+      - For negative GAP values it specifies the rotation of the
+        decoration symbol relative to the direction of the line.
+        An angle of 0 means that the symbol's x-axis is oriented
+        along the direction of the line.
+      - For non-negativ (or absent) GAP values it specifies the
+        rotation of the decoration symbol around its center.
+        An angle of 0 means that the symbol is not rotated.
+    - For polygons, it specifies the angle of the lines in a HATCH
+      symbol (0 - horizontal lines), or it specifies the rotation
+      of the symbol used to generate the pattern in a polygon fill
+      (it does not specify the rotation of the fill as a whole).
+      For its use with hatched lines, see Example#8 in the
+      :ref:`symbology examples
       <sym_examples>`.
     - [*Attribute*] was introduced in version 5.0, to specify the item name in
       the attribute table to use for angle values. The hard brackets [] are



More information about the mapserver-commits mailing list