Hi Jonathan,

thanks for your reply.

Your solution works for layers. However I am speaking of hiding single layer groups after including it into named tree layer groups. As fare as I know there is no "Advertised" check box in the option menu of single layer groups - or am I missing something?

Any other idea?

Best Regards
Frederik

On 10/09/2013 02:21 PM, Jonathan Moules wrote:
Hi Frederik,
I can't say as to whether a layer should be listed when a member of a layer group (Andrea?), but the simple solution is to turn off the "Advertised" checkbox (Publishing tab for a layer). That way the layer is still enabled but never listed in response to a GetCapabilities request.
Regards,
Jonathan

Jonathan Moules

GIS Analyst Programmer,
Corporate GIS,
Warwickshire County Council
Tel: +44 (0)1926 412588 <tel:%2B44%20%280%291926%20412588>, (Internal: 2588)



On 9 October 2013 13:05, Frederik Haefker <[email protected] <mailto:[email protected]>> wrote:

    Hello everyone,

    we are using Geoserver 2.4.0 with layer groups. There are some single
    layer groups (to combine layers which sould not be requested
    seperately)
    which are included into named tree layer groups.

    The layers are displayed via geoext in a
    GeoExt.tree.LayerContainer via
    WMSCapabilitiesLoader.

    Sadly the single layers are displayed twice: one time as itself
    and one
    time as part of the named tree layer group.

    Regarding the user manual this should not happen:
    In case a layer is included in a any non single group it won’t be
    listed
    anymore in the flat layer list, [...]
    http://docs.geoserver.org/latest/en/user/webadmin/data/layergroups.html

    Any ideas?

    Best Regards
    Frederik







    
------------------------------------------------------------------------------
    October Webinars: Code for Performance
    Free Intel webinars can help you accelerate application performance.
    Explore tips for MPI, OpenMP, advanced profiling, and more. Get
    the most from
    the latest Intel processors and coprocessors. See abstracts and
    register >
    http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk
    _______________________________________________
    Geoserver-users mailing list
    [email protected]
    <mailto:[email protected]>
    https://lists.sourceforge.net/lists/listinfo/geoserver-users



This transmission is intended for the named addressee(s) only and may contain sensitive or protectively marked material up to RESTRICTED and should be handled accordingly. Unless you are the named addressee (or authorised to receive it for the addressee) you may not copy or use it, or disclose it to anyone else. If you have received this transmission in error please notify the sender immediately. All email traffic sent to or from us, including without limitation all GCSX traffic, may be subject to recording and/or monitoring in accordance with relevant legislation.

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to