Hi,<br><br> This is what my map code look like<br>#This is Richland County Map Server<br>NAME "Richland"<br>SIZE 800 600<br>IMAGECOLOR 255 255 255<br>IMAGETYPE JPEG<br>SHAPEPATH "/home/mapdata/"<br>EXTENT -97.502192 45.947754 -96.330315 46.826661<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> PROJECTION "init=epsq:26914"<br> END<br>END<br>END<br><br>I get this error now msProcessProjection(): Projection library error. no system list, errno: 2 ? What does that mean? How can I fix it?<br><br>Albert<br><br><br><b><i>Brock Anderson <banders@refractions.net></i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px;
padding-left: 5px;"> Albert,<br><br>For each layer it's important to tell mapserver which projection your <br>data is stored in. In your case:<br><br>LAYER<br>...<br>PROJECTION<br>"init=epsg:26914"<br>END #PROJECTION<br>END #LAYER<br><br>The epsg code 26914 represents "NAD83 / UTM zone 14N". I think that's <br>what you're looking for.<br><br>Brock<br><br>Albert Anderson wrote:<br><br>> Hi,<br>><br>> I was using a projection file UTM Zone 14n Nad_83. Then I switch to an <br>> unprojective file and I saw my data show up. What would be the first <br>> best step for setting a projection file?<br>><br>> Thanks<br>> Albert<br>><br>> */"Fawcett, David" <David.Fawcett@state.mn.us>/* wrote:<br>><br>> You may want to take a look at your extent.<br>> Do you really intend to show a primarily empty stretch of the<br>> northern Atlantic Ocean (apologies to Canary Islanders...)?<br>> You are telling MapServer that your map area
is contained within a<br>> box from 50 deg. west longitude to 10 deg. west longitude and 20<br>> to 90 degrees north latitude. If the name of your mapfile relates<br>> to the data, I am guessing that Richland County isn't in this box.<br>> Use ogrinfo or a desktop GIS app to look at the extent of your<br>> data. Also, the extent needs to be in the units of the spatial<br>> reference system that your data is in.<br>> David.<br>><br>> -----Original Message-----<br>> *From:* UMN MapServer Users List<br>> [mailto:MAPSERVER-USERS@LISTS.UMN.EDU] *On Behalf Of *Albert<br>> Anderson<br>> *Sent:* Wednesday, July 05, 2006 10:10 AM<br>> *To:* MAPSERVER-USERS@LISTS.UMN.EDU<br>> *Subject:* [UMN_MAPSERVER-USERS] nothing shows up! no image or<br>> error?<br>><br>> Hi,<br>><br>> I am making my own map file. It looks all
right but when I<br>> 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>> <br><title>Richland County
MapServer</title>> <br>> <br>> </David.Fawcett@state.mn.us><form method="post" action="/cgi-bin/mapserv"><br>> <input value="Click Me" type="submit"><br>> <input name="map" type="hidden"><br>> value="/home/mapdata/richland.map"><br>> <input name="map_web_imagepath" type="hidden"><br>> value="/var/www/htdocs/tmp/"><br>><br>> </form><br>> <table border="1" height="400" width="400"><br>> <tbody><tr><br>> <td align="center" valign="top"><br>> <img src="%5Bimg%5D" border="1" height="400" width="400"><br>> </td><br>> </tr><br>> </tbody></table><br>> <br>> <br>><br>> I really dont know whats could be wrong. Maybe the extent of<br>> it? Can anyone help me?<br>><br>> Thanks,<br>> Albert<br>> How low will we go? Check
out Yahoo! Messenger’s low<br>> PC-to-Phone call rates.<br>> <http: //us.rd.yahoo.com/mail_us/taglines/postman8/*http://us.rd.yahoo.com/evt="39663/*http://voice.yahoo.com"><br>><br>><br>> __________________________________________________<br>> Do You Yahoo!?<br>> Tired of spam? Yahoo! Mail has the best spam protection around<br>> http://mail.yahoo.com<br>><br><br></http:></blockquote><br><p>
<hr size=1>Want to be your own boss? Learn how on <a href="http://us.rd.yahoo.com/evt=41244/*http://smallbusiness.yahoo.com/r-index"> Yahoo! Small Business.</a>