[mapserver-commits] r8493 - trunk/docs/ogc
svn at osgeo.org
svn at osgeo.org
Tue Feb 3 18:22:33 EST 2009
Author: tomkralidis
Date: 2009-02-03 18:22:33 -0500 (Tue, 03 Feb 2009)
New Revision: 8493
Modified:
trunk/docs/ogc/mapcontext.txt
Log:
add info for WMS GetContext (#481)
Modified: trunk/docs/ogc/mapcontext.txt
===================================================================
--- trunk/docs/ogc/mapcontext.txt 2009-02-03 22:21:35 UTC (rev 8492)
+++ trunk/docs/ogc/mapcontext.txt 2009-02-03 23:22:33 UTC (rev 8493)
@@ -485,7 +485,29 @@
IMAGEURL "/ms_tmp/"
END
END # Map File
-
+
+Map Context Support Through WMS
+-------------------------------
+
+MapServer can also output your WMS layers as a Context document. MapServer
+extends the WMS standard by adding a request=GetContext operation that allows
+you to retrieve a context for a WMS-based mapfile with a call
+like:
+
+::
+
+ http://localhost/mapserver.cgi?map=/path/to/mapfile.map&service=WMS&
+ request=GetContext&version=1.1.0
+
+The VERSION parameter controls the version of context document to return.
+
+GetContext is disabled by default because it could be
+considered a security issue: it could publicly expose the URLs of WMS layers
+used (cascaded) by a mapfile.
+
+To enable it, set the "wms_getcontext_enabled" web metadata to "1" in your
+WMS server's mapfile.
+
.. #### rST Link Section ####
.. _`Web Map Context Specification v1.0.0`: http://www.opengeospatial.org/docs/03-036r2.pdf
More information about the mapserver-commits
mailing list