On Fri, Jun 21, 2013 at 3:27 PM, cjones <c.jo...@geos.com> wrote:
> 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?
>
This definitely works, as one of the GetLegend sample requests we ship with
the
default data directory is for states, that has two feature type styles and
4 rules.
I've searched for that error message in the current GeoServer code base,
but cannot
find it.
Unless... do you have a vector style (point, line or polygon symbolizer)
applied to a raster layer?
Cheers
Andrea
--
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
information.
==
Ing. Andrea Aime
@geowolf
Technical Lead
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
-------------------------------------------------------
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users