[mapserver-commits] r11632 - trunk/mapserver

svn at osgeo.org svn at osgeo.org
Tue May 3 06:13:26 EDT 2011


Author: schpidi
Date: 2011-05-03 03:13:26 -0700 (Tue, 03 May 2011)
New Revision: 11632

Modified:
   trunk/mapserver/HISTORY.TXT
   trunk/mapserver/mapwcs.c
Log:
Fixing missing initialization of default formats in WCS 1.x.


Modified: trunk/mapserver/HISTORY.TXT
===================================================================
--- trunk/mapserver/HISTORY.TXT	2011-04-30 14:35:32 UTC (rev 11631)
+++ trunk/mapserver/HISTORY.TXT	2011-05-03 10:13:26 UTC (rev 11632)
@@ -15,6 +15,8 @@
 Current Version (SVN trunk): 
 ---------------------------- 
 
+- Fix missing initialization of default formats in WCS 1.x.
+
 - Fix maxoverlapangle when value is set to 0 (#3856)
 
 Version 6.0.0-rc1 (2011-04-27)

Modified: trunk/mapserver/mapwcs.c
===================================================================
--- trunk/mapserver/mapwcs.c	2011-04-30 14:35:32 UTC (rev 11631)
+++ trunk/mapserver/mapwcs.c	2011-05-03 10:13:26 UTC (rev 11632)
@@ -1886,6 +1886,7 @@
     msSetError( MS_WCSERR,  "Missing required FORMAT parameter.", "msWCSGetCoverage()" );
     return msWCSException(map, "MissingParameterValue", "format", params->version);
   }
+  msApplyDefaultOutputFormats(map);
   if(msGetOutputFormatIndex(map,params->format) == -1) {
     msSetError( MS_WCSERR,  "Unrecognized value for the FORMAT parameter.", "msWCSGetCoverage()" );
     return msWCSException(map, "InvalidParameterValue", "format", 



More information about the mapserver-commits mailing list