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

<META content="MSHTML 6.00.2900.3157" name=GENERATOR></HEAD>
<BODY class=hmmessage>
<DIV><SPAN class=577042114-07092007><FONT face=Arial color=#0000ff>Chris, 
</FONT></SPAN></DIV>
<DIV><SPAN class=577042114-07092007><FONT face=Arial 
color=#0000ff></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=577042114-07092007><FONT face=Arial color=#0000ff>I see two 
parts to this:&nbsp; </FONT></SPAN></DIV>
<DIV><SPAN class=577042114-07092007><FONT face=Arial 
color=#0000ff></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=577042114-07092007><FONT face=Arial color=#0000ff>1.&nbsp; To 
get your map file properly set up</FONT></SPAN></DIV>
<DIV><SPAN class=577042114-07092007><FONT face=Arial 
color=#0000ff></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=577042114-07092007><FONT face=Arial color=#0000ff>2.&nbsp; To 
confirm that your image is properly georeferenced.&nbsp; </FONT></SPAN></DIV>
<DIV><SPAN class=577042114-07092007><FONT face=Arial 
color=#0000ff></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=577042114-07092007><FONT face=Arial 
color=#0000ff></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=577042114-07092007><FONT face=Arial color=#0000ff>For the map 
file: </FONT></SPAN></DIV>
<DIV><SPAN class=577042114-07092007><FONT face=Arial 
color=#0000ff></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=577042114-07092007><FONT face=Arial color=#0000ff>Have you 
looked at the Raster Data HowTo?&nbsp; </FONT></SPAN><SPAN 
class=577042114-07092007><FONT face=Arial color=#0000ff><A 
href="http://mapserver.gis.umn.edu/docs/howto/raster_data">http://mapserver.gis.umn.edu/docs/howto/raster_data</A>&nbsp; 
This should give you some simple examples.</FONT></SPAN></DIV>
<DIV><SPAN class=577042114-07092007><FONT face=Arial 
color=#0000ff></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=577042114-07092007><FONT face=Arial color=#0000ff>You shouldn't 
actually need projection blocks unless you are combining data from different 
projections or serving the data up as a WMS.&nbsp; If you do need to use 
projections, and your data is in UTM Zone 16, using the epsg definition that 
I</FONT></SPAN></DIV>
<DIV><SPAN class=577042114-07092007><FONT face=Arial color=#0000ff>sent in the 
last email will make it easier.</FONT></SPAN></DIV>
<DIV><SPAN class=577042114-07092007><FONT face=Arial 
color=#0000ff></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=577042114-07092007><FONT face=Arial color=#0000ff>Get rid of 
the EXTENT line in your LAYER, I don't believe that this property 
exists.</FONT></SPAN></DIV>
<DIV><SPAN class=577042114-07092007><FONT face=Arial 
color=#0000ff></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=577042114-07092007><FONT face=Arial color=#0000ff>Set your 
LAYER STATUS to DEFAULT.&nbsp; </FONT></SPAN></DIV>
<DIV><SPAN class=577042114-07092007><FONT face=Arial 
color=#0000ff></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=577042114-07092007><FONT face=Arial color=#0000ff>Get rid of 
the CLASS block in your LAYER.</FONT></SPAN></DIV>
<DIV><SPAN class=577042114-07092007><FONT face=Arial 
color=#0000ff></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=577042114-07092007><FONT face=Arial 
color=#0000ff></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=577042114-07092007><FONT face=Arial color=#0000ff>For the 
image, run gdalinfo on it and see if the georeferencing information is 
correct.&nbsp; You can get gdalinfo at <A 
href="http://www.gdal.org/">http://www.gdal.org/</A></FONT></SPAN></DIV>
<DIV><SPAN class=577042114-07092007><FONT face=Arial 
color=#0000ff></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=577042114-07092007><FONT face=Arial 
color=#0000ff>David.</FONT></SPAN></DIV>
<DIV><SPAN class=577042114-07092007><FONT face=Arial 
color=#0000ff></FONT></SPAN>&nbsp;</DIV>
<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> UMN MapServer Users 
  List [mailto:MAPSERVER-USERS@LISTS.UMN.EDU] <B>On Behalf Of </B>Christopher 
  Harris<BR><B>Sent:</B> Friday, September 07, 2007 9:18 AM<BR><B>To:</B> 
  MAPSERVER-USERS@LISTS.UMN.EDU<BR><B>Subject:</B> 
  [UMN_MAPSERVER-USERS]<BR><BR></FONT></DIV>No, I'm setting all the parameters 
  (well, as many as I can and understand).&nbsp; I tried to follow the Proj.4 
  .pdf manual and I was kinda confused what lat_1, lon_1 and lat_2, lon_2 were 
  supposed to be or if I even needed them.<BR><BR>Here is my map 
  file:<BR><BR>MAP<BR>&nbsp;&nbsp;&nbsp; NAME 
  UniversityOfIllinois<BR>&nbsp;&nbsp;&nbsp; STATUS ON<BR>&nbsp;&nbsp;&nbsp; 
  SIZE 600 500<BR>&nbsp;&nbsp;&nbsp; IMAGETYPE GIF<BR>&nbsp;&nbsp;&nbsp; 
  PROJECTION<BR>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 
  "proj=utm"<BR>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; "ellps=WGS84" 
  <BR>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; "datum=NAD83"<BR>&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp; "zone=16"<BR>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 
  "units=m"<BR>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 
  "north"<BR>&nbsp;&nbsp;&nbsp; END<BR>&nbsp;&nbsp;&nbsp; EXTENT 393898 4438945 
  396253 4441379&nbsp; #image is 1747 X 1916 pixels<BR>&nbsp;&nbsp;&nbsp; UNITS 
  METERS<BR>&nbsp;&nbsp;&nbsp; SHAPEPATH 
  "/var/www/mapserver/basic/data/illinois/"<BR>&nbsp;&nbsp;&nbsp; IMAGECOLOR 255 
  255 255<BR>&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; 
  OUTPUTFORMAT<BR>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; NAME 
  thegif<BR>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; DRIVER 
  "GD/GIF"<BR>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; MIMETYPE 
  "image/gif"<BR>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; IMAGEMODE 
  RGB<BR>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; EXTENSION 
  "gif"<BR>&nbsp;&nbsp;&nbsp; END<BR><BR>&nbsp;&nbsp;&nbsp; 
  WEB<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; IMAGEPATH 
  "/var/www/mapserver/basic/images/"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp; IMAGEURL "/mapserver/basic/images/"<BR>&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp; END<BR>&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; 
  #REFERENCE<BR>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; #IMAGE 
  /var/www/mapserver/basic/data/illinois/colorUofIllinoisGIF.gif<BR>&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp; # location of the image<BR>&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp; #EXTENT 393898 4438945 396253 4441379<BR>&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp; # extent of the image<BR>&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp; #STATUS ON<BR>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; # the 
  overview is on by default<BR>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; #COLOR -1 
  -1 -1<BR>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; # transparent 
  background<BR>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; #OUTLINECOLOR 255 0 
  0<BR>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; # the color of the 
  outline<BR>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; #SIZE 1747 
  1916<BR>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; # the size of the image in 
  pixels<BR>&nbsp;&nbsp;&nbsp; #END<BR><BR>&nbsp;&nbsp;&nbsp; 
  LAYER<BR>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; NAME "UofI"<BR>&nbsp; 
  &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; DATA "colorUofIllinoisGIF.gif"<BR>&nbsp; 
  &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; TYPE RASTER<BR>&nbsp; &nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp; STATUS ON<BR>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 
  PROJECTION<BR>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 
  "proj=utm"<BR>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 
  "ellps=WGS84" <BR>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 
  "datum=NAD83"<BR>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 
  "zone=16"<BR>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 
  "units=m"<BR>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 
  "north"<BR>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; END<BR>&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp; EXTENT 393898 4438945 396253 4441379<BR>&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp; CLASS<BR>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; EXPRESSION /*/<BR>&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; COLOR 0 255 
  0<BR>&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; END<BR>&nbsp;&nbsp;&nbsp; 
  END&nbsp;&nbsp;&nbsp; <BR>END<BR><BR><BR>I have that reference section in 
  there although I really don't know the point behind it.&nbsp; It didn't change 
  a thing, so I commented it out.&nbsp; Thanks so much David for your 
  help!<BR><BR>&nbsp;- Chris<BR>
  <HR>
  Kick back and relax with hot games and cool activities at the Messenger Café. 
  <A href="http://www.cafemessenger.com?ocid=TXT_TAGLM_SeptWLtagline" 
  target=_new>Play now!</A> </BLOCKQUOTE></BODY></HTML>