[Geoserver-users] Hide Layer Groups from WMS

Hi

Does anyone know a way of hiding Layer Groups from WMS viewed from a corporate GIS eg MapInfo? I have hidden all the individual layers which I don’t want to be used, but the Layer Groups are still visible including ones which are not in my workspace. The url is filtering by workspace and this works on individual layers but not groups.

Thanks for any help

Sandra

On Mon, Aug 5, 2013 at 6:11 PM, Sandra Kennish <
s.kennish@anonymised.com> wrote:

Hi

Does anyone know a way of hiding Layer Groups from WMS viewed from a
corporate GIS eg MapInfo? I have hidden all the individual layers which I
don’t want to be used, but the Layer Groups are still visible including
ones which are not in my workspace. The url is filtering by workspace and
this works on individual layers but not groups.

I don't think it's possible, even if it would make sense to have the group
disappear if none of the layers in it are visible,
it seems the code is not doing that today.
You can open a improvement request at jira.codehaus.org (get a login at
xircles.codehaus.org if you don't have one),
however, if you need this soon, I'd suggest you either prepare a patch
internally, and then share it with the community,
or look into the commercial support page at geoserver.org

Cheers
Andrea

--

Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
information.

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------

Hi Andrea

Thanks for your reply, I was afraid that would be the case. I’ll try and add an improvement request as you say.

Regards

Sandra

···

On Mon, Aug 5, 2013 at 6:11 PM, Sandra Kennish <s.kennish@anonymised.com…> wrote:

Hi

Does anyone know a way of hiding Layer Groups from WMS viewed from a corporate GIS eg MapInfo? I have hidden all the individual layers which I don’t want to be used, but the Layer Groups are still visible including ones which are not in my workspace. The url is filtering by workspace and this works on individual layers but not groups.

I don’t think it’s possible, even if it would make sense to have the group disappear if none of the layers in it are visible,

it seems the code is not doing that today.

You can open a improvement request at jira.codehaus.org (get a login at xircles.codehaus.org if you don’t have one),

however, if you need this soon, I’d suggest you either prepare a patch internally, and then share it with the community,

or look into the commercial support page at geoserver.org

Cheers

Andrea

==

Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information.

==

Ing. Andrea Aime

@geowolf

Technical Lead

GeoSolutions S.A.S.

Via Poggio alle Viti 1187

55054 Massarosa (LU)

Italy

phone: +39 0584 962313

fax: +39 0584 1660272

mob: +39 339 8844549

http://www.geo-solutions.it

http://twitter.com/geosolutions_it


Scanned by MailDefender - managed email security from intY - www.maildefender.net