[mapserver-commits] r12886 - branches/branch-6-0/docs/en/mapfile
svn at osgeo.org
svn at osgeo.org
Mon Dec 12 13:42:56 EST 2011
Author: jmckenna
Date: 2011-12-12 10:42:56 -0800 (Mon, 12 Dec 2011)
New Revision: 12886
Modified:
branches/branch-6-0/docs/en/mapfile/label.txt
branches/branch-6-0/docs/en/mapfile/style.txt
Log:
clarify GEOMTRANSFORM LABELPNT explanation
Modified: branches/branch-6-0/docs/en/mapfile/label.txt
===================================================================
--- branches/branch-6-0/docs/en/mapfile/label.txt 2011-12-12 18:35:55 UTC (rev 12885)
+++ branches/branch-6-0/docs/en/mapfile/label.txt 2011-12-12 18:42:56 UTC (rev 12886)
@@ -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: branches/branch-6-0/docs/en/mapfile/style.txt
===================================================================
--- branches/branch-6-0/docs/en/mapfile/style.txt 2011-12-12 18:35:55 UTC (rev 12885)
+++ branches/branch-6-0/docs/en/mapfile/style.txt 2011-12-12 18:42:56 UTC (rev 12886)
@@ -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