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

svn at osgeo.org svn at osgeo.org
Thu Feb 12 15:33:47 EST 2009


Author: tamas
Date: 2009-02-12 15:33:47 -0500 (Thu, 12 Feb 2009)
New Revision: 8541

Modified:
   trunk/docs/mapfile/feature.txt
   trunk/docs/mapfile/layer.txt
Log:
Added doc for the changes related to #2870

Modified: trunk/docs/mapfile/feature.txt
===================================================================
--- trunk/docs/mapfile/feature.txt	2009-02-12 20:20:12 UTC (rev 8540)
+++ trunk/docs/mapfile/feature.txt	2009-02-12 20:33:47 UTC (rev 8541)
@@ -15,7 +15,20 @@
     
     POLYGON/POLYLINE layers POINTS must start and end with the 
     same point (i.e. close the feature).
+    
+ITEMS
+    Comma separated list of the feature attributes:
+    
+    ::
+        
+        ITEMS "value1;value2;value3"
 
+.. note::
+    
+    Specifying the same number of items is recommended for each features
+    of the same layer. The item names should be specified as a PROCESSING
+    option of the layer.
+
 TEXT [string]
     String to use for labeling this feature.
 

Modified: trunk/docs/mapfile/layer.txt
===================================================================
--- trunk/docs/mapfile/layer.txt	2009-02-12 20:20:12 UTC (rev 8540)
+++ trunk/docs/mapfile/layer.txt	2009-02-12 20:33:47 UTC (rev 8541)
@@ -378,8 +378,16 @@
 
     .. code-block:: mapfile
 
-        PROCESSING "CLOSE_CONNECTION=DEFER" 
+        PROCESSING "CLOSE_CONNECTION=DEFER"
+    
+    The ITEMS processing option allows to specify the name of attributes 
+    for inline layers or specify the subset of the attributes to be used by
+    the layer, like:
+    
+    .. code-block:: mapfile
 
+        PROCESSING "ITEMS=itemname1,itemname2,itemname3"
+
 :ref:`PROJECTION`
     Signals the start of a :ref:`PROJECTION` object.
 



More information about the mapserver-commits mailing list