[Geoserver-devel] [jira] Created: (GEOS-360) GetLegendGraphics error handling

GetLegendGraphics error handling
--------------------------------

         Key: GEOS-360
         URL: http://jira.codehaus.org/browse/GEOS-360
     Project: GeoServer
        Type: Bug
    Versions: 1.3-rc1
    Reporter: Jody Garnett
Assigned to: dblasby
    Priority: Minor

I misconfigured (I hope my Geoserver) and it was failing to

Request (from udig):
http://localhost:8080/geoserver/wms
  ?REQUEST=GetLegendGraphic
  &LAYER=topp:tasmania_state_boundaries
  &STYLE=&FORMAT=image/gif
  &WIDTH=16
  &VERSION=1.0.0
  &HEIGHT=16
  &SERVICE=WMS

Note it is a request for a gif ...

And the log from geoserver (1.3.rc I think):
4179984 [WARNING] org.vfny.geoserver.wms.responses.helpers.WMSCapsTransformer$CapabilitiesTranslator - Default legend frmat (image/png)is not supported (jai not available?), can't add LegendURL element

It says impage/png is not available (I asked for gif), and returns me a white on
white 16x16 image (GIF format).

A service exception would be better, or a stable of happy icons are avaialble here:
http://svn.geotools.org/udig/trunk/plugins/net.refractions.udig.catalog.ui/icons/obj16/

And we have code to make little icons based on FeatureType+SLD document if you think that would be exciting. Perhaps we should get together in the geotools code base and have a little legend graphics party to wind down after our release(s).

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