<HTML>
<HEAD>
<TITLE>Re: [UMN_MAPSERVER-USERS]</TITLE>
</HEAD>
<BODY>
<FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'><BR>
Chris -<BR>
<BR>
I would start by setting the LAYER object to STATUS DEFAULT rather than STATUS ON, and you don’t need an EXTENT statement inside your LAYER.<BR>
<BR>
- Ed<BR>
<BR>
-- <BR>
Ed McNierney<BR>
Chief Mapmaker<BR>
Demand Media / TopoZone.com<BR>
73 Princeton Street, Suite 305<BR>
North Chelmsford, MA 01863<BR>
Phone: (978) 251-4242<BR>
Fax: (978) 251-1396<BR>
ed@topozone.com<BR>
<BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="95%"><B>From: </B>Christopher Harris <docterrobert@MSN.COM><BR>
<B>Reply-To: </B>Christopher Harris <docterrobert@MSN.COM><BR>
<B>Date: </B>Fri, 7 Sep 2007 09:17:32 -0500<BR>
<B>To: </B><MAPSERVER-USERS@LISTS.UMN.EDU><BR>
<B>Subject: </B>[UMN_MAPSERVER-USERS]<BR>
<BR>
No, I'm setting all the parameters (well, as many as I can and understand). 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>
NAME UniversityOfIllinois<BR>
STATUS ON<BR>
SIZE 600 500<BR>
IMAGETYPE GIF<BR>
PROJECTION<BR>
"proj=utm"<BR>
"ellps=WGS84" <BR>
"datum=NAD83"<BR>
"zone=16"<BR>
"units=m"<BR>
"north"<BR>
END<BR>
EXTENT 393898 4438945 396253 4441379 #image is 1747 X 1916 pixels<BR>
UNITS METERS<BR>
SHAPEPATH "/var/www/mapserver/basic/data/illinois/"<BR>
IMAGECOLOR 255 255 255<BR>
<BR>
OUTPUTFORMAT<BR>
NAME thegif<BR>
DRIVER "GD/GIF"<BR>
MIMETYPE "image/gif"<BR>
IMAGEMODE RGB<BR>
EXTENSION "gif"<BR>
END<BR>
<BR>
WEB<BR>
IMAGEPATH "/var/www/mapserver/basic/images/"<BR>
IMAGEURL "/mapserver/basic/images/"<BR>
END<BR>
<BR>
#REFERENCE<BR>
#IMAGE /var/www/mapserver/basic/data/illinois/colorUofIllinoisGIF.gif<BR>
# location of the image<BR>
#EXTENT 393898 4438945 396253 4441379<BR>
# extent of the image<BR>
#STATUS ON<BR>
# the overview is on by default<BR>
#COLOR -1 -1 -1<BR>
# transparent background<BR>
#OUTLINECOLOR 255 0 0<BR>
# the color of the outline<BR>
#SIZE 1747 1916<BR>
# the size of the image in pixels<BR>
#END<BR>
<BR>
LAYER<BR>
NAME "UofI"<BR>
DATA "colorUofIllinoisGIF.gif"<BR>
TYPE RASTER<BR>
STATUS ON<BR>
PROJECTION<BR>
"proj=utm"<BR>
"ellps=WGS84" <BR>
"datum=NAD83"<BR>
"zone=16"<BR>
"units=m"<BR>
"north"<BR>
END<BR>
EXTENT 393898 4438945 396253 4441379<BR>
CLASS<BR>
EXPRESSION /*/<BR>
COLOR 0 255 0<BR>
END<BR>
END <BR>
END<BR>
<BR>
<BR>
I have that reference section in there although I really don't know the point behind it. It didn't change a thing, so I commented it out. Thanks so much David for your help!<BR>
<BR>
- Chris<BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="100%">Kick back and relax with hot games and cool activities at the Messenger Café. Play now! <a href="http://www.cafemessenger.com?ocid=TXT_TAGLM_SeptWLtagline"><http://www.cafemessenger.com?ocid=TXT_TAGLM_SeptWLtagline></a> <BR>
</SPAN></FONT>
</BODY>
</HTML>