Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid hitting length limit for GET requests #2

Open
springmeyer opened this issue Nov 22, 2010 · 2 comments
Open

Avoid hitting length limit for GET requests #2

springmeyer opened this issue Nov 22, 2010 · 2 comments

Comments

@springmeyer
Copy link
Member

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.

@manelclos
Copy link
Member

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
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants