On Thu, Jul 7, 2011 at 10:30 AM, gbrun <[email protected]> wrote:
> Hi everybody!
>
> I want to request all my layers configured in GeoServer with GeoExt. I
> have two important stuffs for my layers configuration: they must be
> arranged depending on their subject (environment, urbanism, etc.), and
> also depending on their editable status (so WFS or not WFS). I can easily
> manage one of this stuff by putting in GeoServer my layers into different
> workspaces (wfs, wms OR environment, urbanism, etc.). But I can't combine
> these both things!
>
> So what I chose is to arrange my layers in different workspaces according
> to their subject. But then, the point is that, when I request my layers in
> GeoExt, some layers are called twice: in WMS and in WFS. I'd like to avoid
> this double-occurrence!
>
> So, my real question is: is it possible to force the web-service type (WMS
> or WFS) for each layer in GeoServer?
>
You mean, having some layers not show up in WFS capabilities at all,
while they show up in WMS?
It's not possible at the moment.
This could be treated as a configuration problem or a security problem.
Config problem: I want to specify which service can see a certain layer,
this will be the same for everybody, there is no security involved.
I think there was a jira asking for this, but can't find it at the moment.
Security problem: some combinations of layer + service are not available
to the general public.
We have the machinery to do this code wise, but so far no open source
implementation to actually have the administrator configure it.
Long story short, both are doable with changes to the GeoServer code,
but are not possible without.
One possibility sometimes people use is to download the capabilities
documents, hand modify them, and publish the modified version
on apache for people to use instead of the original ones.
Cheers
Andrea
--
-------------------------------------------------------
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 962313
http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf
-------------------------------------------------------
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users