Opened 17 years ago

Closed 16 years ago

#2036 closed defect (fixed)

wcs_name is used to generate DescribeCoverage XML, but does not allow access to the specified layer by that name

Reported by: hobu Owned by: sdlime
Priority: high Milestone: 5.2 release
Component: WCS Server Version: svn-trunk (development)
Severity: normal Keywords:
Cc: tomkralidis, warmerdam

Description (last modified by sdlime)

wcs_name (and probably ows_name) are used in the generation of DescribeCoverage
XML, but if you attempt to try and explicitly DescribeCoverage with
coverage=wcs_name, the server reports it cannot find the layer.  It is possible
to use coverage=mapserver_real_layer_name, however.

Change History (8)

comment:1 by fwarmerdam, 17 years ago

Cc: warmerdam@… added

comment:2 by tomkralidis, 17 years ago

Cc: tomkralidis added

Looks like an addition to mapwcs.c msWCSDescribeCoverage to check against wcs_name first, then LAYER/NAME?

comment:3 by sdlime, 17 years ago

Description: modified (diff)
Status: newassigned

comment:4 by tomkralidis, 16 years ago

Cc: warmerdam added
Milestone: 5.2 release

comment:5 by tomkralidis, 16 years ago

Version: unspecifiedsvn-trunk (development)

comment:6 by sdlime, 16 years ago

Has anyone touched this as part of the WCS conformance testing or in the WCS 2.0 implementation? I expect not but wanted to check before spending the time looking into it.

Steve

comment:7 by sdlime, 16 years ago

Looks like 1.0 still suffers from this. The fix is to lookup the name using the ows get metadata functions and compare that to the coverage parameter. I can commit when I get to a box I can test with. Don't know if 2.0 suffers from this.

Steve

comment:8 by sdlime, 16 years ago

Resolution: fixed
Status: assignedclosed

Fixed in r7617. Updated DescribeCoverage too since it had the same problem.

Steve

Note: See TracTickets for help on using tickets.