<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2604" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>It's not generally a good idea to put all of your 
files in the cgi-bin directory.&nbsp;&nbsp; You should only have the mapserv 
directory there, and your other files in your normal html directory like 
/var/www/&lt;directory&gt;&nbsp;&nbsp; or something like that.&nbsp;&nbsp;&nbsp; 
The Imagepath is the complete path to the temp directory where your map images 
will be stored... the ImageURL would be the URL to the images.&nbsp;&nbsp; For 
example you might have something like&nbsp; </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Imagepath&nbsp; /var/www/map/tmp&nbsp;</FONT></DIV>
<DIV><FONT face=Arial size=2>ImageURL /map/tmp.&nbsp;&nbsp;&nbsp; </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>The fontset is only used for labels if you have any 
text labels on your map.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Your legend likely doesn't show up because you 
haven't named any of your classes.&nbsp;&nbsp; Only named classes will show up 
on a legend.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>-Jeff</FONT></DIV>
<DIV>&nbsp;</DIV>
<BLOCKQUOTE 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=wokar1@YAHOO.COM href="mailto:wokar1@YAHOO.COM">w m</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A 
  title=MAPSERVER-USERS@LISTS.UMN.EDU 
  href="mailto:MAPSERVER-USERS@LISTS.UMN.EDU">MAPSERVER-USERS@LISTS.UMN.EDU</A> 
  </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Thursday, February 10, 2005 3:44 
  PM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> [UMN_MAPSERVER-USERS] Layers do 
  not show up?</DIV>
  <DIV><BR></DIV>
  <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.</BLOCKQUOTE></BODY></HTML>