[mapserver-commits] r9633 - in trunk/docs: de/mapfile en/mapfile

svn at osgeo.org svn at osgeo.org
Sat Dec 19 09:27:22 EST 2009


Author: gislars
Date: 2009-12-19 09:27:21 -0500 (Sat, 19 Dec 2009)
New Revision: 9633

Modified:
   trunk/docs/de/mapfile/style.txt
   trunk/docs/en/mapfile/style.txt
Log:
(doc-en, doc-en) added MAXWIDTH description to style object

Modified: trunk/docs/de/mapfile/style.txt
===================================================================
--- trunk/docs/de/mapfile/style.txt	2009-12-19 13:37:04 UTC (rev 9632)
+++ trunk/docs/de/mapfile/style.txt	2009-12-19 14:27:21 UTC (rev 9633)
@@ -118,7 +118,11 @@
     .. versionadded:: 6.0 verschoben von :ref:`SYMBOL`
 
 MAXSIZE [integer]
-    Maximale Größe des Symbols. Angabe in Pixel, Standardwert ist 50.
+    Maximale Größe des Symbols. Angabe in Pixel, Standardwert ist 50.
+
+MAXWIDTH [integer]
+    Maximale Breite in Pixel mit der Linien gezeichnet werden.
+    Standardwert ist 32.
 
 MINSIZE [integer]
     Minimale Größe des Symbols. Angabe in Pixel, Standardwert ist 0.

Modified: trunk/docs/en/mapfile/style.txt
===================================================================
--- trunk/docs/en/mapfile/style.txt	2009-12-19 13:37:04 UTC (rev 9632)
+++ trunk/docs/en/mapfile/style.txt	2009-12-19 14:27:21 UTC (rev 9633)
@@ -4,12 +4,12 @@
  STYLE
 *****************************************************************************
 
-Style holds parameters for symbolization. Multiple styles may be applied 
+Style holds parameters for symbolization. Multiple styles may be applied
 within a class.
 
-This object is new in 4.0 and is intended to separate logic from looks. 
-The final intent is to have named styles (Not yet supported) that will be 
-re-usable through the mapfile. This is the new, preferred way of defining 
+This object is new in 4.0 and is intended to separate logic from looks.
+The final intent is to have named styles (Not yet supported) that will be
+re-usable through the mapfile. This is the new, preferred way of defining
 the appearance of an object, notably a class.
 
 ANGLE [double|attribute|AUTO]
@@ -27,12 +27,12 @@
       .. code-block:: mapfile
 
         STYLE
-          SYMBOL 'hatch-test'    
-          COLOR 255 0 0     
+          SYMBOL 'hatch-test'
+          COLOR 255 0 0
           ANGLE [MYANGLE]
           SIZE 4
-          WIDTH 3      
-        END 
+          WIDTH 3
+        END
 
       The associated RFC document for this feature is :ref:`RFC19`.
     - The AUTO keyword was added in version 5.4, and currently only applies
@@ -40,7 +40,7 @@
 
 ANGLEITEM [string]
 
-    - this parameter was removed in MapServer 5.0.  You should use 
+    - this parameter was removed in MapServer 5.0.  You should use
       the ANGLE [*attribute*] parameter instead.
     - For MapServer versions <5, this is the attribute/field that stores the
       angle to be used in rendering. Angle is given in degrees with 0 meaning no
@@ -63,26 +63,26 @@
 
       .. code-block:: mapfile
 
-        STYLE    
-          COLOR [MYCOLOR]    
-          OUTLINECOLOR 150 150 150      
-        END 
+        STYLE
+          COLOR [MYCOLOR]
+          OUTLINECOLOR 150 150 150
+        END
 
       The associated RFC document for this feature is :ref:`RFC19`.
 
 GAP [int]
-    Given in pixels. This defines a distance between symbols for 
+    Given in pixels. This defines a distance between symbols for
     TrueType lines.  As of MapServer 5.0 this also applies to PixMap symbols.
 
-    When drawing the symbol along a line segment, a negative GAP will will add 
-    180 degress to the angle. The TrueType and PixMap symbols are always oriented 
+    When drawing the symbol along a line segment, a negative GAP will will add
+    180 degress to the angle. The TrueType and PixMap symbols are always oriented
     along the line.  A GAP of 0 (the default value) will cause MapServer to use
     the symbol as a brush to draw the line.
-    
+
     .. versionadded:: 6.0 moved from :ref:`SYMBOL`
 
 GEOMTRANSFORM [start|end|vertices|bbox|centroid]
-    
+
     - Used to indicate that the current feature will be transformed before the actual
       style is applied. Only applies to versions from 5.4
     - "bbox": uses the current style for rendering the bounding box of the underlying
