Opened 14 years ago

Last modified 13 years ago

#3237 new enhancement

Allow a LAYER to belong to multiple GROUPs

Reported by: gasper Owned by: sdlime
Priority: normal Milestone: FUTURE
Component: MapServer C Library Version: 5.4
Severity: normal Keywords: GROUP LAYER
Cc: aboudreault, dmorissette

Description

I would like to define GROUP property of LAYER as a comma separated list of groups in order to define a LAYER as a part of multiple groups.

For example:

LAYER
 NAME "cities"
 GROUP "default_sat", "default_rain"
 ...
END

LAYER
 NAME "boundaries"
 GROUP "default_sat", "default_rain"
 ...
END

LAYER
 NAME "satellite"
 GROUP "default_sat"
 ...
END

LAYER
 NAME "rain"
 GROUP "default_rain"
 ...
END

So we have two "views": "default_sat" and "default_rain", where both also include "cities" and "boundaries" layers.

Change History (4)

comment:1 by aboudreault, 14 years ago

Component: MapFile XML SchemaMapServer C Library
Owner: changed from aboudreault to sdlime

comment:2 by aboudreault, 14 years ago

Cc: aboudreault dmorissette added

comment:3 by regodon, 14 years ago

I would like it too.

Meanwhile, you can accomplish what you want by setting "cities" and "boundaries" status to DEFAULT, and adding a REQUIRES "[satellite] OR [rain]" in both layers.

Regards

comment:4 by dmorissette, 13 years ago

Milestone: 5.4.3 releaseFUTURE
Note: See TracTickets for help on using tickets.