Re: [Geoserver-users] [Geoserver-devel] Switching Text Labels on/off

2012-11-26 Thread manish.barapatre
: geoserver-users@lists.sourceforge.net Subject: Re: [Geoserver-users] [Geoserver-devel] Switching Text Labels on/off One solution would be to create two styles - one without the labels and one with only labels. Then your client can disable labels by requesting only the labelled style, and enable

Re: [Geoserver-users] [Geoserver-devel] Switching Text Labels on/off

2012-11-26 Thread Martin Davis
Yet another option is to use some rule logic in the style which is dependent on the value of an SLD environment variable. For a description of this technique see http://docs.geoserver.org/stable/en/user/styling/sld-extensions/substitution.html However, this is less standard than using separate s

Re: [Geoserver-users] [Geoserver-devel] Switching Text Labels on/off

2012-11-26 Thread Rahkonen Jukka
ow [dwins...@opengeo.org] Lähetetty: 26. marraskuuta 2012 20:10 Vastaanottaja: manish.barapa...@bt.com Kopio: geoserver-users@lists.sourceforge.net Aihe: Re: [Geoserver-users] [Geoserver-devel] Switching Text Labels on/off One solution would be to create two styles - one without the labels and one w

Re: [Geoserver-users] [Geoserver-devel] Switching Text Labels on/off

2012-11-26 Thread David Winslow
One solution would be to create two styles - one without the labels and one with only labels. Then your client can disable labels by requesting only the labelled style, and enable them by repeating the layer twice and specifying the labels style for the second. With labels: request=GetMap&layers

[Geoserver-users] [Geoserver-devel] Switching Text Labels on/off

2012-11-26 Thread manish.barapatre
Hi there, I have a number of layers in my application. I created WMS for each of them with a default styling in GeoServer. The default styling has PointSymboliser and TextSymboliser both. When I render the WMS I get Symbols and Labels both. I want an option by which I can turn off/on the Text L