<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial,helvetica,sans-serif;font-size:10pt"><div style="font-family: arial,helvetica,sans-serif; font-size: 10pt;">My proposed modification is below, if there is no class name, Mapserver will not render it.<br><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">----- Original Message ----<br>From: Nelson Soto &lt;nellyfromma@gmail.com&gt;<br>To: geomoose-developers@lists.sourceforge.net; geomoose-users@lists.sourceforge.net<br>Sent: Tuesday, May 20, 2008 11:52:07 AM<br>Subject: [Geomoose-users] Legend Labels<br><br>
Hello,<br><br>I thought I had figured this out but it seems to have come up again<br>and I haven't dealt with it in awhile.<br><br>I have Layers that toggle Parcel Names, Street Names, etc. I do want<br>them to appear in my map layers, but I do not need them to show up in<br>the legend once they are on. My mapfile says:<br><br>MAP<br>&nbsp;&nbsp;&nbsp; NAME 'Street Names'<br>&nbsp;&nbsp;&nbsp; SIZE 800 650<br>&nbsp;&nbsp;&nbsp; STATUS ON<br>&nbsp;&nbsp;&nbsp; EXTENT&nbsp; 201779.095954 875680.979642 210107.108238 880995.644173<br>&nbsp;&nbsp;&nbsp; UNITS METERS<br>&nbsp;&nbsp;&nbsp; FONTSET '../fonts/fontset.list'<br>&nbsp;&nbsp;&nbsp; SYMBOLSET '../symbols/symbol.sym'<br>&nbsp;&nbsp;&nbsp; TRANSPARENT TRUE<br>&nbsp;&nbsp;&nbsp; IMAGETYPE PNG<br><br>&nbsp;&nbsp;&nbsp; QUERYMAP<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; STATUS ON<br>&nbsp;&nbsp;&nbsp; END<br><br>&nbsp;&nbsp;&nbsp; WEB<br>&nbsp;&nbsp;&nbsp; &nbsp; INCLUDE
 "/ms4w/apps/GeoMOOSE/maps_test/web_config.map"<br>&nbsp;&nbsp;&nbsp; END<br><br>LEGEND<br>&nbsp; &nbsp; &nbsp; &nbsp; STATUS OFF<br>END<br><br>&nbsp; LAYER<br>&nbsp; &nbsp;&nbsp;&nbsp; NAME 'Street Names'<br>&nbsp; &nbsp; DATA 'eotroads_177.shp'<br>&nbsp; &nbsp; STATUS DEFAULT<br>&nbsp; &nbsp;&nbsp;&nbsp; TYPE LINE<br>&nbsp; &nbsp; LABELITEM STREET_NAM<br>&nbsp; &nbsp;&nbsp;&nbsp; LABELCACHE ON<br>&nbsp; &nbsp;&nbsp;&nbsp; LABELMAXSCALE 10000<br>&nbsp; &nbsp;&nbsp;&nbsp; <br>&nbsp; &nbsp; CLASS<br>#&nbsp; &nbsp; &nbsp; &nbsp; NAME "Street Names" -- Commenting this out makes the legend not appear.<br>&nbsp; &nbsp; &nbsp; &nbsp; LABEL<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ANGLE AUTO<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; TYPE TRUETYPE<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; FONT trebuchet_ms-bold<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SIZE 12<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; COLOR 0 0 0<br>&nbsp; &nbsp; &nbsp; &nbsp;
 &nbsp; &nbsp; OUTLINECOLOR 255 255 255<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; POSITION CC<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; BUFFER 4<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MINFEATURESIZE AUTO<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; PARTIALS TRUE<br>&nbsp; &nbsp; &nbsp; &nbsp; END<br><br>&nbsp; END<br>&nbsp; &nbsp;&nbsp;&nbsp; <br><br>&nbsp; END<br><br>END ## end Map<br><br>-------------------------------------------------------------------------<br>This <a target="_blank" href="http://SF.net">SF.net</a> email is sponsored by: Microsoft <br>Defy all challenges. Microsoft(R) Visual Studio 2008. <br><a href="http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/" target="_blank">http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/</a><br>_______________________________________________<br>Geomoose-users mailing list<br><a ymailto="mailto:Geomoose-users@lists.sourceforge.net"
 href="mailto:Geomoose-users@lists.sourceforge.net">Geomoose-users@lists.sourceforge.net</a><br><a href="https://lists.sourceforge.net/lists/listinfo/geomoose-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/geomoose-users</a><br></div></div></div><br>

      </body></html>