<!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>&nbsp;</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.&nbsp; 
</FONT></SPAN></DIV>
<DIV><SPAN class=780375513-15072009><FONT face=Arial 
color=#0000ff></FONT></SPAN>&nbsp;</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.&nbsp; </FONT></SPAN></DIV>
<DIV><SPAN class=780375513-15072009><FONT face=Arial 
color=#0000ff></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=780375513-15072009>&nbsp;&nbsp;&nbsp; 
CLASS<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NAME 
'map'<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
STYLE<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; COLOR 255 0 
0<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
END<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LABEL <BR>&nbsp;&nbsp;&nbsp;TYPE 
bitmap<BR>&nbsp;&nbsp;&nbsp; END<BR>&nbsp;&nbsp;&nbsp; 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.&nbsp; Colors are set as RGB (Red 
Green Blue) triplets.&nbsp; 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>&nbsp;</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.&nbsp; </FONT></SPAN></DIV>
<DIV><SPAN class=780375513-15072009><FONT face=Arial 
color=#0000ff></FONT></SPAN>&nbsp;</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:&nbsp; <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>&nbsp;</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>&nbsp;<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&nbsp;red. I am viewing the map via the mapserver.exe (e.g.<A 
  href="http://localhost/cgi-bin/mapserv.exe?mode=map&amp;map=c:/ms4w/apps/openlayers-2.5/data/test.map&amp;layer='map'">http://localhost/cgi-bin/mapserv.exe?mode=map&amp;map=c:/ms4w/apps/openlayers-2.5/data/test.map&amp;layer='map'</A>)<BR>&nbsp;<BR>Here 
  is my map file, Can anyone spot were i am going wrong? any help greatly 
  appreciated.<BR>&nbsp;<BR>The uk.shp file i am attempting to load consists 
  of&nbsp;.tiff images amd&nbsp;was put together using 
  FWTools<BR>&nbsp;<BR>MAP<BR>NAME test<BR>&nbsp; # Map image size<BR>&nbsp; 
  SIZE 400 600<BR>&nbsp; IMAGECOLOR 249 245 186<BR>&nbsp;&nbsp;&nbsp; IMAGETYPE 
  PNG24<BR>&nbsp; OUTPUTFORMAT<BR>&nbsp;&nbsp;&nbsp; NAME 
  PNG24<BR>&nbsp;&nbsp;&nbsp; DRIVER 'GD/PNG'<BR>&nbsp;&nbsp;&nbsp; MIMETYPE 
  'image/PNG'<BR>&nbsp;&nbsp;&nbsp; #IMAGEMODE PC256<BR>&nbsp;&nbsp;&nbsp; 
  EXTENSION 'png'<BR>&nbsp; END<BR>&nbsp; EXTENT -888385.321101 -31000.000000 
  1548385.321101 1271000.000000<BR>&nbsp;&nbsp; <BR>&nbsp; 
  WEB<BR>&nbsp;IMAGEPATH "\ms4w\tmp\ms_tmp\"<BR>&nbsp;&nbsp;&nbsp; IMAGEURL 
  "\ms_tmp\"<BR>&nbsp;&nbsp;&nbsp; METADATA<BR>&nbsp;&nbsp;&nbsp;&nbsp; WMS_SRS 
  "EPSG:4326 EPSG:900913"<BR>&nbsp;END<BR>&nbsp; END<BR>&nbsp; 
  LAYER<BR>&nbsp;&nbsp;&nbsp; NAME 'map'<BR>&nbsp;&nbsp;&nbsp; DATA 
  'C:\ms4w\apps\openlayers-2.5\data\map.shp'<BR>&nbsp;&nbsp;&nbsp; TYPE 
  polygon<BR>&nbsp;&nbsp;&nbsp; STATUS DEFAULT<BR>&nbsp;&nbsp;&nbsp; 
  TRANSPARENCY 100<BR>&nbsp;&nbsp;&nbsp; PROJECTION<BR>&nbsp;&nbsp;&nbsp; 
  'proj=longlat'<BR>&nbsp;&nbsp;&nbsp; 'ellps=WGS84'<BR>&nbsp;&nbsp;&nbsp; 
  'datum=WGS84'<BR>&nbsp;&nbsp;&nbsp; 'no_defs'<BR>&nbsp;&nbsp;&nbsp; 
  ''<BR>&nbsp;&nbsp;&nbsp; END<BR>&nbsp;&nbsp;&nbsp; 
  CLASS<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NAME 
  'map'<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  STYLE<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; COLOR 255 0 
  0<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  END<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LABEL <BR>&nbsp;&nbsp;&nbsp;TYPE 
  bitmap<BR>&nbsp;&nbsp;&nbsp; END<BR>&nbsp;&nbsp;&nbsp; END<BR>&nbsp; 
  END<BR>END<BR>&nbsp;<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>