Skip to content

Commit

Permalink
Merge branch 'branch-6-0' into branch-6-2
Browse files Browse the repository at this point in the history
Conflicts:
	mapogr.cpp
	mapscript/php/image.c
	mapscript/php/php_mapscript.c
	mapscript/php/php_mapscript_util.c
	mapsymbol.c
	mapwcs11.c
	mapwcs20.c
  • Loading branch information
Schpidi committed Aug 28, 2012
2 parents 7266535 + b89c07e commit 6961ebb
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 2 deletions.
6 changes: 6 additions & 0 deletions HISTORY.TXT
Expand Up @@ -34,6 +34,12 @@ Version 6.2 (beta1: 20120629):

- Fix wms_enable_request-related errors are not properly tagged (#4187)

- Fixed "msGetMarkerSize() called on unloaded pixmap symbol" in mapsymbol.c (#4225)

- Fixed PHP MapScript support for PHP 5.4 (#4309)

- Fix msOGREscapeSQLParam could return random data (#4335)

- Fixed locations of supported and native formats in Capabilities and CoverageDescriptions for WCS 2.0 (#4003)

- Made format parameter for WCS 2.0 GetCoverage requests optional (#4003)
Expand Down
8 changes: 8 additions & 0 deletions mapwcs11.c
Expand Up @@ -136,6 +136,14 @@ static char *msWCSGetFormatsList11( mapObj *map, layerObj *layer )
tokens = msStringSplit(value, ' ', &numtokens);
}

/* -------------------------------------------------------------------- */
/* Parse from map.web metadata. */
/* -------------------------------------------------------------------- */
else if((value = msOWSGetEncodeMetadata( &(map->web.metadata), "CO", "formats",
NULL)) != NULL ) {
tokens = msStringSplit(value, ' ', &numtokens);
}

/* -------------------------------------------------------------------- */
/* Or generate from all configured raster output formats that */
/* look plausible. */
Expand Down
13 changes: 11 additions & 2 deletions mapwcs20.c
Expand Up @@ -1212,6 +1212,14 @@ static char *msWCSGetFormatsList20( mapObj *map, layerObj *layer )
tokens = msStringSplit(value, ' ', &numtokens);
}

/* -------------------------------------------------------------------- */
/* Parse from map.web metadata. */
/* -------------------------------------------------------------------- */
else if((value = msOWSGetEncodeMetadata( &(map->web.metadata), "CO", "formats",
NULL)) != NULL ) {
tokens = msStringSplit(value, ' ', &numtokens);
}

/* -------------------------------------------------------------------- */
/* Or generate from all configured raster output formats that */
/* look plausible. */
Expand Down Expand Up @@ -2825,7 +2833,8 @@ static int msWCSDescribeCoverage20_CoverageDescription(mapObj *map,
/* -------------------------------------------------------------------- */
/* SupportedFormats */
/* -------------------------------------------------------------------- */
{
/* for now, WCS 2.0 does not allow per coverage format definitions */
/*{
xmlNodePtr psSupportedFormats;
char *format_list;
Expand All @@ -2840,7 +2849,7 @@ static int msWCSDescribeCoverage20_CoverageDescription(mapObj *map,
}
msFree(format_list);
}
}*/

/* -------------------------------------------------------------------- */
/* nativeFormat */
Expand Down

0 comments on commit 6961ebb

Please sign in to comment.