Opened 15 years ago

Closed 15 years ago

Last modified 13 years ago

#3204 closed enhancement (fixed)

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 (1)

3204_maxsize.patch (785 bytes ) - added by warmerdam 15 years ago.
WCS Patch to honour maxsize

Download all attachments as: .zip

Change History (6)

comment:1 by warmerdam, 15 years ago

Cc: sdlime added
Keywords: MAXSIZE added
Milestone: 6.0 release
Owner: changed from sdlime to warmerdam

by warmerdam, 15 years ago

Attachment: 3204_maxsize.patch added

WCS Patch to honour maxsize

comment:2 by warmerdam, 15 years ago

Status: newassigned

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

comment:3 by Schpidi, 15 years ago

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."

comment:4 by warmerdam, 15 years ago

Resolution: fixed
Status: assignedclosed

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

comment:5 by Schpidi, 13 years ago

Added support to WCS 2.0 with r11178.

Added tests to msautotest with r11179.

Note: See TracTickets for help on using tickets.