<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Message</TITLE>
<META http-equiv=Content-Type content="text/html; charset=windows-1256">
<META content="MSHTML 6.00.2900.2912" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=665111518-05072006>Albert, </SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=665111518-05072006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=665111518-05072006>Projection in MapServer isn't handled with an external
file, like in ArcMap. It is done in the map file. Take a look
at the Mapfile documentation to see how to do
projection. </SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=665111518-05072006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=665111518-05072006><A
href="http://mapserver.gis.umn.edu/docs/reference/mapfile/projection/view">http://mapserver.gis.umn.edu/docs/reference/mapfile/projection/view</A></SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=665111518-05072006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=665111518-05072006>You
need to define a projection block in the MAP block of the map file, this is set
to the projection that you want your data output in. </SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=665111518-05072006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=665111518-05072006>You
would then define a projection block in each layer, this is set to the
projection that the original data for that layer is in. It is easiest to
use epsg codes, look at example 2 in the link above. </SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=665111518-05072006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=665111518-05072006>The
epsg code for UTM zone 14N nad83 is 26914 and 4326 can be used for you
lat/long data.</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=665111518-05072006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=665111518-05072006>David.</SPAN></FONT></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT
face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> Albert Anderson
[mailto:bart_doggers@yahoo.com] <BR><B>Sent:</B> Wednesday, July 05, 2006
11:58 AM<BR><B>To:</B> Fawcett, David;
MAPSERVER-USERS@lists.umn.edu<BR><B>Subject:</B> RE: [UMN_MAPSERVER-USERS]
nothing shows up! no image or error?<BR><BR></FONT></DIV>Hi,<BR><BR> I
was using a projection file UTM Zone 14n Nad_83. Then I switch to an
unprojective file and I saw my data show up. What would be the first
best step for setting a projection
file?<BR><BR>Thanks<BR>Albert<BR><BR><B><I>"Fawcett, David"
<David.Fawcett@state.mn.us></I></B> wrote:
<BLOCKQUOTE class=replbq
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(16,16,255) 2px solid">
<META content="MSHTML 6.00.2900.2912" name=GENERATOR>
<DIV><SPAN class=808362115-05072006><FONT face=Arial color=#0000ff
size=2>You may want to take a look at your extent.
</FONT></SPAN></DIV>
<DIV><SPAN class=808362115-05072006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=808362115-05072006><FONT face=Arial color=#0000ff size=2>Do
you really intend to show a primarily empty stretch of the northern Atlantic
Ocean (apologies to Canary Islanders...)? </FONT></SPAN></DIV>
<DIV><SPAN class=808362115-05072006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=808362115-05072006><FONT face=Arial color=#0000ff
size=2>You are telling MapServer that your map area is contained within a
box from 50 deg. west longitude to 10 deg. west longitude and 20 to 90
degrees north latitude. If the name of your mapfile relates to the
data, I am guessing that Richland County isn't in this box.
</FONT></SPAN></DIV>
<DIV><SPAN class=808362115-05072006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=808362115-05072006><FONT face=Arial color=#0000ff
size=2>Use ogrinfo or a desktop GIS app to look at the extent of your
data. Also, the extent needs to be in the units of the spatial
reference system that your data is in. </FONT></SPAN></DIV>
<DIV><SPAN class=808362115-05072006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=808362115-05072006><FONT face=Arial color=#0000ff
size=2>David.</FONT></SPAN></DIV>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT
face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> UMN
MapServer Users List [mailto:MAPSERVER-USERS@LISTS.UMN.EDU] <B>On Behalf
Of </B>Albert Anderson<BR><B>Sent:</B> Wednesday, July 05, 2006 10:10
AM<BR><B>To:</B> MAPSERVER-USERS@LISTS.UMN.EDU<BR><B>Subject:</B>
[UMN_MAPSERVER-USERS] nothing shows up! no image or
error?<BR><BR></FONT></DIV>Hi,<BR><BR> I am making my own map
file. It looks all right but when I click the button it doesnt show
an image or any kind of errors. <BR><BR>Here is my map
code.<BR>#This is Richland County Map Server<BR>NAME "Richland"<BR>SIZE
100 100<BR>IMAGECOLOR 255 255 255<BR>IMAGETYPE JPEG<BR>SHAPEPATH
"/home/mapdata/"<BR>EXTENT -50.00 20.00 -10.00 90.00<BR>WEB<BR>
TEMPLATE '/var/www/htdocs/richland.html'<BR> IMAGEPATH
'/var/www/htdocs/tmp'<BR> IMAGEURL
'/tmp/'<BR>END<BR>LAYER<BR> NAME
"Richland"<BR> STATUS default<BR> TYPE
polygon<BR> DATA "RICH_bndy"<BR>
CLASS<BR>
STYLE<BR>
COLOR 0 0 0<BR>
END<BR> END<BR>END<BR>END<BR><BR>here is my html
code<BR><html><BR><head><title>Richland County
MapServer</title></head><BR><body><BR> <form
method=post action="/cgi-bin/mapserv"><BR> <input
type="submit" value="Click Me"<BR> <input
type="hidden"
name="map"<BR>
value="/home/mapdata/richland.map"><BR> <input
type="hidden"
name="map_web_imagepath"<BR>
value="/var/www/htdocs/tmp/"><BR><BR> </form><BR>
<table border="1" width="400" height="400"><BR>
<tr><BR> <td align="center" valign="top"><BR>
<IMG SRC="[img]" width="400" height="400" border="1"><BR>
</td><BR> </tr><BR>
</table><BR></body><BR></html><BR><BR> I really
dont know whats could be wrong. Maybe the extent of it? Can
anyone help me?<BR><BR>Thanks,<BR>Albert<BR>
<DIV></DIV>
<HR SIZE=1>
How low will we go? Check out Yahoo! Messenger’s low <A
href="http://us.rd.yahoo.com/mail_us/taglines/postman8/*http://us.rd.yahoo.com/evt=39663/*http://voice.yahoo.com">PC-to-Phone
call rates.</A></BLOCKQUOTE></BLOCKQUOTE><BR>
<P>__________________________________________________<BR>Do You
Yahoo!?<BR>Tired of spam? Yahoo! Mail has the best spam protection around
<BR>http://mail.yahoo.com </P></BLOCKQUOTE></BODY></HTML>