<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-15">
<META content="MSHTML 6.00.2800.1505" name=GENERATOR></HEAD>
<BODY style="MARGIN: 4px 4px 1px; FONT: 10pt Comic Sans MS">
<DIV>Jim,</DIV>
<DIV>&nbsp;</DIV>
<DIV>I would try to get something like this working first:</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Courier>&nbsp;&nbsp;&nbsp; LAYER # Feedlot Layer<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NAME Feedlots<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DATA feedlots<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; STATUS DEFAULT<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TYPE POINT<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MAXSCALE 100000<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MINSCALE 1000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;CLASS<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NAME "Feedlots"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;## EXPRESSION ('[animalunit]' &lt; 49)</FONT></DIV>
<DIV><FONT face=Courier>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;STYLE<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; COLOR 000 000 000<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SIZE 15<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SYMBOL SQUAR<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;END</FONT></DIV>
<DIV><FONT face=Courier>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; END</FONT></DIV>
<DIV><FONT face=Courier>&nbsp;&nbsp;&nbsp;&nbsp;END</FONT></DIV>
<DIV><FONT face=Courier></FONT>&nbsp;</DIV>
<DIV>Then add in the Expression by uncommenting,</DIV>
<DIV><FONT face=Courier></FONT>&nbsp;</DIV>
<DIV>From the stuff you sent, first off those two lines at the top need to look like this instead of how they are now.</DIV>
<DIV>&nbsp;</DIV>
<DIV>NAME "Feedlots"</DIV>
<DIV>DATA "feedlots"</DIV>
<DIV>&nbsp;</DIV>
<DIV>Now, you have the NAME value in the LAYER and the CLASSs, you only need one or the other, I would suggest in the CLASS.</DIV>
<DIV>&nbsp;</DIV>
<DIV>The next thing, is the CLASSITEM Value, generally this needs to be Capitalized like so:</DIV>
<DIV>&nbsp;</DIV>
<DIV>CLASSITEM "ANIMALUNIT"&nbsp;&nbsp; #I assume this is the Column name from the Data file you are using, is it a SHP file?</DIV>
<DIV>&nbsp;</DIV>
<DIV>Now you may be doing too much here at once, I would just get the map to build with this, then go on to the EXPRESSIONS.</DIV>
<DIV>&nbsp;</DIV>
<DIV>The first one would go something like this though:</DIV>
<DIV>&nbsp;</DIV>
<DIV>EXPRESSION ('[animalunit]' &lt; 49)&nbsp; BTW, you don't need the CLASITEM for this.</DIV>
<DIV>&nbsp;</DIV>
<DIV>You can get more info about all of this at this link: <A href="http://mapserver.gis.umn.edu/docs/reference/mapfile">http://mapserver.gis.umn.edu/docs/reference/mapfile</A></DIV>
<DIV>&nbsp;</DIV>
<DIV>Generally, start out with the general Display aspects first, then get the filtering by expressions to work afterwards.</DIV>
<DIV>&nbsp;</DIV>
<DIV>bobb</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV><BR><BR>&gt;&gt;&gt; "Jim Dahl" &lt;jim.dahl@mail.co.douglas.mn.us&gt; wrote:<BR></DIV>
<DIV style="PADDING-LEFT: 7px; MARGIN: 0px 0px 0px 15px; BORDER-LEFT: #050505 1px solid; BACKGROUND-COLOR: #f3f3f3">
<DIV><SPAN class=798084520-09112007>Greetings, I thought I attached them earlier, but maybe exceeded the file size requirement.&nbsp; So here take a pick.&nbsp; the PLS map is a bit more involved in that I want to symbolize on two different fields.</SPAN></DIV>
<DIV><SPAN class=798084520-09112007></SPAN>&nbsp;</DIV>
<DIV><SPAN class=798084520-09112007>jim</SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT face=Tahoma>-----Original Message-----<BR><B>From:</B> Bob Basques [mailto:Bob.Basques@ci.stpaul.mn.us] <BR><B>Sent:</B> Friday, November 09, 2007 2:46 PM<BR><B>To:</B> geomoose-users@lists.sourceforge.net; Jim Dahl<BR><B>Subject:</B> RE: [Geomoose-users] LEGEND SYMBOLOGY<BR><BR></FONT></DIV>
<DIV>Jim,</DIV>
<DIV>&nbsp;</DIV>
<DIV>How did your meeting go?</DIV>
<DIV>&nbsp;</DIV>
<DIV>Also, can you add the MAPFILE you are using here, so we can look at it, for the layer you want to have a legend for?</DIV>
<DIV>&nbsp;</DIV>
<DIV>bobb</DIV>
<DIV>&nbsp;</DIV>
<DIV><BR><BR>&gt;&gt;&gt; "Jim Dahl" &lt;jim.dahl@mail.co.douglas.mn.us&gt; wrote:<BR></DIV>
<DIV style="PADDING-LEFT: 7px; MARGIN: 0px 0px 0px 15px; BORDER-LEFT: #050505 1px solid; BACKGROUND-COLOR: #f3f3f3">
<DIV><SPAN class=927231219-09112007>I will have to call the quest for symbology off till the workshop on the 16th.&nbsp; I still cannot make it work.&nbsp; I would be happy to write up a summary of how to put all of the pieces together so they can be found in one easy spot.&nbsp; "How to symbolize the legend.'&nbsp; </SPAN></DIV>
<DIV><SPAN class=927231219-09112007></SPAN>&nbsp;</DIV>
<DIV><SPAN class=927231219-09112007>I have Named the Class.</SPAN></DIV>
<DIV><SPAN class=927231219-09112007>The legend is ON.</SPAN></DIV>
<DIV><SPAN class=927231219-09112007></SPAN>&nbsp;</DIV>
<DIV><SPAN class=927231219-09112007>The odd part is - it appears too easy.</SPAN></DIV>
<DIV><SPAN class=927231219-09112007></SPAN>&nbsp;</DIV>
<DIV><SPAN class=927231219-09112007>jim</SPAN></DIV>
<DIV><SPAN class=927231219-09112007></SPAN>&nbsp;</DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT face=Tahoma>-----Original Message-----<BR><B>From:</B> Bob Basques [mailto:Bob.Basques@ci.stpaul.mn.us] <BR><B>Sent:</B> Friday, November 09, 2007 10:13 AM<BR><B>To:</B> Jim Klassen; geomoose-users@lists.sourceforge.net; Jim Dahl; Dan Little<BR><B>Subject:</B> Re: [Geomoose-users] LEGEND SYMBOLOGY<BR><BR></FONT></DIV>
<DIV>All,</DIV>
<DIV>&nbsp;</DIV>
<DIV>I think someone already noted this, but . . .</DIV>
<DIV>&nbsp;</DIV>
<DIV>You need to have a value for the NAME parameter inside the LAYER definition for a Legend graphic to be generated.&nbsp; If the NAME parameter is not present or set to a value, there will be no legend graphic created for that layer.</DIV>
<DIV>&nbsp;</DIV>
<DIV>bobb</DIV>
<DIV>&nbsp;</DIV>
<DIV><BR><BR>&gt;&gt;&gt; "Jim Klassen" &lt;Jim.Klassen@ci.stpaul.mn.us&gt; wrote:<BR></DIV>
<DIV style="PADDING-LEFT: 7px; MARGIN: 0px 0px 0px 15px; BORDER-LEFT: #050505 1px solid; BACKGROUND-COLOR: #f3f3f3">
<P style="MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px"><FONT face="Lucida Grande" size=3>If I remember correctly, there are two types of legends that mapserver is capable of producing: HTML and Bitmap. I think (unless this has changed recently) that GeoMOOSE is expecting an Bitmap legend.</FONT> </P><BR>
<P style="MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px"><FONT face="Lucida Grande" size=3>This is the legend section used at the city:</FONT> </P><BR>
<P style="MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px"><FONT face="Lucida Grande" size=3>&nbsp;&nbsp;LEGEND</FONT> </P>
<P style="MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px"><FONT face="Lucida Grande" size=3>&nbsp;&nbsp;&nbsp;&nbsp;STATUS ON</FONT> </P>
<P style="MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px"><FONT face="Lucida Grande" size=3>&nbsp;&nbsp;&nbsp;&nbsp;KEYSIZE 20 12</FONT> </P>
<P style="MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px"><FONT face="Lucida Grande" size=3>&nbsp;&nbsp;&nbsp;&nbsp;LABEL</FONT> </P>
<P style="MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px"><FONT face="Lucida Grande" size=3>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;TYPE BITMAP</FONT> </P>
<P style="MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px"><FONT face="Lucida Grande" size=3>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;COLOR 0 0 0</FONT> </P>
<P style="MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px"><FONT face="Lucida Grande" size=3>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SIZE MEDIUM</FONT> </P>
<P style="MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px"><FONT face="Lucida Grande" size=3>&nbsp;&nbsp;&nbsp;&nbsp;END</FONT> </P>
<P style="MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px"><FONT face="Lucida Grande" size=3>&nbsp;&nbsp;END</FONT> </P><BR>
<P style="MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px"><BR><BR>&gt;&gt;&gt; On Thu, Nov 8, 2007 at&nbsp;&nbsp;1:30 PM, "Jim Dahl" &lt;jim.dahl@mail.co.douglas.mn.us&gt; wrote:<BR></P>
<DIV style="PADDING-LEFT: 7px; MARGIN: 0px 0px 0px 15px; BORDER-LEFT: #050505 1px solid; BACKGROUND-COLOR: #f3f3f3">
<DIV>
<DIV class=331082119-08112007>
<P style="MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px">I have the classes all defined to show up in the map thematically, and the only thing that seems to make sense is the status on in the mapfile.&nbsp;&nbsp;It is ON.&nbsp;&nbsp;For clarity, the statedemo comes with only the County Boundaries in the legend, and I cannot see where it tells mapserver how to turn on the legend other than status ON.&nbsp;&nbsp;I used the county map file as a template and the new layer show the symbology in the legend so it must be in the map file, but where? </P></DIV></DIV>
<DIV>
<DIV class=331082119-08112007><BR></DIV>
<P style="MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px"></P></DIV>
<DIV>
<DIV class=331082119-08112007>
<P style="MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px">Thanks, </P></DIV></DIV>
<DIV>
<DIV class=331082119-08112007><BR></DIV>
<P style="MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px"></P></DIV>
<DIV>
<DIV class=331082119-08112007>
<P style="MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px">jim </P></DIV></DIV>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
<DIV><BR></DIV>
<DIV class=outlookmessageheader lang=en-us dir=ltr align=left>
<P style="MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px"><FONT face=Tahoma size=2>-----Original Message-----<BR style="FONT-SIZE: 2px; FONT-FAMILY: Tahoma"><B>From:</B>&nbsp;Dan Little [mailto:danlittle@yahoo.com]<BR style="FONT-SIZE: 2px; FONT-FAMILY: Tahoma"><B>Sent:</B>&nbsp;Thursday, November 08, 2007 1:21 PM<BR style="FONT-SIZE: 2px; FONT-FAMILY: Tahoma"><B>To:</B>&nbsp;Jim Dahl; geomoose-users@lists.sourceforge.net<BR style="FONT-SIZE: 2px; FONT-FAMILY: Tahoma"><B>Subject:</B>&nbsp;Re: [Geomoose-users] LEGEND SYMBOLOGY<BR style="FONT-SIZE: 2px; FONT-FAMILY: Tahoma"><BR style="FONT-SIZE: 2px; FONT-FAMILY: Tahoma"></FONT></P></DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: arial,helvetica,sans-serif">
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: arial,helvetica,sans-serif">
<P style="MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px">That's all Mapserver Mapfiles...<BR><BR>See if any of this documentation helps...<BR><BR></P>
<DIV>
<P style="MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px"><A href="http://mapserver.gis.umn.edu/docs/reference/mapfile/legend" target=_blank>http://mapserver.gis.umn.edu/docs/reference/mapfile/legend</A> </P></DIV>
<P style="MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px"><BR><BR></P>
<DIV>
<P style="MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px"><A href="http://mapserver.gis.umn.edu/docs/reference/mapfile/class" target=_blank>http://mapserver.gis.umn.edu/docs/reference/mapfile/class</A> </P></DIV>
<P style="MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px"><BR><BR>The SYMBOL and NAME from the class are used to generate the legend images.<BR><BR></P>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman,new york,times,serif">
<P style="MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px">----- Original Message ----<BR>From: Jim Dahl &lt;jim.dahl@mail.co.douglas.mn.us&gt;<BR>To: geomoose-users@lists.sourceforge.net<BR>Sent: Thursday, November 8, 2007 12:57:12 PM<BR>Subject: [Geomoose-users] LEGEND SYMBOLOGY<BR><BR></P>
<DIV>
<DIV class=610405018-08112007>
<P style="MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px"><FONT face=Arial size=2>What seems like an easy question has taken a lot of time for me to try figure out.&nbsp;&nbsp;I want to know what file to edit to add the symbology in my classes in the mapfile to the legend in the GeoMoose display.&nbsp;&nbsp;Any takers?</FONT> </P></DIV></DIV>
<DIV>
<P style="MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px"></P></DIV>
<P style="MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px"><FONT face=Arial size=2>Jim Dahl, GISP</FONT><BR><FONT face=Arial size=2>GIS Coordinator</FONT><BR><FONT face=Arial size=2>Douglas County Public Works</FONT><BR><FONT face=Arial size=2>509 3rd Ave W</FONT><BR><FONT face=Arial size=2>PO Box 398</FONT><BR><FONT face=Arial size=2>Alexandria MN 56308</FONT> </P>
<P style="MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px"><FONT face=Arial size=2>V 320-762-2933</FONT><BR><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp;320-763-6001</FONT><BR><FONT face=Arial size=2>F 320-763-7955</FONT> </P>
<DIV>
<P style="MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px"></P></DIV></DIV>
<P style="MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px"><BR></P></DIV></DIV>
<P style="MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px"><BR>__________________________________________________<BR>Do You Yahoo!?<BR>Tired of spam? Yahoo! Mail has the best spam protection around<BR>http://mail.yahoo.com </P></BLOCKQUOTE></DIV></DIV></BLOCKQUOTE></DIV></BLOCKQUOTE></DIV></BODY></HTML>