<html>
  <head>
    <style type="text/css">
      <!--
        body { margin-left: 4px; margin-top: 4px; margin-bottom: 1px; margin-right: 4px; font-variant: normal; line-height: normal }
        p { margin-top: 0; margin-bottom: 0 }
      -->
    </style>
    
  </head>
  <body>
    <p style="margin-top: 0; margin-bottom: 0">
      <font face="Comic Sans MS" size="3">Just add in a NAME parameter inside of each CLASS tag set. &nbsp;You&#39;ll need to request the LEGEND object via CGI or orther method&#44; but the NAME vales are used to describe the Legend Chips in the mapserver output.</font>    </p>
<br>      
    <p style="margin-top: 0; margin-bottom: 0">
      <font face="Comic Sans MS" size="3">bobb</font>    </p>
<br>      <br>
    <p style="margin-top: 0; margin-bottom: 0">
      <br>
      <br>
      &gt;&gt;&gt; michele pierri &lt;pierm4ci@yahoo.it&gt; wrote:<br>    </p>
    <div style="margin-left: 15px; padding-left: 7px; margin-top: 0; margin-bottom: 0; margin-right: 0; border-left: solid 1px #050505; background-color: #f3f3f3">
      <table content="text/html; charset=UTF-8" border="0" cellspacing="0" cellpadding="0" http-equiv="Content-Type">
        <tr>
          <td style="font-style: normal; font-family: SansSerif; font-variant: normal; font-weight: normal; line-height: normal; font-size: inherit" valign="top">
            <p style="margin-top: 0; margin-bottom: 0">
              Hi&#44;            </p>
            <div>
              <p style="margin-top: 0; margin-bottom: 0">
                I have a file.map like this:              </p>
            </div>
            <div>
              <pre>              <p style="white-space: pre; margin-top: 0; margin-bottom: 0">
MAP</p>
            <p style="white-space: pre; margin-top: 0; margin-bottom: 0">
&nbsp;&nbsp;&nbsp;NAME&quot;distribution&quot;</p>
          <p style="white-space: pre; margin-top: 0; margin-bottom: 0">
&nbsp;&nbsp;&nbsp;CONFIG &nbsp;&quot;PROJ_LIB&quot; &quot;/usr/share/proj/&quot;</p>
        <p style="white-space: pre; margin-top: 0; margin-bottom: 0">
&nbsp;&nbsp;&nbsp;STATUS ON</p>
      <p style="white-space: pre; margin-top: 0; margin-bottom: 0">
&nbsp;&nbsp;&nbsp;SHAPEPATH &quot;./&quot;</p>
    <p style="white-space: pre; margin-top: 0; margin-bottom: 0">
&nbsp;&nbsp;&nbsp;PROJECTION</p>
  <p style="white-space: pre; margin-top: 0; margin-bottom: 0">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;init&#61;epsg:4326&quot;</p>
