[Geoserver-users] Question about ColorMap in my style

Greetings,

I’m pretty new to GeoServer and having trouble getting a color bar right.

I want raster values between -10 and 10 to be white, FFFFFF.

The Style file below has these values showing up as light blue, BDEDFF, the next color in the color bar. Not just values right at 10, but values close to zero are showing up blue.

I’m using SLD 1.0 and looking at the docs for MapServer.

Any thoughts on this is much appreciated.

Thanks,

  • pete
<?xml version="1.0" encoding="UTF-8"?>



raster_layer

raster

A boring default style A sample style for rasters Feature 1.0