Thanks Ian and Jonathan for your advice, 

Jonathan, you were correct - i embed the request as a URL. Once i had
enabled a given SLD to be viewed with an associated layer, I ended up
finding a basic GetLeged request for my layer and style within my WMS
GeoServer capabilities. 

However, a new problem arises from this - several of my SLD's have quite a
few rules within them regarding which symbols should be applied to which
values (this is particularly the case regarding my wind barb SLD which has
over 60 rules). I want my legend to show each of the symbols with the value
it represents alongside it, however when applying the GetLegend request i
get the following warning: 

java.lang.IllegalArgumentException: Unable to create a legend for this
style, we need exactly 1 rule
Unable to create a legend for this style, we need exactly 1
rule</ServiceException> 

Are either of you aware of anyway i can apply a legend to an SLD composed of
multiple rules? 

Many thanks, 

Christine 
  



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/SLD-legend-tp5060826p5061605.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to