Hi Devan,
can you please send us the full stack trace from the Geoserver log?

Mauro


2014-05-12 21:07 GMT+02:00 Morris, Devan (DPH) <[email protected]>:

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


-- 
==
Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK
for more information.
==

Dott. Mauro Bartolomeoli
@mauro_bart
Senior Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax:     +39 0584 1660272

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

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