Ticket #2503 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

When a GetCoverage request is sent to a WCS 1.0.0 server with a bbox outside of the defined bbox (describecoverage), the server must return 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: dmorissette

Description

A request to a WCS 1.0.0 server with a bbox outside of the one returned by a describecoverage operation, must return an exception.

The following test failed because of that wcs1-0-0/getcoverage_operations/getcoverage_request/bbox/get/kvp/3

The defined bbox is:

<gml:Envelope srsName="EPSG:4326">

<gml:pos>-97.7071758865421 41.0324719184183</gml:pos> <gml:pos>-80.6778361148771 49.6650665681236</gml:pos>

</gml:Envelope>

and the GetCoverage? request is:

 http://dev1.lan.mapgears.com/manwe/cgi-bin/mswcs100_ogc_cite?VeRsIoN=1.0.0&CrS=EPSG:4326&ReQuEsT=GetCoverage&FoRmAt=GEOTIFF_INT16&WiDtH=200&BbOx=-99.7071758865421,39.0324719184183,-98.7071758865421,40.0324719184183&CoVeRaGe=ndvi&SeRvIcE=WCS&HeIgHt=100

Change History

  Changed 5 years ago by nsavard

  • keywords OGC,Cite,TEAM,WCS added; OGC,Cite,TEAM, LEGACY,WCS removed

  Changed 5 years ago by dmorissette

  • cc dmorissette added

  Changed 5 years ago by tomkralidis

  • owner changed from sdlime to tomkralidis
  • status changed from new to assigned
  • summary changed from When a GetCoverable request is sent to a WCS 1.0.0 server with a bbox outside of the defined bbox (describecoverage), the server must return an exception to When a GetCoverage request is sent to a WCS 1.0.0 server with a bbox outside of the defined bbox (describecoverage), the server must return an exception

  Changed 5 years ago by warmerdam

I have applied a patch prepared by Tom to do this after a slight tweak. The patch was applied in trunk (r7430).

I think this is fixed, but would appreciate testing and perhaps a test case in msautotest.

follow-up: ↓ 6   Changed 5 years ago by tomkralidis

Thanks Frank. I cleaned up the exception message in r7431 (had a bunch of stuff in there for testing), and added to msautotest/wxs r7432.

Norm: can you check and verify?

in reply to: ↑ 5 ; follow-up: ↓ 7   Changed 5 years ago by nsavard

Replying to tomkralidis:

Norm: can you check and verify?

I'll do.

in reply to: ↑ 6   Changed 5 years ago by nsavard

Replying to nsavard:

Replying to tomkralidis:

Norm: can you check and verify?

I'll do.

This is fixed.

  Changed 5 years ago by tomkralidis

  • status changed from assigned to closed
  • resolution set to fixed

Norm: thanks for checking. Closing.

Note: See TracTickets for help on using tickets.