width and height in the GetLegendGraphic request should be interpreted as the width and the height of the keyimage (not of the total image).
--------------------------------------------------------------------------------------------------------------------------------------------
Key: GEOS-814
URL: http://jira.codehaus.org/browse/GEOS-814
Project: GeoServer
Issue Type: Bug
Components: WMS
Reporter: Vincent Schut
Assigned To: Gabriel Roldán
Width and height in the GetLegendGraphic request should be interpreted as the width and the height of the keyimage (not of the total image).
This is especially important when doing a getLegendRequest on a layer without specifying a rule, because then you get back one image with icons for each rule for that layer. If you have many rules, all your keyimages will be stuffed in that 20x20 px box you specified, while you of course meant 'let one keyimage be 20x20 px'.
It will also come into play when geoserver starts adding rule titles to legend graphics according to http://jira.codehaus.org/browse/GEOS-812, because of course also these titles should be added to the specified width and height.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira