<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>We are using SLD to render raster data. The SLD looks like:<br><br><ColorMap type="intervals"><br> <ColorMapEntry color="#FFFFFF" label="-1" quantity="-1"/>
<br> <ColorMapEntry color="#FFFFE5" label="0.0" quantity="0"/><br> <ColorMapEntry color="#FFF8C3" label="0.1" quantity="0.1"/>
<br> ...
<br></ColorMap><br><br>It means:<br> class 1: [pixel] >= -1 AND [pixel] < 0 with color ffffff<br> class 2: [pixel] >= 0 AND [pixel] < 0.1 with color ffffe5
<br> class 3: [pixel] >= 0.1 AND [pixel] < 0.2 with color fff8c3
<br><br>We can use the request, "GetLegendGraphic", to get a legend
(color bar) which has the lower value being on top of the legend image,
and the bigger value is on bottom of the legend image. <br><br>Generally, the scientific guys hope the large number being on top of the legend image. Is there a way to invert the legend?<br><br>Thanks a lot. </div></body>
</html>