Thanks David. I was thinking on similar lines. I will try this.
Regards,
Manish Barapatre
PP5, 2nd Floor, Orion, Adastral Park, Ipswich (UK)
Office: 01473 650516
Mobile : 07526571760
From: David Winslow [mailto:dwins...@opengeo.org]
Sent: 26 November 2012 18:10
To: Barapatre,M,Manish,DMR C
Cc: 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 them by repeating the layer twice and specifying the
labels style for the second.
With labels:
request=GetMap&layers=mylayer,mylayer&styles=,withlabels
Without labels:
request=GetMap&layers=mylayer
--
David Winslow
OpenGeo - http://opengeo.org/
On Mon, Nov 26, 2012 at 1:06 PM,
<manish.barapa...@bt.com<mailto:manish.barapa...@bt.com>> wrote:
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 Labels while rendering the
WMS.
What is best way to achieve this? Does creating Additional Styling while
creating WMS solve this?
Regards,
Manish Barapatre | BT
PP5, 2nd Floor, Orion, Adastral Park, Ipswich (UK)
Office: 01473 650516
------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net<mailto:Geoserver-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/geoserver-users
------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users