If you configure the 'Additional Styles' section on the 'Publishing' tab
when configuring a layer, then the additional styles will be listed in the
WMS GetCapabilities response under that layer.  This lets you not only have
a listing of available styles, but have it broken up by which layer the
styles are applicable to.

See
http://docs.geoserver.org/stable/en/user/webadmin/data/layers.html#edit-publishing-informationfor
details.

--
David Winslow
OpenGeo - http://opengeo.org/

On Tue, Nov 23, 2010 at 11:28 AM, Jon Britton <jonbritt...@googlemail.com>wrote:

> Hi,
>
> Is there any way of retrieving a list of all styles from the service
> without using REST?  I want to be able to switch between styles from the
> client side.
>
> Thanks,
>
> Jon
>
>
> ------------------------------------------------------------------------------
> Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
> Tap into the largest installed PC base & get more eyes on your game by
> optimizing for Intel(R) Graphics Technology. Get started today with the
> Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
> http://p.sf.net/sfu/intelisp-dev2dev
> _______________________________________________
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to