[mapserver-commits] r11437 - trunk/docs/en/mapfile
svn at osgeo.org
svn at osgeo.org
Thu Mar 31 12:26:59 EDT 2011
Author: havatv
Date: 2011-03-31 09:26:58 -0700 (Thu, 31 Mar 2011)
New Revision: 11437
Modified:
trunk/docs/en/mapfile/style.txt
Log:
STYLE: More detailed description for SIZE
Modified: trunk/docs/en/mapfile/style.txt
===================================================================
--- trunk/docs/en/mapfile/style.txt 2011-03-31 16:03:45 UTC (rev 11436)
+++ trunk/docs/en/mapfile/style.txt 2011-03-31 16:26:58 UTC (rev 11437)
@@ -200,14 +200,24 @@
SIZE [double|attribute]
- - 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>`.
- - [*Attribute*] was introduced in version 5.0, to specify the item name in
- the attribute table to use for size values. The hard brackets [] are
- required. For example, if your shapefile's DBF has a field named "MYSIZE"
- that holds size values for each record, your STYLE object for
+ Height, in layer `SIZEUNITS`, of the symbol/pattern to be used.
+ Only useful with scalable symbols (:ref:`SYMBOL` `TYPE` ellipse,
+ hatch, pixmap, truetype, vector). Default is 1.0.
+
+ For scaling symbols (`SYMBOLSCALEDENOM` is specified for the
+ :ref:`LAYER`), `SIZE` gives the height, in layer `SIZEUNITS`,
+ of the symbol/pattern to be used at the map scale
+ 1:`SYMBOLSCALEDENOM`.
+
+ - For symbols of `TYPE` `hatch`, the `SIZE` is the center to
+ center distance between the lines. For its use with hatched
+ lines, see Example#8 in the
+ :ref:`symbology examples <sym_examples>`.
+ - [*Attribute*] was introduced in version 5.0, to specify the
+ item name in the attribute table to use for size values.
+ The hard brackets [] are required.
+ For example, if your data set has an attribute named "MYSIZE"
+ that holds size values for each feature, your STYLE object for
hatched lines might contain:
.. code-block:: mapfile
@@ -221,8 +231,8 @@
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
- only integer).
+ - Starting from version 5.4, the value can also be a fractional
+ value (and not only integer).
SIZEITEM [string]
More information about the mapserver-commits
mailing list