Hi everyone,
Hi Jonathan,
Thanks to an idea of Jonathan, I just solved the problem with the double
entry of single layer groups by using multiple workspaces and seperate
wms-request.
However, now I have a new problem ;)
For the multiple GeoExt.tree.WMSCapabilitiesLoader the attribute
"rootVisible: false," is not working. I have each time a root-node with
the String from the attribute "text: something," and another String
which is "GeoServer Web Map Service". *
How can I remove the second tree-node "GeoServer Web Map Service"?
Best Regards
Frederik
*It looks like this:
first level: folder-symbol + text
second level: folder-symbol + "GeoServer Web Map Service"
third level: layers
I wish to remove the second level
On 10/09/2013 04:46 PM, Jonathan Moules wrote:
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]
<mailto:[email protected]>> wrote:
Hi Jonathan,
[...]
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
------------------------------------------------------------------------------
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=60135031&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users