Hey everyone,

I've already posted this once, trying again to see if anyone has an answer. Is 
this the best place to post a question like this?

I'm having an issue with the legend image for my heat map layers not displaying 
correctly when I specify a DPI through the LEGEND_OPTIONS.

My request:

http://transbasesf.org/geoserver/transbase_v1/ows?TRANSPARENT=TRUE&VIEWPARAMS=timed%3AA&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetLegendGraphic&EXCEPTIONS=application%2Fvnd.ogc.se_xml&LAYER=vw_geoserver_switrs_col_time&STYLE=Heatmap&FORMAT=image%2Fpng&LEGEND_OPTIONS=fontName%3AGill%20Sans%20MT%3BfontSize%3A8%3Bdpi%3A660%3BfontAntiAliasing%3Atrue%3B%22

Geoserver's response:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE ServiceExceptionReport SYSTEM 
"http://transbasesf.org/geoserver/schemas/wms/1.1.1/WMS_exception_1_1_1.dtd";>
<ServiceExceptionReport version="1.1.1">
   <ServiceException>java.lang.IllegalStateException: It is not legal to have a 
RasterSymbolizer here
It is not legal to have a RasterSymbolizer here</ServiceException>
</ServiceExceptionReport>

If I remove DPI from my LEGEND_OPTIONS request Geoserver returns the correct 
legend icon.

Is this a bug or is it just not possible to specify a DPI with a raster layer?

Thanks,
Devan

Devan Morris
E: [email protected]<mailto:[email protected]>

------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to