[mapserver-commits] r11170 - trunk/mapserver
svn at osgeo.org
svn at osgeo.org
Wed Mar 16 10:59:28 EDT 2011
Author: tomkralidis
Date: 2011-03-16 07:59:28 -0700 (Wed, 16 Mar 2011)
New Revision: 11170
Modified:
trunk/mapserver/HISTORY.TXT
trunk/mapserver/mapwcs11.c
Log:
fallback to ows_title for WCS ows:Title of CoverageDescription (#3528)
Modified: trunk/mapserver/HISTORY.TXT
===================================================================
--- trunk/mapserver/HISTORY.TXT 2011-03-16 14:48:45 UTC (rev 11169)
+++ trunk/mapserver/HISTORY.TXT 2011-03-16 14:59:28 UTC (rev 11170)
@@ -14,6 +14,8 @@
Current Version (SVN trunk):
----------------------------
+- fallback to ows_title for WCS ows:Title of CoverageDescription (#3528)
+
- Added msIO_stripStdoutBufferContentHeaders() to strip off all Content-* headers from a buffer (#3673, #3665).
- Added raster classification support for STYLE level OPACITY.
Modified: trunk/mapserver/mapwcs11.c
===================================================================
--- trunk/mapserver/mapwcs11.c 2011-03-16 14:48:45 UTC (rev 11169)
+++ trunk/mapserver/mapwcs11.c 2011-03-16 14:59:28 UTC (rev 11170)
@@ -256,7 +256,9 @@
/* -------------------------------------------------------------------- */
value = msOWSLookupMetadata( &(layer->metadata), "COM", "description");
if( value == NULL )
- value = layer->name;
+ value = msOWSLookupMetadata( &(layer->metadata), "COM", "title");
+ if( value == NULL )
+ value = layer->name;
xmlNewChild( psCSummary, psOwsNs, BAD_CAST "Title", BAD_CAST value );
/* -------------------------------------------------------------------- */
More information about the mapserver-commits
mailing list