|
From: Patrick O'B. <pad...@gm...> - 2011-06-27 15:18:04
|
Hi all, I have a POINT layer with 2 variables (n=population, m=statistycal variable) which I render using a sld with several proportional circles for the population and a colour filling each circle representing the variable which classifies the population. I've generated a SLD with n x m rules and it works great (properly ordered, etc, etc.). My problem is in the moment I add a layer with a GIS application and it tries to get the legend via WMS GetLegendGraphic. It brings to the application a huge legend with n x m entries. The legend is perfectly generated and shows what there is in the SLD, but that legend is rather confusing in any application, because it's too large. Obviously GeoServer can't figure out what I'm trying to represent or the legend I'd like to show, so my question is: is there any way I can add an image associated to an style so when I make a WMS-GetLegendGraphic request geoserver returns the image I've added instead of generating an image with the SLD rules??? I suggest it as a kind of wrapper, something optional, used only in case it's needed, very close to WMS decorartor's philosophy. Thank you in advance. Regards, Paddy |