Skip to content

Commit

Permalink
Added default outputformats which fixes missing default formats when …
Browse files Browse the repository at this point in the history
…only the ServiceMetadata section is requested.
  • Loading branch information
constantinius committed Oct 3, 2014
1 parent e83a0cb commit 8dab0b6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mapwcs20.c
Original file line number Diff line number Diff line change
Expand Up @@ -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, ',');
Expand Down

0 comments on commit 8dab0b6

Please sign in to comment.