[mapserver-commits] r12506 - branches/branch-6-0/docs/en/mapfile/symbology trunk/docs/en/mapfile/symbology

svn at osgeo.org svn at osgeo.org
Mon Aug 29 08:26:50 EDT 2011


Author: havatv
Date: 2011-08-29 05:26:49 -0700 (Mon, 29 Aug 2011)
New Revision: 12506

Modified:
   branches/branch-6-0/docs/en/mapfile/symbology/construction.txt
   trunk/docs/en/mapfile/symbology/construction.txt
Log:
Added a section on the rendering of polygon outlines to the symbol construction document:

Modified: branches/branch-6-0/docs/en/mapfile/symbology/construction.txt
===================================================================
--- branches/branch-6-0/docs/en/mapfile/symbology/construction.txt	2011-08-29 08:18:45 UTC (rev 12505)
+++ branches/branch-6-0/docs/en/mapfile/symbology/construction.txt	2011-08-29 12:26:49 UTC (rev 12506)
@@ -726,6 +726,8 @@
 .. index::
    single: PATTERN
 
+.. _construction_pattern_gap:
+
 Use of the `PATTERN` and `GAP` parameters
 -----------------------------------------
 
@@ -2153,8 +2155,51 @@
     END
   END
 
+.. index::
+   single: Polygon outlines
 
+Polygon outlines
+----------------
 
+Polygon outlines can be created by using `OUTLINECOLOR` in the
+:ref:`STYLE`.  `WIDTH` specifies the width of the outlineline.
+
+.. code-block:: mapfile
+
+   STYLE
+     OUTLINECOLOR 0 255 0
+     WIDTH 3
+   END # STYLE
+
+Dashed polygon outlines can be achieved by using `OUTLINECOLOR`,
+`WIDTH` and `PATTERN` (together with `LINECAP`, `LINEJOIN` and
+`LINEJOINMAXSIZE`).  For more information on the use of `PATTERN`, see
+:ref:`construction_pattern_gap`.
+
+.. code-block:: mapfile
+
+   STYLE
+     OUTLINECOLOR 0 255 0
+     WIDTH 3
+     PATTERN
+       10 5
+     END # PATTERN
+     LINECAP BUTT
+   END # STYLE
+
+For some symbol types, it is even possible to style polygon outlines
+using `OUTLINECOLOR`, `SYMBOL` and `GAP`.
+
+.. code-block:: mapfile
+
+   STYLE
+     OUTLINECOLOR 0 255 0
+     SYMBOL 'circle'
+     SIZE 5
+     GAP 15
+   END # STYLE
+
+
 Examples (Mapserver 4)
 ======================
 

Modified: trunk/docs/en/mapfile/symbology/construction.txt
===================================================================
--- trunk/docs/en/mapfile/symbology/construction.txt	2011-08-29 08:18:45 UTC (rev 12505)
+++ trunk/docs/en/mapfile/symbology/construction.txt	2011-08-29 12:26:49 UTC (rev 12506)
@@ -726,6 +726,8 @@
 .. index::
    single: PATTERN
 
+.. _construction_pattern_gap:
+
 Use of the `PATTERN` and `GAP` parameters
 -----------------------------------------
 
@@ -2153,8 +2155,51 @@
     END
   END
 
+.. index::
+   single: Polygon outlines
 
+Polygon outlines
+----------------
 
+Polygon outlines can be created by using `OUTLINECOLOR` in the
+:ref:`STYLE`.  `WIDTH` specifies the width of the outlineline.
+
+.. code-block:: mapfile
+
+   STYLE
+     OUTLINECOLOR 0 255 0
+     WIDTH 3
+   END # STYLE
+
+Dashed polygon outlines can be achieved by using `OUTLINECOLOR`,
+`WIDTH` and `PATTERN` (together with `LINECAP`, `LINEJOIN` and
+`LINEJOINMAXSIZE`).  For more information on the use of `PATTERN`, see
+:ref:`construction_pattern_gap`.
+
+.. code-block:: mapfile
+
+   STYLE
+     OUTLINECOLOR 0 255 0
+     WIDTH 3
+     PATTERN
+       10 5
+     END # PATTERN
+     LINECAP BUTT
+   END # STYLE
+
+For some symbol types, it is even possible to style polygon outlines
+using `OUTLINECOLOR`, `SYMBOL` and `GAP`.
+
+.. code-block:: mapfile
+
+   STYLE
+     OUTLINECOLOR 0 255 0
+     SYMBOL 'circle'
+     SIZE 5
+     GAP 15
+   END # STYLE
+
+
 Examples (Mapserver 4)
 ======================
 



More information about the mapserver-commits mailing list