<p style="white-space: pre; margin-top: 0; margin-bottom: 0">
&nbsp;&nbsp;&nbsp;END</p>
<p style="white-space: pre; margin-top: 0; margin-bottom: 0">
&nbsp;&nbsp;&nbsp;CONFIG &nbsp;&quot;MS_ERRORFILE&quot; &quot;/tmp/mapserver.log&quot;</p>
<p style="white-space: pre; margin-top: 0; margin-bottom: 0">
&nbsp;&nbsp;&nbsp;DEBUG 5</p>
<p style="white-space: pre; margin-top: 0; margin-bottom: 0">
&nbsp;LAYER</p>
<p style="white-space: pre; margin-top: 0; margin-bottom: 0">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;NAME &quot;tif&quot;</p>
<p style="white-space: pre; margin-top: 0; margin-bottom: 0">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;DATA &quot;/var/www/tmp/a5e1ddfb-6dec-40d0-94e1-ded12f41397e/out/distribution.tiff&quot;</p>
<p style="white-space: pre; margin-top: 0; margin-bottom: 0">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;STATUS DEFAULT</p>
<p style="white-space: pre; margin-top: 0; margin-bottom: 0">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;TYPE RASTER</p>
<p style="white-space: pre; margin-top: 0; margin-bottom: 0">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CLASSITEM &quot;&#91;pixel&#93;&quot;</p>
<p style="white-space: pre; margin-top: 0; margin-bottom: 0">
CLASS</p>
<p style="white-space: pre; margin-top: 0; margin-bottom: 0">
&nbsp;&nbsp;EXPRESSION &#40;&#91;pixel&#93; &gt;&#61; 0 AND &#91;pixel&#93; &lt; 20 &#41;</p>
<p style="white-space: pre; margin-top: 0; margin-bottom: 0">
&nbsp;&nbsp;STYLE</p>
<p style="white-space: pre; margin-top: 0; margin-bottom: 0">
&nbsp;&nbsp;&nbsp;COLOR 0 255 255</p>
<p style="white-space: pre; margin-top: 0; margin-bottom: 0">
&nbsp;&nbsp;END</p>
<p style="white-space: pre; margin-top: 0; margin-bottom: 0">
END</p>
<p style="white-space: pre; margin-top: 0; margin-bottom: 0">
CLASS</p>
<p style="white-space: pre; margin-top: 0; margin-bottom: 0">
&nbsp;&nbsp;&nbsp;&nbsp;EXPRESSION &#40;&#91;pixel&#93; &gt;&#61; 20 AND &#91;pixel&#93; &lt; 40&#41;</p>
<p style="white-space: pre; margin-top: 0; margin-bottom: 0">
&nbsp;&nbsp;&nbsp;STYLE</p>
<p style="white-space: pre; margin-top: 0; margin-bottom: 0">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;COLOR 0 255 0</p>
<p style="white-space: pre; margin-top: 0; margin-bottom: 0">
&nbsp;&nbsp;&nbsp;END</p>
<p style="white-space: pre; margin-top: 0; margin-bottom: 0">
END</p>
<p style="white-space: pre; margin-top: 0; margin-bottom: 0">
CLASS</p>
<p style="white-space: pre; margin-top: 0; margin-bottom: 0">
&nbsp;&nbsp;&nbsp;EXPRESSION &#40; &#91;pixel&#93; &gt;&#61; 40 AND &#91;pixel&#93; &lt; 60&#41;</p>
<p style="white-space: pre; margin-top: 0; margin-bottom: 0">
&nbsp;&nbsp;&nbsp;STYLE</p>
<p style="white-space: pre; margin-top: 0; margin-bottom: 0">
&nbsp;&nbsp;&nbsp;&nbsp;COLOR 255 255 0</p>
<p style="white-space: pre; margin-top: 0; margin-bottom: 0">
&nbsp;&nbsp;&nbsp;END</p>
<p style="white-space: pre; margin-top: 0; margin-bottom: 0">
END</p>
<p style="white-space: pre; margin-top: 0; margin-bottom: 0">
CLASS</p>
<p style="white-space: pre; margin-top: 0; margin-bottom: 0">
&nbsp;&nbsp;&nbsp;EXPRESSION &#40;&#91;pixel&#93; &gt;&#61; 60 AND &#91;pixel&#93; &lt; 80&#41;</p>
<p style="white-space: pre; margin-top: 0; margin-bottom: 0">
&nbsp;&nbsp;&nbsp;STYLE</p>
<p style="white-space: pre; margin-top: 0; margin-bottom: 0">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;COLOR 255 127 0</p>
<p style="white-space: pre; margin-top: 0; margin-bottom: 0">
&nbsp;&nbsp;&nbsp;END</p>
<p style="white-space: pre; margin-top: 0; margin-bottom: 0">
END</p>
<p style="white-space: pre; margin-top: 0; margin-bottom: 0">
CLASS</p>
<p style="white-space: pre; margin-top: 0; margin-bottom: 0">
&nbsp;&nbsp;&nbsp;EXPRESSION &#40;&#91;pixel&#93; &gt;&#61; 80 AND &#91;pixel&#93; &lt; 100&#41;</p>
<p style="white-space: pre; margin-top: 0; margin-bottom: 0">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;STYLE</p>
<p style="white-space: pre; margin-top: 0; margin-bottom: 0">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;COLOR 255 0 0</p>
<p style="white-space: pre; margin-top: 0; margin-bottom: 0">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;END</p>
<p style="white-space: pre; margin-top: 0; margin-bottom: 0">
&nbsp;&nbsp;&nbsp;END</p>
<p style="white-space: pre; margin-top: 0; margin-bottom: 0">
CLASS</p>
<p style="white-space: pre; margin-top: 0; margin-bottom: 0">
&nbsp;&nbsp;&nbsp;EXPRESSION &#40;&#91;pixel&#93; &#61; 100 &#41;</p>
<p style="white-space: pre; margin-top: 0; margin-bottom: 0">
&nbsp;&nbsp;&nbsp;&nbsp;STYLE</p>
<p style="white-space: pre; margin-top: 0; margin-bottom: 0">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;COLOR 255 123 0</p>
<p style="white-space: pre; margin-top: 0; margin-bottom: 0">
&nbsp;&nbsp;&nbsp;&nbsp;END</p>
<p style="white-space: pre; margin-top: 0; margin-bottom: 0">
END</p>
<p style="white-space: pre; margin-top: 0; margin-bottom: 0">
END</p>
<p style="white-space: pre; margin-top: 0; margin-bottom: 0">
END</p>
<br><br></pre>
<pre><p style="white-space: pre; margin-top: 0; margin-bottom: 0">
Can I have returned with the image&#44; &nbsp;the legend that describes the meaning of the colors&#63;</p>
</pre>
<pre><p style="white-space: pre; margin-top: 0; margin-bottom: 0">
Thanks in advance.</p>
</pre>
<pre><p style="white-space: pre; margin-top: 0; margin-bottom: 0">
<br>
</p>
</pre>
</div>
</td>
</tr>
</table>
<p style="margin-top: 0; margin-bottom: 0">
<br>
</p>
</div>
</body>
</html>