[mapserver-commits] r11223 - trunk/mapserver

svn at osgeo.org svn at osgeo.org
Fri Mar 18 10:22:29 EDT 2011


Author: tbonfort
Date: 2011-03-18 07:22:29 -0700 (Fri, 18 Mar 2011)
New Revision: 11223

Modified:
   trunk/mapserver/mapoutput.c
Log:
load default outputfroamts in a couple more places


Modified: trunk/mapserver/mapoutput.c
===================================================================
--- trunk/mapserver/mapoutput.c	2011-03-18 14:20:01 UTC (rev 11222)
+++ trunk/mapserver/mapoutput.c	2011-03-18 14:22:29 UTC (rev 11223)
@@ -832,6 +832,7 @@
 {
     int mime_count = 0, i;
 
+    msApplyDefaultOutputFormats(map);
     for( i = 0; i < map->numoutputformats && mime_count < max_mime; i++ )
     {
         int  j;
@@ -866,6 +867,7 @@
     int numtokens = 0;
     outputFormatObj *format;
 
+    msApplyDefaultOutputFormats(map);
     format_list = msOWSLookupMetadata(&(map->web.metadata), "M","getlegendgraphic_formatlist");
     if ( format_list && strlen(format_list) > 0)
       tokens = msStringSplit(format_list,  ',', &numtokens);



More information about the mapserver-commits mailing list