Opened 16 years ago

Closed 16 years ago

#2509 closed defect (fixed)

A GetCoverage request sent to a WCS 1.0.0 server, with an invalid value for a parameter in the AxisDescription must trigger an exception

Reported by: nsavard Owned by: tomkralidis
Priority: normal Milestone: 5.2 release
Component: WCS Server Version: svn-trunk (development)
Severity: normal Keywords: OGC, Cite, TEAM, WCS 1.0.0
Cc: sdlime, warmerdam

Description

When a GetCoverage request is sent to a WCS 1.0.0 server, which request has an invalid value for a parameter in the AxisDescription, must return an exception.

The concerned CITE test on the TEAM engine is: wcs1-0-0:getcoverage_operations-getcoverage_request-parameter-get-kvp-3

and the request is:

http://dev1.lan.mapgears.com/manwe/cgi-bin/mswcs100_ogc_cite?&CrS=EPSG:4326&bands=WCS_PARAMETER_VALUE_INVALID&VeRsIoN=1.0.0&HeIgHt=100&ReQuEsT=GetCoverage&CoVeRaGe=ndvi&SeRvIcE=WCS&FoRmAt=GEOTIFF_INT16&BbOx=-97.7071758865421,41.0324719184183,-80.6778361148771,49.6650665681236&WiDtH=200

Change History (10)

comment:1 by tomkralidis, 16 years ago

Steve: here, do we have to:

  • handle BANDS parameter
  • scan wcs_rangeset_axes for the term "bands"
  • if it exists
    • scan wcs_bandcount for a match; if no match, throw exception
  • if not
    • throw exception as not defined

I'm not entirely clear on the behavioiur here, but it looks like bands is passed as a "PARAMETER" type parameter in WCS 1.0.0, which gets picked up from a given DescribeCoverage operation?

Steve: if you can clarify here, that would be great.

comment:2 by tomkralidis, 16 years ago

Cc: warmerdam added

comment:3 by nsavard, 16 years ago

Keywords: OGC,Cite,TEAM, WCS 1.0.0 → OGC,Cite,TEAM,WCS 1.0.0

comment:4 by tomkralidis, 16 years ago

Norm: can you send/post a testcase (minimal mapfile and data to reproduce)? I tried this against some local data and seems to have worked.

comment:5 by tomkralidis, 16 years ago

Fixed:

  • trunk (r7639)
  • added a testcase to msautotest (r7640)

Props to Steve for guidance.

Norm: can you test and verify?

comment:6 by tomkralidis, 16 years ago

FYI small fix to test metadata at r7641

comment:7 by nsavard, 16 years ago

Tom: I'll check.

comment:8 by tomkralidis, 16 years ago

Norm: any update on this one?

comment:9 by nsavard, 16 years ago

This is fixed.

comment:10 by tomkralidis, 16 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.