Ah, forgot one more concern, which is related to workspace specific
services.
I setup an example group on a demo server for you to look at, it's a globa
one called test,
referring two layers in different workspaces:
[image: Inline image 1]
Nowadays the usage of test is allowed from both global and workspace
specific services, and the
catalog will automatically shave off the layers that are not part of the
current workspace
transparently, please see and compare:
http://demo.geo-solutions.it/geoserver/wms?service=WMS&version=1.1.0&request=GetMap&layers=test&styles=&bbox=-180.0,-90.0,180.0,90.0&width=768&height=384&srs=EPSG:4326&format=application/openlayers
http://demo.geo-solutions.it/geoserver/geosolutions/wms?service=WMS&version=1.1.0&request=GetMap&layers=test&styles=&bbox=-180.0,-90.0,180.0,90.0&width=768&height=384&srs=EPSG:4326&format=application/openlayers
http://demo.geo-solutions.it/geoserver/topp/wms?service=WMS&version=1.1.0&request=GetMap&layers=test&styles=&bbox=-180.0,-90.0,180.0,90.0&width=768&height=384&srs=EPSG:4326&format=application/openlayers
What happens when style groups enter the picture? Is the catalog going to
alter the style
on the fly to remove references to layers that are not visible in the
current workspace?
And the same should happen with security, if a layer is not visible and
referenced by a group today, the
layer is removed transparently from the group as it gets out of the
catalog, I assume the same would
have to happen for nested style groups, right?
I'm also wondering, is nesting style groups in standard groups a
requirement for you, or just a way to
make style groups viewable without making them catalog first class objects?
If it's the latter, wouldn't it be simpler to extend the current GetMap
protocol with a new parameter that
would mimick SLD and SLD_BODY, but so that you can refer to an internal
style known by GeoServer?
Hell, wouldn't it be even simpler to allow SLD to take either a URL, or a
style name, and be done with it [1]? :-)
If you need to mix it with other layers, how about allowing an empty layer
name in the layer list,
and if that happens then take the style name a group?
Just thinking out loud here! :-)
Cheers
Andrea
[1] Well, almost be done, even using a style like this would incur in
security and more in general
catalog filtering related issues.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel