Ticket #3528 (closed defect: fixed)
fallback to ows_title for WCS ows:Title of CoverageDescription
| Reported by: | bartvde | Owned by: | tomkralidis |
|---|---|---|---|
| Priority: | normal | Milestone: | 6.0 release |
| Component: | WCS Server | Version: | svn-trunk (development) |
| Severity: | normal | Keywords: | |
| Cc: | sdlime, warmerdam |
Description
Currently the code falls back to LAYER->NAME, I would suggest adding one intermediate step: ows_title METADATA.
mapwcs11.c:
/* -------------------------------------------------------------------- */
/* Title (from description) */
/* -------------------------------------------------------------------- */
value = msOWSLookupMetadata( &(layer->metadata), "COM", "description");
if( value == NULL )
value = msOWSLookupMetadata( &(layer->metadata), "COM", "title");
if (value == NULL)
value = layer->name;
xmlNewChild( psCSummary, psOwsNs, BAD_CAST "Title", BAD_CAST value );
Change History
Note: See
TracTickets for help on using
tickets.
