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

svn at osgeo.org svn at osgeo.org
Tue Jun 7 07:22:57 EDT 2011


Author: havatv
Date: 2011-06-07 04:22:57 -0700 (Tue, 07 Jun 2011)
New Revision: 11789

Modified:
   branches/branch-6-0/docs/en/mapfile/symbology/construction.txt
   trunk/docs/en/mapfile/symbology/construction.txt
Log:
Fixed some inconsistencies in the symbol construction document (#3910)

Modified: branches/branch-6-0/docs/en/mapfile/symbology/construction.txt
===================================================================
--- branches/branch-6-0/docs/en/mapfile/symbology/construction.txt	2011-06-06 17:31:28 UTC (rev 11788)
+++ branches/branch-6-0/docs/en/mapfile/symbology/construction.txt	2011-06-07 11:22:57 UTC (rev 11789)
@@ -952,7 +952,6 @@
         SIZE 20.0
         ANGLE 30
         GAP -50
-        #OFFSET -5 -99
       END # STYLE
     END # CLASS
   END # LAYER
@@ -977,11 +976,7 @@
         COLOR 102 0 0
         SYMBOL "P"
         SIZE 20
-        #SIZE 70
         GAP -30
-        #OUTLINECOLOR 0 255 0
-        #WIDTH 4
-        #OFFSET -10 -99
       END # STYLE
     END # CLASS
   END # LAYER
@@ -1006,11 +1001,7 @@
         COLOR 102 0 0
         SYMBOL "o-flag-trans"
         SIZE 20
-        #SIZE 70
         GAP -30
-        #OUTLINECOLOR 0 255 0
-        #WIDTH 4
-        #OFFSET -10 -99
       END # STYLE
     END # CLASS
   END # LAYER
@@ -1351,9 +1342,11 @@
    |    END                         |    IMAGE "stern.png"                            |
    |    STYLE                       |    TRANSPARENT 8                                |
    |      SYMBOL "in_the_star"      |  END                                            |
-   |      COLOR 0 0 0               |                                                 |
-   |      OUTLINECOLOR 0 0 0        |.. image:: ../../images/star-symbol.png          |
-   |    END                         |   :align: left                                  |
+   |    END                         |                                                 |
+   |    STYLE                       |.. image:: ../../images/star-symbol.png          |
+   |      OUTLINECOLOR 0 0 0        |   :align: left                                  |
+   |      WIDTH 1                   |                                                 |
+   |    END                         |                                                 |
    |  END                           |                                                 |
    +--------------------------------+-------------------------------------------------+
 
@@ -1372,12 +1365,12 @@
    |  CLASS                         |  SYMBOL                                         |
    |    STYLE                       |    NAME "in_point1"                             |
    |      SYMBOL "in_point1"        |    TYPE PIXMAP                                  |
-   |      COLOR 0 0 0               |    IMAGE "flaeche1_1.png"                       |
-   |      OUTLINECOLOR 0 0 0        |    TRANSPARENT 13                               |
-   |    END                         |  END                                            |
-   |  END                           |                                                 |
-   |                                |.. image:: ../../images/dot-symbol.png           |
-   |                                |   :align: left                                  |
+   |    END                         |    IMAGE "flaeche1_1.png"                       |
+   |    STYLE                       |    TRANSPARENT 13                               |
+   |      OUTLINECOLOR 0 0 0        |  END                                            |
+   |      WIDTH 1                   |                                                 |
+   |    END                         |.. image:: ../../images/dot-symbol.png           |
+   |  END                           |   :align: left                                  |
    +--------------------------------+-------------------------------------------------+
 
 .. figure:: ../../images/diagonal-area-symbol.png
@@ -1398,9 +1391,11 @@
    |    END                         |    IMAGE "schraffur.png"                        |
    |    STYLE                       |    TRANSPARENT 2                                |
    |      SYMBOL "in_hatch"         |  END                                            |
-   |      COLOR 0 0 0               |                                                 |
-   |      OUTLINECOLOR 0 0 0        |.. image:: ../../images/hatch.png                |
-   |    END                         |   :align: left                                  |
+   |    END                         |                                                 |
+   |    STYLE                       |.. image:: ../../images/hatch.png                |
+   |      OUTLINECOLOR 0 0 0        |   :align: left                                  |
+   |      WIDTH 1                   |                                                 |
+   |    END                         |                                                 |
    |  END                           |                                                 |
    +--------------------------------+-------------------------------------------------+
 
@@ -1433,14 +1428,14 @@
 
 .. note::
 
-  For line vector line symbols (`FILL` off), if a width greater than 1
+  For vector line symbols (`FILL` off), if a width greater than 1
   is specified, the lines will grow to extend outside the original
   bounding box of the symbol.  The parts that are outside of the
   bounding box will be cut away.
 
 :ref:`style` ANGLE can be used for polygon fills, but will only rotate
-each individual symbol, not the pattern as a whole.  To generate
-rotated patterns is therefore quite demanding.
+each individual symbol, not the pattern as a whole.  It is therefore
+quite demanding to generate rotated patterns.
 
 Below you will find some examples of vector symbols used for polygon
 fills.  The polygon fill is accompanied by the vector symbol used

Modified: trunk/docs/en/mapfile/symbology/construction.txt
===================================================================
--- trunk/docs/en/mapfile/symbology/construction.txt	2011-06-06 17:31:28 UTC (rev 11788)
+++ trunk/docs/en/mapfile/symbology/construction.txt	2011-06-07 11:22:57 UTC (rev 11789)
@@ -952,7 +952,6 @@
         SIZE 20.0
         ANGLE 30
         GAP -50
-        #OFFSET -5 -99
       END # STYLE
     END # CLASS
   END # LAYER
@@ -977,11 +976,7 @@
         COLOR 102 0 0
         SYMBOL "P"
         SIZE 20
-        #SIZE 70
         GAP -30
-        #OUTLINECOLOR 0 255 0
-        #WIDTH 4
-        #OFFSET -10 -99
       END # STYLE
     END # CLASS
   END # LAYER
@@ -1006,11 +1001,7 @@
         COLOR 102 0 0
         SYMBOL "o-flag-trans"
         SIZE 20
-        #SIZE 70
         GAP -30
-        #OUTLINECOLOR 0 255 0
-        #WIDTH 4
-        #OFFSET -10 -99
       END # STYLE
     END # CLASS
   END # LAYER
@@ -1351,9 +1342,11 @@
    |    END                         |    IMAGE "stern.png"                            |
    |    STYLE                       |    TRANSPARENT 8                                |
    |      SYMBOL "in_the_star"      |  END                                            |
-   |      COLOR 0 0 0               |                                                 |
-   |      OUTLINECOLOR 0 0 0        |.. image:: ../../images/star-symbol.png          |
-   |    END                         |   :align: left                                  |
+   |    END                         |                                                 |
+   |    STYLE                       |.. image:: ../../images/star-symbol.png          |
+   |      OUTLINECOLOR 0 0 0        |   :align: left                                  |
+   |      WIDTH 1                   |                                                 |
+   |    END                         |                                                 |
    |  END                           |                                                 |
    +--------------------------------+-------------------------------------------------+
 
@@ -1372,12 +1365,12 @@
    |  CLASS                         |  SYMBOL                                         |
    |    STYLE                       |    NAME "in_point1"                             |
    |      SYMBOL "in_point1"        |    TYPE PIXMAP                                  |
-   |      COLOR 0 0 0               |    IMAGE "flaeche1_1.png"                       |
-   |      OUTLINECOLOR 0 0 0        |    TRANSPARENT 13                               |
-   |    END                         |  END                                            |
-   |  END                           |                                                 |
-   |                                |.. image:: ../../images/dot-symbol.png           |
-   |                                |   :align: left                                  |
+   |    END                         |    IMAGE "flaeche1_1.png"                       |
+   |    STYLE                       |    TRANSPARENT 13                               |
+   |      OUTLINECOLOR 0 0 0        |  END                                            |
+   |      WIDTH 1                   |                                                 |
+   |    END                         |.. image:: ../../images/dot-symbol.png           |
+   |  END                           |   :align: left                                  |
    +--------------------------------+-------------------------------------------------+
 
 .. figure:: ../../images/diagonal-area-symbol.png
@@ -1398,9 +1391,11 @@
    |    END                         |    IMAGE "schraffur.png"                        |
    |    STYLE                       |    TRANSPARENT 2                                |
    |      SYMBOL "in_hatch"         |  END                                            |
-   |      COLOR 0 0 0               |                                                 |
-   |      OUTLINECOLOR 0 0 0        |.. image:: ../../images/hatch.png                |
-   |    END                         |   :align: left                                  |
+   |    END                         |                                                 |
+   |    STYLE                       |.. image:: ../../images/hatch.png                |
+   |      OUTLINECOLOR 0 0 0        |   :align: left                                  |
+   |      WIDTH 1                   |                                                 |
+   |    END                         |                                                 |
    |  END                           |                                                 |
    +--------------------------------+-------------------------------------------------+
 
@@ -1433,14 +1428,14 @@
 
 .. note::
 
-  For line vector line symbols (`FILL` off), if a width greater than 1
+  For vector line symbols (`FILL` off), if a width greater than 1
   is specified, the lines will grow to extend outside the original
   bounding box of the symbol.  The parts that are outside of the
   bounding box will be cut away.
 
 :ref:`style` ANGLE can be used for polygon fills, but will only rotate
-each individual symbol, not the pattern as a whole.  To generate
-rotated patterns is therefore quite demanding.
+each individual symbol, not the pattern as a whole.  It is therefore
+quite demanding to generate rotated patterns.
 
 Below you will find some examples of vector symbols used for polygon
 fills.  The polygon fill is accompanied by the vector symbol used



More information about the mapserver-commits mailing list