Hi Frederik,
  Well, I'm not certain based on your reading, but this could potentially
resolve it, or at least allow you to group those things entirely separately.
Basically you create a new Workspace and put the Layer Groups you want to
share into them. Then the URL you use to access them changes to this:

/geoserver/*MyNewWorkspace*/wms?...
Or something to that effect. The link I provided has more information and
actual examples.
I'm not 100% it'll do exactly what you want, but I think you can use it to
get some semblance of what you want.

Note: It's not really possible to move layers between workspaces, but Layer
Groups can be done it seems.

Regards,
Jonathan


On 9 October 2013 15:37, Frederik Haefker <[email protected]> wrote:

> Hi Jonathan,
>
> thanks again for your help. Sadly I don't understand you suggestion ^^
>
> Maybe it helps if I explain the situation in more detail:
> I have a line layer with precipitation contour lines and another point
> layers for controlling labels. Both should be seen as one layer for the
> user. So I included them into a single layer group.
>
> Now I have such groups for different years and seasons. I want them
> displayed in a compact way due to the existence of other layers with total
> different informations. Therefore I am using a named tree layer group.
>
> I am displaying this layers (and many more) inside a treepanel and a root
> like this:
> var layerList = new GeoExt.tree.LayerContainer
> ({
> text: 'All Layers',
> expanded: true,
> loader: new GeoExt.tree.**WMSCapabilitiesLoader
> ({
> url: "/geoserver/Postgis/wms?**SERVICE=WMS&REQUEST=**
> GetCapabilities&VERSION=1.1.1"**,
> […]
>
> Best Regards
> Frederik
>
> On 10/09/2013 04:22 PM, Jonathan Moules wrote:
>
>> Hi Frederik,
>>   Ah ok, sorry I missed that. I have nested layer groups but haven't
>> needed to do that, but now that I think about it I've not seen such either.
>> Thus I'm not sure if it is possible. Probably a fairly simple feature
>> request if you have some funds to put towards it.
>>
>> Alternately, what about using workspaces to create a virtual service? Put
>> all your final stuff into a "final" workspace and only share that.
>> http://docs.geoserver.org/**stable/en/user/services/**
>> virtual-services.html?**highlight=virtual<http://docs.geoserver.org/stable/en/user/services/virtual-services.html?highlight=virtual>
>> Regards,
>> Jonathan
>>
>>
>>
>

-- 
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