Hi All, I was wondering if it is possible to hide the labels on a Raster SLD.
Using this as an example (assuming you have a local geoserver with default data running) http://localhost:8080/geoserver/web/?wicket:bookmarkablePage=:org.geoserver.wms.web.data.StyleEditPage&name=dem Is it possible to hide the words "nodata" and "values" in the legend without changing the SLD itself? I have tried using the "forceLabels" option in the "LEGEND_OPTIONS" but it seems to only work on Polygon/Line/Point Symbolizers. Just playing around with the SLD, I also tried to change the "type" of the ColorMap entry in accordance with this document. http://docs.geoserver.org/latest/en/user/styling/sld-reference/rastersymbolizer.html The way I read it, I should be able to use one of the following and see some sort of difference but I don't see any change in the legend preview. Am I doing something incorrect here? <ColorMap type="ramp"> <ColorMap type="values"> <ColorMap type="intervals" extended="true"> Thanks Ben Build Information Version 2.6-SNAPSHOT Git Revision ef8673baaaad5942a2d14e2e45e6b0a7bf80a3de Build Date 27-Aug-2014 04:18 GeoTools Version 12-SNAPSHOT (rev fe1cf59a27354b468584a44d20f283f5e8cdc286) GeoWebCache Version 1.6-SNAPSHOT (rev 899f3cf43aa05a0fcb86e51fae61eb6a23ac92a0/899f3cf43aa05a0fcb86e51fae61eb6a23ac92a0) ------------------------------------ Ben Khoo Gaia Resources p +61 8 9227 7309 w www.gaiaresources.com.au e [email protected] ------------------------------------------------------------------------------ Want excitement? Manually upgrade your production database. When you want reliability, choose Perforce Perforce version control. Predictably reliable. http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
