Opened 14 years ago

Closed 13 years ago

#3284 closed enhancement (fixed)

WMS 1.3: add support for LayerLimit

Reported by: bartvde Owned by: tomkralidis
Priority: normal Milestone: 6.0 release
Component: WMS Server Version: svn-trunk (development)
Severity: normal Keywords:
Cc: assefa, dmorissette

Description

This is most likely gonna be a requirement for INSPIRE View Services, which are based on WMS 1.3.

What we would need is:

1) METADATA at the WEB level to support setting a LayerLimit 2) GetMap handling of the LAYERS parameter to take into account this LayerLimit

The spec is not very specific about what a service should do in that case, but I presume throw a ServiceException. However there is no exception code for this.

Attachments (1)

mstrac-3284.patch (1.4 KB ) - added by tomkralidis 14 years ago.

Download all attachments as: .zip

Change History (5)

by tomkralidis, 14 years ago

Attachment: mstrac-3284.patch added

comment:1 by tomkralidis, 14 years ago

Owner: changed from mapserverbugs to tomkralidis
Status: newassigned

Bart: I propose MAP.WEB.METADATA.wms_layerlimit.

Question: if wms_layerlimit is NOT defined, should we still print out and use MS_LAYER_ALLOCSIZE (as defined in mapserver.h) instead?

See attached patch. Note this will only apply to >= WMS 1.3.0.

Thoughts?

comment:2 by tomkralidis, 14 years ago

Cc: assefa dmorissette added

comment:3 by tomkralidis, 14 years ago

After discussion with Daniel, MS_LAYER_ALLOCSIZE would not be a suitable default.

Committed in trunk/msautotest/docs in r9846.

comment:4 by tomkralidis, 13 years ago

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