, Hi,<br><br> I am still having problems with not seeing anything. Is this what my code should look like?<br>LAYER<br> NAME "Richland"<br> STATUS default<br> TYPE polygon<br> DATA "RICH_bndy"<br> PROJECTION <br> "init=epsg:26914"<br> END<br> CLASS<br> STYLE<br> COLOR 0 0 0<br> END<br> END<br>END<br>END<br><br> I also change my entext too. <br><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=windows-1256"> <meta content="MSHTML
6.00.2900.2912" name="GENERATOR"> <div><font color="#0000ff" face="Arial" size="2"><span class="665111518-05072006">Albert, </span></font></div> <div><font color="#0000ff" face="Arial" size="2"><span class="665111518-05072006"></span></font> </div> <div><font color="#0000ff" face="Arial" 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 color="#0000ff" face="Arial" size="2"><span class="665111518-05072006"></span></font> </div> <div><font color="#0000ff" face="Arial" 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 color="#0000ff" face="Arial" size="2"><span
class="665111518-05072006"></span></font> </div> <div><font color="#0000ff" face="Arial" 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 color="#0000ff" face="Arial" size="2"><span class="665111518-05072006"></span></font> </div> <div><font color="#0000ff" face="Arial" 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 color="#0000ff" face="Arial" size="2"><span class="665111518-05072006"></span></font> </div> <div><font color="#0000ff" face="Arial" 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 color="#0000ff" face="Arial" size="2"><span class="665111518-05072006"></span></font> </div> <div><font color="#0000ff" face="Arial" size="2"><span class="665111518-05072006">David.</span></font></div> <blockquote dir="ltr" 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> 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="border-left: 2px solid rgb(16, 16, 255); padding-left: 5px; margin-left: 5px;"> <meta content="MSHTML 6.00.2900.2912" name="GENERATOR"> <div><span class="808362115-05072006"><font color="#0000ff" face="Arial" size="2">You may want to take a look at your extent. </font></span></div> <div><span class="808362115-05072006"><font color="#0000ff" face="Arial" size="2"></font></span> </div> <div><span class="808362115-05072006"><font color="#0000ff" face="Arial" 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 color="#0000ff" face="Arial" size="2"></font></span> </div> <div><span class="808362115-05072006"><font color="#0000ff"
face="Arial" 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 color="#0000ff" face="Arial" size="2"></font></span> </div> <div><span class="808362115-05072006"><font color="#0000ff" face="Arial" 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 color="#0000ff" face="Arial" size="2"></font></span> </div> <div><span class="808362115-05072006"><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> 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> <div>__________________________________________________<br>Do You Yahoo!?<br>Tired of spam? Yahoo! Mail has the best spam protection around <br>http://mail.yahoo.com </div></blockquote></blockquote><br><p>
<hr size=1>Do you Yahoo!?<br>
Get on board. <a href="http://us.rd.yahoo.com/evt=40791/*http://advision.webevents.yahoo.com/handraisers">You're invited</a> to try the new Yahoo! Mail Beta.