Hi all,
Recently I have started some spare time hacking with the goal of completing the virtual services stuff. As many know the current implementation is incomplete at this point. It let’s you partition up layers by workspace and provides service endpoints for just those layers, but that is about it. Major things missing in my mind include:
- Per workspace service configuration
- Per workspace layer groups
- Per workspace styles
1 is pretty clear in my mind, to truly have virtual services we need to configure those services independent of one another, rather than just having one global service. Initially I thought 2 and 3 were pretty clear cut but the more I think about it i am not so sure.
Let’s take layer groups. Currently the way things work with regard to virtual services is that a layer group is included in a virtual wms endpoint if all the layers in that group are also included in that endpoint. So if you say have a layer group that contains layers across multiple workspaces then it will never be accessible through a virtual service endpoint. And the question I go back and forth on is if that current behaviour is good enough.
I can think of cases where it would be nice to explicitly associate a layer group with a workspace. One would be the case i mentioned above in which we have a layer group that is backed by layers from multiple workspaces and we want that layer group to be accessible from one of the virtual workspace wms endpoints. Another case (well actually it is the same case) is to create a workspace that just consists of layer groups that we want to publish, while the layers are actually in another workspace. A way to achieve the “non declared” layer functionality that was discussed a few weeks back.
Anyways, not sure if that is clear or not, but I thought I would write an email to try and gather thoughts from people and perhaps build a stronger case either way. I actually have the same question for styles… does it make sense to group them by workspace. From a virtual services perspective probably not so much but from an organizational perspective it could be a nice thing to have. Same argument for layer groups.
Thoughts and opinions much appreciated.
-Justin
–
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.