<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<title>controlling items in the legend GM 2.2</title>
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Hi Mark<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Check that the layer status in the map file is set to “ON”,
not “DEFAULT”. In your example below, the mapsource (“Boundaries”)
does not match with the call in the catalog (“AllLayers”).<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Len<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<div>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>
<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Mark Volz
[mailto:MarkVolz@co.lyon.mn.us] <br>
<b>Sent:</b> Wednesday, April 07, 2010 10:50 AM<br>
<b>To:</b> geomoose-users@lists.sourceforge.net<br>
<b>Subject:</b> [Geomoose-users] controlling items in the legend GM 2.2<o:p></o:p></span></p>
</div>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<p><span style='font-family:"Calibri","sans-serif"'>Hello.</span><o:p></o:p></p>
<p><span style='font-family:"Calibri","sans-serif"'>I have</span> <span
style='font-family:"Calibri","sans-serif"'>map setup where multiple layers are
pointing to a single map source file. </span> <span style='font-family:
"Calibri","sans-serif"'>I would like to do it this way so I can draw all of my
layers on a single image. </span> <span style='font-family:"Calibri","sans-serif"'>When
I turn on the legend</span> <span style='font-family:"Calibri","sans-serif"'>on
for any layer the legend for all the layers shows up. I am</span> <span
style='font-family:"Calibri","sans-serif"'>assuming this is the case as if I am
not mistaken legends are drawn at the</span> <span style='font-family:"Calibri","sans-serif"'>.map
level and not layer by layer? Anyways, is there any</span> <span
style='font-family:"Calibri","sans-serif"'>way to make sure that only</span> <span
style='font-family:"Calibri","sans-serif"'>relevant items show up on the
legend? For</span> <span style='font-family:"Calibri","sans-serif"'>example
if I click on the legend for my parcel layer, I would only like</span> <span
style='font-family:"Calibri","sans-serif"'>only</span> <span style='font-family:
"Calibri","sans-serif"'>parcels to show up in that legend,</span> <span
style='font-family:"Calibri","sans-serif"'>and if I click on</span> <span
style='font-family:"Calibri","sans-serif"'>my section layer I would like only
the sections to draw on the layer.</span><o:p></o:p></p>
<p><span style='font-family:"Calibri","sans-serif"'><map-source
name="Boundaries" type="mapserver"></span><o:p></o:p></p>
<p><span style='font-family:"Calibri","sans-serif"'><file>
./Boundaries.map</file></span><o:p></o:p></p>
<p> <span style='font-family:"Calibri","sans-serif"'><layer
name=”parcels”></span><o:p></o:p></p>
<p> <span style='font-family:"Calibri","sans-serif"'><layer
name=”sections”></span><o:p></o:p></p>
<p> <span style='font-family:"Calibri","sans-serif"'>….</span><o:p></o:p></p>
<p><span style='font-family:"Calibri","sans-serif"'></map-source></span><o:p></o:p></p>
<p><span style='font-family:"Calibri","sans-serif"'>…</span><o:p></o:p></p>
<p><span style='font-family:"Calibri","sans-serif"'><catalog></span><o:p></o:p></p>
<p> <span style='font-family:"Calibri","sans-serif"'>…</span><o:p></o:p></p>
<p><span style='font-family:"Calibri","sans-serif"'><layer
title="Parcels" src="AllLayers/parcels</span> <span
style='font-family:"Calibri","sans-serif"'>" status="on"
legend="true" />
</span> <o:p></o:p></p>
<p><span style='font-family:"Calibri","sans-serif"'><layer
title="Sections" src="AllLayers/sections"
status="on" legend="true" /></span><o:p></o:p></p>
<p><span style='font-family:"Calibri","sans-serif"'>…</span>
<o:p></o:p></p>
<p><span style='font-family:"Calibri","sans-serif"'></catalog></span><o:p></o:p></p>
<p><span style='font-family:"Calibri","sans-serif"'>Thanks</span><o:p></o:p></p>
<p><span style='font-family:"Calibri","sans-serif"'>Mark Volz</span><o:p></o:p></p>
<p><span style='font-family:"Calibri","sans-serif"'>GIS Specialist</span><o:p></o:p></p>
<p><span style='font-family:"Calibri","sans-serif"'>Lyon County, MN</span><o:p></o:p></p>
</div>
</body>
</html>