Hey everyone,
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:
[cid:[email protected]]
Is this a bug or is it just not possible to specify a DPI with a raster layer?
Thanks,
Devan
Devan Morris
Data Analyst and Cartographer
Environmental Health Branch -- Population Health Division
San Francisco Department of Public Health
1390 Market Street, Suite 210
San Francisco, CA 94102
------------------------------------------------------------------------------
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users