<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'><div dir='ltr'>
Here is a SLD example.<br><br>&lt;ColorMap&gt;<br>&nbsp;&nbsp;&nbsp; &lt;ColorMapEntry color="#0000ff" quantity="-5" label="-5"/&gt;<br>&nbsp;&nbsp;&nbsp; &lt;ColorMapEntry color="#4040ff" quantity="-4"/&gt;<br>&nbsp;&nbsp;&nbsp; &lt;ColorMapEntry color="#8080ff" quantity="-3" label="-3"/&gt;<br>&nbsp;&nbsp; &lt;ColorMapEntry color="#c0c0ff" quantity="-2"/&gt;<br>&nbsp;&nbsp; &lt;ColorMapEntry color="#ffffff" quantity="-1" label="-1"/&gt;<br>&nbsp;&nbsp; &lt;ColorMapEntry color="#ffffff" quantity="0"/&gt;<br>&nbsp;&nbsp; &lt;ColorMapEntry color="#ffc0c0" quantity="1" label="1"/&gt;<br>&nbsp;&nbsp; &lt;ColorMapEntry color="#ff8080" quantity="2"/&gt;<br>&nbsp;&nbsp; &lt;ColorMapEntry color="#ff4040" quantity="3" label="3"/&gt;<br>&nbsp;&nbsp; &lt;ColorMapEntry color="#ff0000" quantity="4"/&gt;<br>&nbsp;&nbsp; &lt;ColorMapEntry color="#000000" quantity="5" label="5"/&gt;<br>&lt;/ColorMap&gt;<br><br>Then you can use <span>GetLegendGraphics to get a legend.</span><br><br><div><hr id="stopSpelling">Date: Thu, 11 Aug 2011 17:16:42 +0200<br>From: to.tonton@gmail.com<br>To: mapserver-users@lists.osgeo.org<br>Subject: [mapserver-users] GetLegendGraphics use<br><br>hello <br>i'd like to know how to use <span>GetLegendGraphics in a sld file to obtain legend from ?<br><br>Tonton<br></span>
<br>_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users</div>                                               </div></body>
</html>