Ticket #3204 (closed enhancement: fixed)

Opened 4 years ago

Last modified 2 years ago

Limit the size of WCS responses

Reported by: Schpidi Owned by: warmerdam
Priority: normal Milestone: 6.0 release
Component: WCS Server Version: unspecified
Severity: normal Keywords: MAXSIZE
Cc: sdlime

Description

Request for possibility to limit the size of WCS responses in the MapFile

Maybe this could be done by using the maxsize parameter of the mapObj.

Attachments

3204_maxsize.patch Download (0.8 KB) - added by warmerdam 4 years ago.
WCS Patch to honour maxsize

Change History

Changed 4 years ago by warmerdam

  • cc sdlime added
  • keywords MAXSIZE added
  • owner changed from sdlime to warmerdam
  • milestone set to 6.0 release

Changed 4 years ago by warmerdam

WCS Patch to honour maxsize

Changed 4 years ago by warmerdam

  • status changed from new to assigned

Stephan reports this works fine. I suggest we hold off on applying it to trunk till after the 5.6 release.

Changed 4 years ago by Schpidi

Thanks, the patch does the trick for me.

Maybe the error message should respect the fact that a GetCoverage request doesn't have to include width and height. I propose to use something like: "Raster size out of range, width and height of resulting coverage must be no more than MAXSIZE=%d."

Changed 3 years ago by warmerdam

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

I have applied the patch in trunk so it should appear in MapServer 6 (r9641).

Changed 2 years ago by Schpidi

Added support to WCS 2.0 with r11178.

Added tests to msautotest with r11179.

Note: See TracTickets for help on using tickets.