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

svn at osgeo.org svn at osgeo.org
Mon Dec 12 13:35:55 EST 2011


Author: jmckenna
Date: 2011-12-12 10:35:55 -0800 (Mon, 12 Dec 2011)
New Revision: 12885

Modified:
   trunk/docs/en/mapfile/label.txt
   trunk/docs/en/mapfile/style.txt
Log:
clarify GEOMTRANSFORM LABELPNT explanation

Modified: trunk/docs/en/mapfile/label.txt
===================================================================
--- trunk/docs/en/mapfile/label.txt	2011-12-12 10:27:41 UTC (rev 12884)
+++ trunk/docs/en/mapfile/label.txt	2011-12-12 18:35:55 UTC (rev 12885)
@@ -393,8 +393,9 @@
     GEOMTRANSFORM [labelpnt|labelpoly]
       Creates a geometry that can be used for styling the label.
 
-      - labelpnt generates the point relative to which the label will
-        be placed.
+      - labelpnt draws a marker on the geographic position the label is
+        attached to. This corresponds to the center of the label text 
+        only if the label is in position CC. 
 
       - labelpoly generates the bounding rectangle for the text, with
         1 pixel of padding added in all directions.

Modified: trunk/docs/en/mapfile/style.txt
===================================================================
--- trunk/docs/en/mapfile/style.txt	2011-12-12 10:27:41 UTC (rev 12884)
+++ trunk/docs/en/mapfile/style.txt	2011-12-12 18:35:55 UTC (rev 12885)
@@ -165,8 +165,10 @@
     - *end*: produces the last point of the current feature
       geometry. When used with `ANGLE` AUTO, it can for instance be
       used to render arrowheads on line segments.
-    - *labelpnt*: used for :ref:`LABEL` styles.  It produces a point
-      that is placed at the label's reference point.
+    - *labelpnt*: used for :ref:`LABEL` styles.  draws a marker on 
+      the geographic position the label is attached to. This 
+      corresponds to the center of the label text only if the label 
+      is in position CC. 
     - *labelpoly*: used for :ref:`LABEL` styles.  Produces a polygon
       that covers the label plus a 1 pixel padding.
     - *start*: produces the first point of the current feature



More information about the mapserver-commits mailing list