<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 <nellyfromma@gmail.com><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> NAME 'Street Names'<br> SIZE 800 650<br> STATUS ON<br> EXTENT 201779.095954 875680.979642 210107.108238 880995.644173<br> UNITS METERS<br> FONTSET '../fonts/fontset.list'<br> SYMBOLSET '../symbols/symbol.sym'<br> TRANSPARENT TRUE<br> IMAGETYPE PNG<br><br> QUERYMAP<br> STATUS ON<br> END<br><br> WEB<br> INCLUDE
"/ms4w/apps/GeoMOOSE/maps_test/web_config.map"<br> END<br><br>LEGEND<br> STATUS OFF<br>END<br><br> LAYER<br> NAME 'Street Names'<br> DATA 'eotroads_177.shp'<br> STATUS DEFAULT<br> TYPE LINE<br> LABELITEM STREET_NAM<br> LABELCACHE ON<br> LABELMAXSCALE 10000<br> <br> CLASS<br># NAME "Street Names" -- Commenting this out makes the legend not appear.<br> LABEL<br> ANGLE AUTO<br> TYPE TRUETYPE<br> FONT trebuchet_ms-bold<br> SIZE 12<br> COLOR 0 0 0<br>
OUTLINECOLOR 255 255 255<br> POSITION CC<br> BUFFER 4<br> MINFEATURESIZE AUTO<br> PARTIALS TRUE<br> END<br><br> END<br> <br><br> 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>