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)

mapserver-6-0.4207.patch (1.8 KB ) - added by sdlime 12 years ago.
Patch against 6.0 branch.

Download all attachments as: .zip

Change History (3)

by sdlime, 12 years ago

Attachment: mapserver-6-0.4207.patch added

Patch against 6.0 branch.

comment:1 by sdlime, 12 years ago

Component: MapServer CGIDocumentation - MapServer
Owner: changed from sdlime to jmckenna

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 havatv, 12 years ago

Cc: havatv added
Resolution: fixed
Status: newclosed

Documentation added (new variable in cgi/controls) for trunk in r13177. Closing.

Note: See TracTickets for help on using tickets.