GetLegendGraphic with coverages -- width parameter misbehaves
-------------------------------------------------------------

                 Key: GEOS-2963
                 URL: http://jira.codehaus.org/browse/GEOS-2963
             Project: GeoServer
          Issue Type: Bug
          Components: WMS
    Affects Versions: 1.7.2
         Environment: Version of JVM:            Sun Microsystems Inc. : 
1.6.0_02 
Linux RH v???
            Reporter: Emanuele Tajariol
            Assignee: Andrea Aime
         Attachments: geoserver_style.xml

The width parameter in this url
   
http://server:port/geoserver/wms?VERSION=1.1.1&REQUEST=GetLegendGraphic&LAYER=cropland4&STYLE=cropland&WIDTH=50&HEIGHT=20&FORMAT=image/png&BGCOLOR=0xFFFFFF&TRANSPARENT=TRUE
will set the width of the coloured block, not of the whole image.

If labels are too long, they'll not fit in the image, and will be cropped.
The attached SLD defines a label "Rainfed herbaceous crops,shrub" that does not 
fit entirely in the image width, and anything longer will be cropped as well.

-- 
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

        

------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to