[mapserver-commits] r10419 - trunk/docs/en/mapfile

svn at osgeo.org svn at osgeo.org
Thu Jul 29 16:44:25 EDT 2010


Author: jmckenna
Date: 2010-07-29 20:44:25 +0000 (Thu, 29 Jul 2010)
New Revision: 10419

Modified:
   trunk/docs/en/mapfile/web.txt
Log:
re-add queryformat,browseformat,legendformat (ticket:3135)

Modified: trunk/docs/en/mapfile/web.txt
===================================================================
--- trunk/docs/en/mapfile/web.txt	2010-07-29 20:37:09 UTC (rev 10418)
+++ trunk/docs/en/mapfile/web.txt	2010-07-29 20:44:25 UTC (rev 10419)
@@ -4,6 +4,14 @@
  WEB
 *****************************************************************************
 
+BROWSEFORMAT [mime-type]
+    Format of the interface output, using MapServer CGI. *(added to MapServer 4.8.0)* 
+    The default value is "text/html". Example:
+    
+    .. code-block:: mapfile
+    
+        BROWSEFORMAT "image/svg+xml"
+
 EMPTY [url]
     URL to forward users to if a query fails. If not defined the value for 
     ERROR is used.
@@ -27,6 +35,14 @@
 IMAGEURL [path]
     Base URL for IMAGEPATH. This is the URL that will take the web browser 
     to IMAGEPATH to get the images.
+    
+LEGENDFORMAT [mime-type]
+    Format of the legend output, using MapServer CGI. *(added to MapServer 4.8.0)*  
+    The default value is "text/html".  Example:
+    
+    .. code-block:: mapfile
+    
+        LEGENDFORMAT "image/svg+xml"     
 
 LOG [filename]
     File to log MapServer activity in. Must be writable by the user the web 
@@ -104,11 +120,16 @@
 MINTEMPLATE
     Template to be used if above the minimum scale for the app, useful 
     for nesting apps.
+    
+QUERYFORMAT [mime-type]
+    Format of the query output. *(added to MapServer 4.8.0)*  This works for 
+    mode=query (using query templates in CGI mode), but not for mode=browse.  
+    The default value is "text/html".  Example:
+    
+    .. code-block:: mapfile
+    
+        QUERYFORMAT "image/svg+xml"      
 
-OUTPUTFORMAT [mime-type]
-    Format of the query output. Default is "text/html". This is experimental, 
-    the use of the :ref:`OUTPUTFORMAT` object is recommended instead. 
-
 TEMPLATE [filename|url]
     Template file or URL to use in presenting the results to the user in an 
     interactive mode (i.e. map generates map and so on ... )
\ No newline at end of file



More information about the mapserver-commits mailing list