OGCServer icon indicating copy to clipboard operation
OGCServer copied to clipboard

Avoid hitting length limit for GET requests

Open springmeyer opened this issue 15 years ago • 2 comments

When serving WMS for stylesheets with many layers, and layers with long names, its easy to hit the limit for length of GET requests for a given browser.

A "meta layers" hack was added to work around this problem for a haiti deployment of the ogcserver: https://github.com/mapnik/OGCServer/blob/master/ogcserver/common.py#L384 and this needs to be removed and proper support added.

springmeyer avatar Nov 22 '10 19:11 springmeyer

The natural thing to do would be to follow the WMS spec, and allow Layers to contain other Layers (wms 1.1.1 spec: 7.1.4.5.2). But the support must be added to mapnik first.

manelclos avatar Dec 21 '10 22:12 manelclos

Initial support can be added with:

[map] wms_groups = streets, buildings

[group_streets] wms_title = Streets wms_layers = streets_layer1, streets_layer1_labels wms_name = streets

manelclos avatar May 11 '11 13:05 manelclos