<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Message</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<STYLE>.hmmessage P {
        PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px
}
BODY.hmmessage {
        FONT-SIZE: 10pt; FONT-FAMILY: Verdana
}
</STYLE>

<META content="MSHTML 6.00.6000.16850" name=GENERATOR></HEAD>
<BODY class=hmmessage>
<DIV><SPAN class=780375513-15072009><FONT face=Arial color=#0000ff>Paul, 
</FONT></SPAN></DIV>
<DIV><SPAN class=780375513-15072009><FONT face=Arial 
color=#0000ff></FONT></SPAN> </DIV>
<DIV><SPAN class=780375513-15072009><FONT face=Arial color=#0000ff>Your polygon 
data is red because you are telling MapServer to color it red.  
</FONT></SPAN></DIV>
<DIV><SPAN class=780375513-15072009><FONT face=Arial 
color=#0000ff></FONT></SPAN> </DIV>
<DIV><SPAN class=780375513-15072009><FONT face=Arial color=#0000ff>In the class 
in your layer 'map' (probably not a great layer or class name), you are using a 
style to color your polygons.  </FONT></SPAN></DIV>
<DIV><SPAN class=780375513-15072009><FONT face=Arial 
color=#0000ff></FONT></SPAN> </DIV>
<DIV><SPAN class=780375513-15072009>    
CLASS<BR>       NAME 
'map'<BR>       
STYLE<BR>         COLOR 255 0 
0<BR>       
END<BR>       LABEL <BR>   TYPE 
bitmap<BR>    END<BR>    END<BR></SPAN><SPAN 
class=780375513-15072009></SPAN></DIV>
<DIV><SPAN class=780375513-15072009><FONT face=Arial color=#0000ff>You have set 
the value of the color property to be 255 0 0.  Colors are set as RGB (Red 
Green Blue) triplets.  In that line, you are saying, 'color it with the 
full amount of red and don't use any green or blue'.</FONT></SPAN></DIV>
<DIV><SPAN class=780375513-15072009><FONT face=Arial 
color=#0000ff></FONT></SPAN> </DIV>
<DIV><SPAN class=780375513-15072009><FONT face=Arial color=#0000ff>If you change 
the value to 0 0 255, you will see blue polygons.  </FONT></SPAN></DIV>
<DIV><SPAN class=780375513-15072009><FONT face=Arial 
color=#0000ff></FONT></SPAN> </DIV>
<DIV><SPAN class=780375513-15072009><FONT face=Arial color=#0000ff>For an easy 
way to come up with prettier colors, take a look at ColorBrewer:  <A 
href="http://www.personal.psu.edu/cab38/ColorBrewer/ColorBrewer_intro.html">http://www.personal.psu.edu/cab38/ColorBrewer/ColorBrewer_intro.html</A></FONT></SPAN></DIV>
<DIV><SPAN class=780375513-15072009><FONT face=Arial 
color=#0000ff></FONT></SPAN> </DIV>
<DIV><SPAN class=780375513-15072009><FONT face=Arial 
color=#0000ff>David.</FONT></DIV></SPAN>
<BLOCKQUOTE 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> 
  mapserver-users-bounces@lists.osgeo.org 
  [mailto:mapserver-users-bounces@lists.osgeo.org] <B>On Behalf Of </B>Paul 
  Curran<BR><B>Sent:</B> Wednesday, July 15, 2009 5:20 AM<BR><B>To:</B> mapser 
  all users<BR><B>Subject:</B> [mapserver-users] Mapfile displaying in 
  red<BR><BR></FONT></DIV>Hi <BR> <BR>When i load my map file which can be 
  seen below i can view the outline of map but the actual map displays 
  as red. I am viewing the map via the mapserver.exe (e.g.<A 
  href="http://localhost/cgi-bin/mapserv.exe?mode=map&map=c:/ms4w/apps/openlayers-2.5/data/test.map&layer='map'">http://localhost/cgi-bin/mapserv.exe?mode=map&map=c:/ms4w/apps/openlayers-2.5/data/test.map&layer='map'</A>)<BR> <BR>Here 
  is my map file, Can anyone spot were i am going wrong? any help greatly 
  appreciated.<BR> <BR>The uk.shp file i am attempting to load consists 
  of .tiff images amd was put together using 
  FWTools<BR> <BR>MAP<BR>NAME test<BR>  # Map image size<BR>  
  SIZE 400 600<BR>  IMAGECOLOR 249 245 186<BR>    IMAGETYPE 
  PNG24<BR>  OUTPUTFORMAT<BR>    NAME 
  PNG24<BR>    DRIVER 'GD/PNG'<BR>    MIMETYPE 
  'image/PNG'<BR>    #IMAGEMODE PC256<BR>    
  EXTENSION 'png'<BR>  END<BR>  EXTENT -888385.321101 -31000.000000 
  1548385.321101 1271000.000000<BR>   <BR>  
  WEB<BR> IMAGEPATH "\ms4w\tmp\ms_tmp\"<BR>    IMAGEURL 
  "\ms_tmp\"<BR>    METADATA<BR>     WMS_SRS 
  "EPSG:4326 EPSG:900913"<BR> END<BR>  END<BR>  
  LAYER<BR>    NAME 'map'<BR>    DATA 
  'C:\ms4w\apps\openlayers-2.5\data\map.shp'<BR>    TYPE 
  polygon<BR>    STATUS DEFAULT<BR>    
  TRANSPARENCY 100<BR>    PROJECTION<BR>    
  'proj=longlat'<BR>    'ellps=WGS84'<BR>    
  'datum=WGS84'<BR>    'no_defs'<BR>    
  ''<BR>    END<BR>    
  CLASS<BR>       NAME 
  'map'<BR>       
  STYLE<BR>         COLOR 255 0 
  0<BR>       
  END<BR>       LABEL <BR>   TYPE 
  bitmap<BR>    END<BR>    END<BR>  
  END<BR>END<BR> <BR><BR>
  <HR>
  Upgrade to Internet Explorer 8 Optimised for MSN. <A 
  href="http://extras.uk.msn.com/internet-explorer-8/?ocid=T010MSN07A0716U" 
  target=_new>Download Now</A> </BLOCKQUOTE></BODY></HTML>