@@ -96,26 +96,29 @@
       oriented by the half angle formed by the two adjacent line segments.
 
 LINECAP [butt|round|square|triangle]
-    Sets the line cap type for the cartoline symbol. Default is butt. Works 
+    Sets the line cap type for the cartoline symbol. Default is butt. Works
     with the CARTOLINE symbol only!
-    
+
     .. versionadded:: 6.0 moved from :ref:`SYMBOL`
 
 LINEJOIN [round|miter|bevel]
-    Sets the line join type for the cartoline symbol. Default is "none" - 
+    Sets the line join type for the cartoline symbol. Default is "none" -
     lines will not be joined . Works with the CARTOLINE symbol only!
-    
+
     .. versionadded:: 6.0 moved from :ref:`SYMBOL`
 
 LINEJOINMAXSIZE [int]
-    Sets the max length of the miter line join type. The value represents a 
-    coefficient which multiplies a current symbol size. Default is 3. 
+    Sets the max length of the miter line join type. The value represents a
+    coefficient which multiplies a current symbol size. Default is 3.
     Works with the CARTOLINE symbol only!
-    
+
     .. versionadded:: 6.0 moved from :ref:`SYMBOL`
 
 MAXSIZE [integer]
-    Maximum size in pixels to draw a symbol. Default is 50.
+    Maximum size in pixels to draw a symbol. Default is 50.
+
+MAXWIDTH [integer]
+    Maximum width in pixels to draw the line work. Default is 32.
 
 MINSIZE [integer]
     Minimum size in pixels to draw a symbol. Default is 0.
@@ -133,7 +136,7 @@
 
 OUTLINECOLOR [r] [g] [b] | [attribute]
 
-    - Color to use for outlining polygons and certain marker symbols. Line 
+    - Color to use for outlining polygons and certain marker symbols. Line
       symbols do not support outline colors.
     - [*Attribute*] was introduced in version 5.0, to specify the item name in
       the attribute table to use for color values.  The hard brackets [] are
@@ -143,22 +146,22 @@
 
       .. code-block:: mapfile
 
-        STYLE    
-          COLOR 255 0 0    
-          OUTLINECOLOR [MYOUTCOLOR]      
-        END 
+        STYLE
+          COLOR 255 0 0
+          OUTLINECOLOR [MYOUTCOLOR]
+        END
 
       The associated RFC document for this feature is :ref:`RFC19`.
 
 PATTERN [num on] [num off] [num on] ... END
-    
+
     Defines a dash style or pattern for line symbologies.
-    
+
     .. versionadded:: 6.0 moved from :ref:`SYMBOL`
 
 SIZE [integer|attribute]
 
-    - Height, in layer SIZEUNITS, of the symbol/pattern to be used. Only useful with 
+    - Height, in layer SIZEUNITS, of the symbol/pattern to be used. Only useful with
       scalable symbols. Default is 1. For symbols of Type HATCH, the SIZE is the
       distance between hatched lines. For its use with hatched lines, see
       Example#8 in the :ref:`symbology examples <sym_examples>`.
@@ -171,12 +174,12 @@
       .. code-block:: mapfile
 
         STYLE
-          SYMBOL 'hatch-test'    
-          COLOR 255 0 0     
+          SYMBOL 'hatch-test'
+          COLOR 255 0 0
           ANGLE 45
           SIZE [MYSIZE]
-          WIDTH 3      
-        END 
+          WIDTH 3
+        END
 
       The associated RFC document for this feature is :ref:`RFC19`.
     - Starting from version 5.4, the value can also be a fractional value (and not
@@ -186,34 +189,32 @@
 SIZEITEM [string]
 
     - this parameter was removed in MapServer 5.0.  You should
-      use the SIZE [*attribute*] parameter instead. 
+      use the SIZE [*attribute*] parameter instead.
     - 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|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. 
-    You can also give your symbols names using the NAME keyword in the symbol 
-    definition file, and use those to refer to them. Default is 0, which 
-    results in a single pixel, single width line, or solid polygon fill, 
+    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.
+    You can also give your symbols names using the NAME keyword in the symbol
+    definition file, and use those to refer to them. Default is 0, which
+    results in a single pixel, single width line, or solid polygon fill,
     depending on layer type.
 
-    You can also specify a gif or png filename. The path is relative to the 
-    location of the mapfile. 
+    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`.
       Default is 1.
-    - For symbols of Type HATCH, the WIDTH is how thick the hatched lines are. 
-      For its use with hatched lines, see Example#8 in the 
+    - For symbols of Type HATCH, the WIDTH is how thick the hatched lines are.
+      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). Note that currently only the :ref:`AGG <AGG>` renderer can
-      correctly render fractional widths.
-
-
+      correctly render fractional widths.



More information about the mapserver-commits mailing list