<DIV>Hi,</DIV>
<DIV>I was making a simple map file.&nbsp; I'm able to display the map, but when i add the "landcover" layers, they don't show up on the map. I'm not sure why it doesn't show up???</DIV>
<DIV>Also, does it matter if I include the fontset? what is it used for?</DIV>
<DIV>WHat is the purpose of IMAGEPATH and IMAGEURL? If I don't include these it doesn't make a difference. Why is that?</DIV>
<DIV>The legend doesn't show up either.</DIV>
<DIV>&nbsp;It can be viewed here: <A href="http://132.205.108.60">http://132.205.108.60</A></DIV>
<DIV>&nbsp;</DIV>
<DIV>I put all my files in the cgi-bin along with mapserver.</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2>
<P>NAME europe&nbsp;</P>
<P>STATUS ON</P>
<P>IMAGETYPE PNG</P>
<P>IMAGECOLOR 255 255 255 # white background</P>
<P>&nbsp;</P>
<P>&nbsp;</P>
<P>&nbsp;</P>
<P>&nbsp;</P>
<P>EXTENT 407.997812 4103475.750 443135.000 4157027.250</P>
<P>#FONTSET "/usr/local/etc/htdocs/mapserver/fonts/fonts.list"</P>
<P>SIZE 500 500</P>
<P>&nbsp;</P>
<P>SHAPEPATH "/var/www/cgi-bin"</P>
<P># Set your template file to the name of YOUR template file</P>
<P># you can leave the image path and image URL alone</P>
<P>WEB</P>
<P>TEMPLATE "/var/www/html/index.html"</P>
<P>IMAGEPATH "/usr/local/etc/htdocs/tmp/"</P>
<P>IMAGEURL "/tmp/"</P>
<P>END</P>
<P>&nbsp;</P>
<P>LEGEND</P>
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;STATUS ON</P>
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LABEL</P>
<P>TYPE TRUETYPE</P>
<P>FONT arial</P>
<P>COLOR 0 0 0</P>
<P>SIZE 10</P>
<P>ANTIALIAS TRUE</P>
<P>END</P>
<P>END</P>
<P>&nbsp;</P>
<P># LAYER DEFINITIONS ---------------------------------------------</P>
<P>LAYER</P>
<P>NAME "myoutline"</P>
<P>DATA europa</P>
<P>STATUS DEFAULT # Show the layer at all times</P>
<P>TYPE LINE </P>
<P>CLASS</P>
<P>COLOR 0 0 0 </P>
<P>OUTLINECOLOR 255 120 60&nbsp;</P>
<P>&nbsp;</P>
<P>END</P>
<P>END</P>
<P>&nbsp;</P>
<P>LAYER</P>
<P>NAME "credits"</P>
<P>STATUS DEFAULT</P>
<P>TRANSFORM FALSE</P>
<P>TYPE ANNOTATION</P>
<P>FEATURE</P>
<P>POINTS</P>
<P>50 480 # changes the location of the text</P>
<P>END</P>
<P>TEXT 'Europe Map'</P>
<P>END</P>
<P>CLASS</P>
<P>LABEL</P>
<P>TYPE BITMAP</P>
<P>POSITION CR</P>
<P>COLOR 255 120 60 </P>
<P>END</P>
<P>END</P>
<P>END</P>
<P>&nbsp;</P>
<P>&nbsp;</P>
<P>LAYER #</P>
<P>NAME "mylandcover"</P>
<P>DATA nhtm93s3</P>
<P>STATUS ON # show layer, but allow it to be turned off</P>
<P>TYPE POLYGON # choices for type are POLYGON, LINE and POINT</P>
<P>CLASSITEM "LANDCOVER"</P>
<P>CLASS # water</P>
<P>NAME "Water"</P>
<P>EXPRESSION 'Water' # match only those where [landcover]='Water'</P>
<P>COLOR 225 225 255 </P>
<P>OUTLINECOLOR 0 0 0</P>
<P>END</P>
<P>CLASS # grassland</P>
<P>NAME "Grassland"</P>
<P>EXPRESSION /Planted*/ # search for landcovers starting with Planted</P>
<P>COLOR 0 240 0</P>
<P>OUTLINECOLOR 0 0 0</P>
<P>END</P>
<P>CLASS # forest</P>
<P>NAME "Forest"</P>
<P>EXPRESSION /Forest*/</P>
<P>COLOR 200 140 0</P>
<P>OUTLINECOLOR 0 0 0</P>
<P>END</P>
<P>CLASS # salt marsh</P>
<P>NAME "Salt Marsh"</P>
<P>EXPRESSION /Salt*/</P>
<P>COLOR 0 200 140</P>
<P>OUTLINECOLOR 0 0 0</P>
<P>END</P>
<P>CLASS # sand</P>
<P>NAME "Sand"</P>
<P>EXPRESSION /Bare*/</P>
<P>COLOR 240 240 240</P>
<P>OUTLINECOLOR 0 0 0</P>
<P>END</P>
<P>END # end of layer object</P>
<P>&nbsp;</P>
<P>LAYER</P>
<P>NAME "myroads"</P>
<P>DATA rtf100k</P>
<P>STATUS ON</P>
<P>TYPE line</P>
<P>CLASS</P>
<P>NAME Roads</P>
<P>COLOR 200 0 200</P>
<P>OUTLINECOLOR 0 0 0</P>
<P>END # end of class</P>
<P>END # end of layer object</P>
<P>&nbsp;</P>
<P>&nbsp;</P>
<P>&nbsp;</P>
<P>END # end of map file</P></FONT></DIV>
<DIV>&nbsp;</DIV><BR><BR><p>
                <hr size=1>Do you Yahoo!?<br>
<a href="http://us.rd.yahoo.com/mail_us/taglines/security/*http://promotions.yahoo.com/new_mail/static/protection.html">Yahoo! Mail</a> - You care about security. So do we.