Basically, use two SLDs: one for postgis layer (the default one); the other
for generating legend. GetLegendGraphic allows you to use a non-default
style along with layer name. This method is just a workaround, not a
technical solution.

--
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/GetLegendGraphic-error-on-postgis-layer-SLD-tp6506950p6518764.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to