Opened 14 years ago

Closed 13 years ago

#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 (2)

comment:1 by tomkralidis, 14 years ago

Cc: sdlime warmerdam added
Milestone: 6.0 release
Owner: changed from sdlime to tomkralidis
Status: newassigned

comment:2 by tomkralidis, 13 years ago

Resolution: fixed
Status: assignedclosed

Fixed in trunk (r11170).

Note: See TracTickets for help on using tickets.