<!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: Tahoma
}
</STYLE>
<META content="MSHTML 6.00.2900.3157" name=GENERATOR></HEAD>
<BODY class=hmmessage>
<DIV><SPAN class=542564712-07092007><FONT face=Arial color=#0000ff>Chris,
</FONT></SPAN></DIV>
<DIV><SPAN class=542564712-07092007><FONT face=Arial
color=#0000ff></FONT></SPAN> </DIV>
<DIV><SPAN class=542564712-07092007><FONT face=Arial color=#0000ff>Can you post
the text of your map file? The mapfile attachments didn't come
through. </FONT></SPAN></DIV>
<DIV><SPAN class=542564712-07092007><FONT face=Arial
color=#0000ff></FONT></SPAN> </DIV>
<DIV><SPAN class=542564712-07092007><FONT face=Arial color=#0000ff>Are you
defining the projection explicitly by setting all of the parameters, or are you
just using the EPSG code like this? </FONT></SPAN></DIV>
<DIV><SPAN class=542564712-07092007><FONT face=Arial
color=#0000ff></FONT></SPAN> </DIV>
<DIV><SPAN class=542564712-07092007><FONT face=Arial color=#0000ff>
PROJECTION<BR> "init=epsg:26916"<BR>
END</FONT></SPAN></DIV>
<DIV><SPAN class=542564712-07092007><FONT face=Arial
color=#0000ff></FONT></SPAN> </DIV>
<DIV><SPAN class=542564712-07092007><FONT face=Arial color=#0000ff>Have you used
the GDAL tools to check out the image. Try running gdalinfo on it to see
what gdal reports for the referencing information. </FONT></SPAN></DIV>
<DIV><SPAN class=542564712-07092007><FONT face=Arial
color=#0000ff></FONT></SPAN> </DIV>
<DIV><SPAN class=542564712-07092007><FONT face=Arial
color=#0000ff>David.</FONT></SPAN></DIV>
<DIV><SPAN class=542564712-07092007><FONT face=Arial
color=#0000ff></FONT></SPAN> </DIV>
<DIV><SPAN class=542564712-07092007><FONT face=Arial
color=#0000ff></FONT></SPAN> </DIV>
<DIV><SPAN class=542564712-07092007><FONT face=Arial
color=#0000ff></FONT></SPAN> </DIV>
<DIV><SPAN class=542564712-07092007><FONT face=Arial
color=#0000ff></FONT></SPAN> </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> Thursday, September 06, 2007 4:27 PM<BR><B>To:</B>
MAPSERVER-USERS@LISTS.UMN.EDU<BR><B>Subject:</B>
[UMN_MAPSERVER-USERS]<BR><BR></FONT></DIV>Hi. I'm trying to take an
image that already exists and display it through mapserver. It's a map
from a college campus that I will eventually superimpose over another
layer. No matter what I do, the image won't display. For
projection, I'm Using UTM projection, WGS84 ellipsoid, NAD83 datum. The
campus is University of Illinois in Champaign/Urbana. Since I'm using
UTM, I know that the zone is 16. I've geocoded the top right and bottom
left corners of the campus. The Easting of the bottom left corner is
393,898 Meters and the Northing is 4,438,945 Meters. The Easting of the
top right is 396,253 Meters and the Northing is 4,441,379 Meters. I
don't know if I'm leaving any parameters out in the Projection object in
either the Map Object or the one Layer Object I have. Plus, I don't know
if I'm declaring the Extent wrong. On top of that, someone suggested to
me that I'd need a world file to specify where the image is located on a
globe. I've set one up and am also specifying the values according to
UTM, thought I'm not really sure what the 1st and 4th value really mean (yes -
I've read many variations of the same definition for setting up world
files). I'm using Ubuntu Feisty Linux and php Mapscript. I'm
attaching the world file, .map file, and .php file. The .gif file is too
big but can be located at: http://www.parking.uiuc.edu/campus_map/.
Click on "Larger Image" and download that .pdf. I used Photoshop to
convert it to a .gif, .png, .jpg, and .tif also and tried all of those but to
no avail. As far as Mapserver info:<BR><BR>MapServer version 4.10.0
OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=SVG SUPPORTS=PROJ
SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER
SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=THREADS SUPPORTS=GEOS
INPUT=EPPL7 INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE
DEBUG=MSDEBUG<BR><BR>I'm stuck, and don't know what else to do. I've
spent almost 2 weeks trying to get this to work as I've been learning about
Mapserver, Mapscript, and projections. Any help to point me in the right
direction would awesome. Also, if this isn't possible to do and I'm
beating my head against a wall, that would be helpful too. My head
hurts. Thank you in advance.<BR><BR> - Chris<BR><BR>
<HR>
Get news, entertainment and everything you care about at Live.com. <A
href="http://www.live.com/getstarted.aspx " target=_new>Check it out!</A>
</BLOCKQUOTE></BODY></HTML>