[mapserver-commits] r10418 - branches/branch-5-6/docs/en/mapfile

svn at osgeo.org svn at osgeo.org
Thu Jul 29 16:37:09 EDT 2010


Author: jmckenna
Date: 2010-07-29 20:37:09 +0000 (Thu, 29 Jul 2010)
New Revision: 10418

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

Modified: branches/branch-5-6/docs/en/mapfile/web.txt
===================================================================
--- branches/branch-5-6/docs/en/mapfile/web.txt	2010-07-29 19:45:43 UTC (rev 10417)
+++ branches/branch-5-6/docs/en/mapfile/web.txt	2010-07-29 20:37:09 UTC (rev 10418)
@@ -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 
@@ -105,9 +121,14 @@
     Template to be used if above the minimum scale for the app, useful 
     for nesting apps.
 
-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. 
+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"  
 
 TEMPLATE [filename|url]
     Template file or URL to use in presenting the results to the user in an 



More information about the mapserver-commits mailing list