Opened 12 years ago
Closed 12 years ago
#4207 closed enhancement (fixed)
Add classgroup CGI parameter.
Reported by: | sdlime | Owned by: | jmckenna |
---|---|---|---|
Priority: | normal | Milestone: | 6.2 release |
Component: | Documentation - MapServer | Version: | svn-trunk (development) |
Severity: | normal | Keywords: | |
Cc: | havatv |
Description
I’ve recently discovered the usefulness of class GROUPs in setting up a mapfile to render nicely with and without an image background. It’s very handy to manage 1 layer definition with alternative display configs. What sucks is triggering the use of a group. Maybe I’m missing something but I had to do URL-based config on each layer that supported the different class groups.
It would be helpful to define a classgroup once and then for all layers with classes that use it we set the layer CLASSGROUP. If a layer doesn’t use it then no change is made.
Steve
Attachments (1)
Change History (3)
by , 12 years ago
Attachment: | mapserver-6-0.4207.patch added |
---|
comment:1 by , 12 years ago
Component: | MapServer CGI → Documentation - MapServer |
---|---|
Owner: | changed from | to
Approach is to add this in msCGILoadMap() so that it can be used with WMS. Makes since this is basically a shortcut for run-time configuration. Only layers that have classes that match the supplied value have their CLASSGROUP attribute set.
Committed in trunk at r13171. Moving to documentation.
Steve
comment:2 by , 12 years ago
Cc: | added |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Documentation added (new variable in cgi/controls) for trunk in r13177. Closing.
Patch against 6.0 branch.