Permalink
Browse files

Added default outputformats which fixes missing default formats when …

…only the ServiceMetadata section is requested.
  • Loading branch information...
1 parent e83a0cb commit 8dab0b617f832170ce18b196e24e417161fc9924 @constantinius constantinius committed Oct 3, 2014
Showing with 3 additions and 0 deletions.
  1. +3 −0 mapwcs20.c
View
@@ -2711,6 +2711,9 @@ int msWCSGetCapabilities20(mapObj *map, cgiRequestObj *req,
if ( MS_WCS_20_CAPABILITIES_INCLUDE_SECTION(params, "ServiceMetadata") ) {
psNode = xmlNewChild(psRootNode, psWcsNs, BAD_CAST "ServiceMetadata", NULL);
+ /* Apply default formats */
+ msApplyDefaultOutputFormats(map);
+
/* Add formats list */
format_list = msWCSGetFormatsList20(map, NULL);
msLibXml2GenerateList(psNode, psWcsNs, "formatSupported", format_list, ',');

0 comments on commit 8dab0b6

Please sign in to comment.