It is not possible to connect to a specific store. But on 2.1 there is the
concept of virtual services in which you can generate a capabilities
document for only the layers in a specific workspace. Or a single layer
itself.
http://docs.geoserver.org/latest/en/user/services/virtual-services.html
-Justin
On Mon, Dec 13, 2010 at 1:39 PM, Eoin Mac Aoidh <[email protected]> wrote:
> Hi all,
> Is it possible to specify which store to connect to in a getCapabilities
> request?
> I would like to give only a subset of the layers in my geoserver
> installation made available as a response.
> If it is not possible to specify the store, then is there some other way of
> specifying a subset, such as by workspace?
>
> Currently, my request looks like the string below.
> I would like to know how to specify to only include the layers from store A
> (rather than all layers in the Geoserver installation) in the string below?
>
>
> store = new GeoExt.data.WMSCapabilitiesStore({
> url:
> "http:.../geoserver/wms?SERVICE=WMS&VERSION=1.1.1&REQUEST=getcapabilities&TILED=true"
> ....
>
> Many thanks,
>
> Eoin
>
>
>
>
> ------------------------------------------------------------------------------
> Oracle to DB2 Conversion Guide: Learn learn about native support for
> PL/SQL,
> new data types, scalar functions, improved concurrency, built-in packages,
> OCI, SQL*Plus, data movement tools, best practices and more.
> http://p.sf.net/sfu/oracle-sfdev2dev
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
--
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.
------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users