[mapserver-commits] r12582 - branches/branch-6-0/docs/en/mapfile trunk/docs/en/mapfile

svn at osgeo.org svn at osgeo.org
Sat Sep 24 16:18:12 EDT 2011


Author: havatv
Date: 2011-09-24 13:18:12 -0700 (Sat, 24 Sep 2011)
New Revision: 12582

Modified:
   branches/branch-6-0/docs/en/mapfile/layer.txt
   trunk/docs/en/mapfile/layer.txt
Log:
Added notes on the behaviour of groups in the layer document (#3516).

Modified: branches/branch-6-0/docs/en/mapfile/layer.txt
===================================================================
--- branches/branch-6-0/docs/en/mapfile/layer.txt	2011-09-24 19:52:19 UTC (rev 12581)
+++ branches/branch-6-0/docs/en/mapfile/layer.txt	2011-09-24 20:18:12 UTC (rev 12582)
@@ -241,6 +241,10 @@
     reference as a regular layer name in the template files, allowing to do 
     things like turning on and off a group of layers at once.
 
+    If a group name is present in the LAYERS parameter of a CGI
+    request, all the layers of the group are returned (the `STATUS` of
+    the `LAYER`\s have no effect).
+
 .. index::
    pair: LAYER; HEADER
     
@@ -611,6 +615,10 @@
         For :ref:`WMS <wms_server>`, layers in the server mapfile with STATUS
         DEFAULT are always sent to the client.
 
+    .. note::
+       The STATUS of the individual layers of a GROUP has no effect
+       when the group name is present in the LAYERS parameter of a CGI
+       request - all the layers of the group will be returned.
 
 .. index::
    pair: LAYER; STYLEITEM

Modified: trunk/docs/en/mapfile/layer.txt
===================================================================
--- trunk/docs/en/mapfile/layer.txt	2011-09-24 19:52:19 UTC (rev 12581)
+++ trunk/docs/en/mapfile/layer.txt	2011-09-24 20:18:12 UTC (rev 12582)
@@ -241,6 +241,10 @@
     reference as a regular layer name in the template files, allowing to do 
     things like turning on and off a group of layers at once.
 
+    If a group name is present in the LAYERS parameter of a CGI
+    request, all the layers of the group are returned (the `STATUS` of
+    the `LAYER`\s have no effect).
+
 .. index::
    pair: LAYER; HEADER
     
@@ -611,6 +615,10 @@
         For :ref:`WMS <wms_server>`, layers in the server mapfile with STATUS
         DEFAULT are always sent to the client.
 
+    .. note::
+       The STATUS of the individual layers of a GROUP has no effect
+       when the group name is present in the LAYERS parameter of a CGI
+       request - all the layers of the group will be returned.
 
 .. index::
    pair: LAYER; STYLEITEM



More information about the mapserver-commits mailing list