[mapserver-commits] r8434 - trunk/docs/mapfile

svn at osgeo.org svn at osgeo.org
Fri Jan 16 13:23:35 EST 2009


Author: tbonfort
Date: 2009-01-16 13:23:35 -0500 (Fri, 16 Jan 2009)
New Revision: 8434

Modified:
   trunk/docs/mapfile/layer.txt
Log:
add explanation of how classes are used


Modified: trunk/docs/mapfile/layer.txt
===================================================================
--- trunk/docs/mapfile/layer.txt	2009-01-15 05:04:59 UTC (rev 8433)
+++ trunk/docs/mapfile/layer.txt	2009-01-16 18:23:35 UTC (rev 8434)
@@ -7,6 +7,12 @@
 :ref:`CLASS`
     Signals the start of a :ref:`CLASS` object.
 
+    Inside a layer, only a single class will be used for the rendering
+    of a feature. Each feature is tested against each class in the order
+    in which they are defined in the mapfile. The first class that matches
+    the its min/max scale constraints and its :ref:`EXPRESSION <expressions>`
+    check for the current feature will be used for rendering.
+
 .. index::
     single: CLASSITEM
     
@@ -560,4 +566,4 @@
 
 UNITS [feet|inches|kilometers|meters|miles|dd|pixels|percentages]
     Units of the layer. `Percentages` was added in MapServer 4.10 and is mostly
-    geared for inline features.
\ No newline at end of file
+    geared for inline features.



More information about the mapserver-commits mailing list