[mapserver-users] group and subgroup
lars.schylberg at blixtmail.se
lars.schylberg at blixtmail.se
Mon Feb 6 12:47:07 PST 2017
Another way to do it, is with "wms_layer_group"
as decribed here; http://mapserver.org/ogc/wms_server.html
But that might be a little more complicated but allows You more levels of subgroups.
Lars S.
-----Originalmeddelande-----
> Från: "Stephen Woodbridge" <woodbri at swoodbridge.com>
> Till: mapserver-users at lists.osgeo.org
> Datum: 2017-02-06 21:34
> Ämne: Re: [mapserver-users] group and subgroup
>
> On 2/6/2017 3:11 PM, milad nidal wrote:
> > Hi,
> > I'd like to create a subgroup with 2 layers. is-it posible?
> > I tried what is menionned in the mapserver,s doc but it did not work.
> > something like (groupe : test and subgroup test2 with layer1 and layer 2
> > in the subgroup)
> > Thanks
>
> Try this:
>
> LAYER
> NAME "layer1"
> GROUP "mygroup"
> STATUS ON
> ...
> END
>
> LAYER
> NAME "layer2"
> GROUP "mygroup"
> STATUS ON
> ...
> END
>
> Now you can request layer "mygroup" and both layers will be activated.
>
> -SteveW
>
> ---
> This email has been checked for viruses by Avast antivirus software.
> https://www.avast.com/antivirus
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapserver-users
--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20170206/170bc522/attachment.htm>
More information about the MapServer-users
mailing list