[mapserver-commits] r8577 - trunk/docs/ogc

svn at osgeo.org svn at osgeo.org
Wed Feb 18 11:38:50 EST 2009


Author: tomkralidis
Date: 2009-02-18 11:38:50 -0500 (Wed, 18 Feb 2009)
New Revision: 8577

Modified:
   trunk/docs/ogc/wms_server.txt
Log:
add MapScript WxS example


Modified: trunk/docs/ogc/wms_server.txt
===================================================================
--- trunk/docs/ogc/wms_server.txt	2009-02-18 16:20:06 UTC (rev 8576)
+++ trunk/docs/ogc/wms_server.txt	2009-02-18 16:38:50 UTC (rev 8577)
@@ -498,6 +498,20 @@
         Set objHTTP = Nothing
       %>
 
+4. Some OGC services (WFS, SOS) support both GET and POST requests.  Here, you
+   can use a minimal MapScript WxS wrapper.  Here's a Python example:
+
+   .. code-block:: python
+
+      #!/usr/bin/python
+
+      import mapscript
+
+      req = mapscript.OWSRequest()
+      req.loadParams()
+      map = mapscript.mapObj('/path/to/config.map')
+      map.OWSDispatch(req)
+
 GetLegendGraphic Request
 ------------------------
 



More information about the mapserver-commits mailing list