Hi,<br> I got it working after I sent the email.<br><br>Thanks,<br>Albert<br><br><b><i>"Fawcett, David" <David.Fawcett@state.mn.us></i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><title>Message</title> <meta http-equiv="Content-Type" content="text/html; charset=us-ascii"> <meta content="MSHTML 6.00.2900.2912" name="GENERATOR"> <div><span class="285152520-17072006"><font color="#0000ff" face="Arial" size="2">Albert, </font></span></div> <div><span class="285152520-17072006"><font color="#0000ff" face="Arial" size="2"></font></span> </div> <div><span class="285152520-17072006"><font color="#0000ff" face="Arial" size="2">I am pretty sure that this has been pointed out before. MapServer does not use the ESRI .prj files. </font></span></div> <div><span class="285152520-17072006"><font color="#0000ff" face="Arial" size="2"></font></span> </div> <div><span
class="285152520-17072006"><font color="#0000ff" face="Arial" size="2">You simply need to define projection blocks in your mapfile for both your output projection and for the input projection of each data layer. To do this of course, you will need to know what projection your data is in. </font></span></div> <div><span class="285152520-17072006"><font color="#0000ff" face="Arial" size="2"></font></span> </div> <div><span class="285152520-17072006"><font color="#0000ff" face="Arial" size="2">David.</font></span></div> <blockquote style="margin-right: 0px;"> <div></div> <div class="OutlookMessageHeader" dir="ltr" align="left" lang="en-us"><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> Monday, July 17, 2006 3:18 PM<br><b>To:</b> MAPSERVER-USERS@LISTS.UMN.EDU<br><b>Subject:</b> [UMN_MAPSERVER-USERS]
projection questions<br><br></font></div>Hi,<br><br> Can you put a projection file in a map. Then put regular shp files the layers? How can you do that? I am using mapserver 4 on a lunix machine. I put a projection file in my map file but I only have one of them. The rest are regular shp files. I cant seem to get the layers show up with my projection file.<br>Thanks,<br>Albert<br><br>#This is Richland County Map Server<br>NAME "Richland"<br>SIZE 309 417<br>UNITS meters<br>IMAGECOLOR 255 255 255<br>IMAGETYPE JPEG<br>PROJECTION <br>"init=epsg:26914"<br>END<br>SHAPEPATH "/home/mapdata/"<br>EXTENT 626173.309834 5085113.091715 694065.960556 5176735.212592<br>#EXTENT -97.228391 45.907505 -96.628389 46.717217<br>#################################### <br># Symbol for drawing fat lines<br>#<br>SYMBOL<br> NAME "BigLine"<br> TYPE ELLIPSE<br>
POINTS 1 1 END<br>END<br><br>##################################### <br># Symbol for drawing dashed lines<br>#<br>SYMBOL<br> NAME "DashedLine"<br> TYPE ELLIPSE<br> POINTS 1 1 END<br> STYLE 10 10 END <br>END<br><br>##################################### <br># Symbol for drawing spots<br>#<br>SYMBOL<br> NAME "Circle"<br> FILLED true<br> TYPE ellipse<br> POINTS 1 1 END<br>END<br><br>##################################### <br># Web object<br>#<br>WEB<br> TEMPLATE '/var/www/htdocs/gismapserver_test_project_mod.html'<br> IMAGEPATH '/var/www/htdocs/tmp/'<br> IMAGEURL '/tmp/'<br>END<br><br>##################################### <br># Reference map<br>#<br>REFERENCE<br> IMAGE
"/home/mapdata/richland.gif"<br> SIZE 136 152<br> EXTENT -97.228391 45.907505 -96.628389 46.717217<br> STATUS ON<br> COLOR -1 -1 -1<br> OUTLINECOLOR 0 0 0<br>END<br><br>##################################### <br># Scalebar<br>#<br>SCALEBAR<br> LABEL<br> COLOR 0 0 0 <br> ANTIALIAS true<br> SIZE small<br> END<br> POSITION lr<br> INTERVALS 5<br> STATUS off<br> SIZE 144 5<br> STYLE 0<br> UNITS miles<br> BACKGROUNDCOLOR 0 255
0<br> IMAGECOLOR 255 255 255<br> COLOR 128 128 128 <br> OUTLINECOLOR 0 0 255<br> TRANSPARENT off<br>END<br>##################################### <br>LAYER<br> NAME "richland"<br> STATUS default<br> TYPE polygon<br> DATA "RICH_bndy"<br> PROJECTION "init=epsg:26914"<br> END<br> CLASS<br> STYLE<br> COLOR 238 220 130<br> END<br> END<br>END<br>##################################### <br>LAYER<br> NAME "boundary"<br> STATUS default<br> TYPE line<br> DATA "RC_boundary_05"<br>
CLASS<br> STYLE<br> COLOR 0 0 0<br> END<br> END<br>END<br>##################################### <br>LAYER<br> NAME "roads"<br> STATUS default<br> TYPE line<br> DATA "roads_shp"<br> PROJECTION "init=epsg:4326"<br> END<br> CLASS<br> STYLE<br> COLOR 255 0 0<br> END<br> END<br>END<br>##################################### <br>LAYER<br> NAME "sections"<br> STATUS default<br> TYPE line<br> DATA "RC_sections_05"<br> CLASS<br>
STYLE<br> COLOR 255 130 171<br> END<br> END<br>END<br>##################################### <br>LAYER<br> NAME "parecles"<br> STATUS default<br> TYPE line<br> DATA "RC_parcels_05"<br> CLASS<br> STYLE<br> COLOR 0 0 0<br> END<br> END<br>END<br>END<br><br> <div> </div><hr size="1"> See the all-new, redesigned Yahoo.com. <a href="http://us.rd.yahoo.com/evt=40762/*http://www.yahoo.com/preview">Check it out.</a> </blockquote></blockquote><br><p>
<hr size=1>See the all-new, redesigned Yahoo.com. <a href="http://us.rd.yahoo.com/evt=40762/*http://www.yahoo.com/preview"> Check it out.</a>