<head><title></title></head>
<body><div class="iw_mail" dir="ltr">
<p style="margin:0;" dir="ltr">Another way to do it, is with "<strong>wms_layer_group"<br></strong></p>
<p style="margin:0;" dir="ltr">as decribed here; <a href="http://mapserver.org/ogc/wms_server.html">http://mapserver.org/ogc/wms_server.html</a><br></p>But that might be a little more complicated but allows You more levels of subgroups.<br><br>Lars S.<br><br><div dir="ltr" style="font-size: 13px; font-family: Lucida Console,Courier New,Courier,Monospace;">-----Originalmeddelande-----<br>> Från: "Stephen Woodbridge" <<a href="mailto:woodbri@swoodbridge.com">woodbri@swoodbridge.com</a>><br>> Till: <a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>> Datum: 2017-02-06 21:34<br>> Ämne: Re: [mapserver-users] group and subgroup<br>><br>> On 2/6/2017 3:11 PM, milad nidal wrote:<br>> > Hi,<br>> > I'd like to create a subgroup with 2 layers. is-it posible?<br>> > I tried what is menionned in the mapserver,s doc but it did not work.<br>> > something like (groupe : test and subgroup test2 with layer1 and layer 2<br>> > in the subgroup)<br>> > Thanks<br>><br>> Try this:<br>><br>> LAYER<br>>   NAME "layer1"<br>>   GROUP "mygroup"<br>>   STATUS ON<br>>   ...<br>> END<br>><br>> LAYER<br>>   NAME "layer2"<br>>   GROUP "mygroup"<br>>   STATUS ON<br>>   ...<br>> END<br>><br>> Now you can request layer "mygroup" and both layers will be activated.<br>><br>> -SteveW<br>><br>> ---<br>> This email has been checked for viruses by Avast antivirus software.<br>> <a href="https://www.avast.com/antivirus">https://www.avast.com/antivirus</a><br>><br>> _______________________________________________<br>> mapserver-users mailing list<br>> <a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>> <a href="https://lists.osgeo.org/mailman/listinfo/mapserver-users">https://lists.osgeo.org/mailman/listinfo/mapserver-users</a>
</div>
<p style="margin:0;" dir="ltr"><br></p>
<p style="margin:0;" dir="ltr"><br></p>
<div class="signature"><div class="separator">--</div></div>
</div></body>