[OpenLayers-Users] Too many layers?

Phil Scadden p.scadden at gns.cri.nz
Sun Sep 21 14:05:38 PDT 2014


Not too sure about what you mean by "too much code", but there are 
options. What WMS server are you using? If it is geoserver, look up the 
section on Variable substitution in SLD and the Env function. This plus 
filters gives you a good way to play with styles. However, you can send 
the complete body of an SLD in a WMS request, but you would also need 
code to modify a base SLD based on what variable was selected. Not a 
biggy really.

Notice: This email and any attachments are confidential.
If received in error please destroy and immediately notify us.
Do not copy or disclose the contents.



More information about the Users mailing list