Ticket #4207 (closed enhancement: fixed)

Opened 16 months ago

Last modified 16 months ago

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

mapserver-6-0.4207.patch Download (1.8 KB) - added by sdlime 16 months ago.
Patch against 6.0 branch.

Change History

Changed 16 months ago by sdlime

Patch against 6.0 branch.

Changed 16 months ago by sdlime

  • owner changed from sdlime to jmckenna
  • component changed from MapServer CGI to Documentation - MapServer

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

Changed 16 months ago by havatv

  • cc havatv added
  • status changed from new to closed
  • resolution set to fixed

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

Note: See TracTickets for help on using tickets.