Hi,<br><br> I changed my units and my scale bar looks better. I still cant get my layers working. I put them on default and put <br>PROJECTION "init=epsq:4326"<br> END<br>in the map object and it didnt like that. I get an error like msProcessProjection(): Projection library error. no system list, errno: 2 . What else can I try?<br><br>Thanks,<br>Albert <br><b><i>"Pagurek,Debbie [NCR]" <Debbie.Pagurek@EC.GC.CA></i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> <meta http-equiv="Content-Type" content="text/html; charset=us-ascii"> <meta content="MSHTML 6.00.2900.2873" name="GENERATOR"> <div dir="ltr" align="left"><span class="827311615-17072006"><font color="#0000ff" face="Arial" size="2">If your other layers are not projected, you mean that they are in 'geographic'. You still need to set a projection object for them.</font></span></div> <div dir="ltr"
align="left"><span class="827311615-17072006"><font color="#0000ff" face="Arial" size="2">Try</font></span></div> <div dir="ltr" align="left"><span class="827311615-17072006"><font color="#0000ff" face="Arial" size="2">PROJECTION</font></span></div> <div dir="ltr" align="left"><span class="827311615-17072006"><font color="#0000ff"><font face="Arial"><font size="2"> <font color="#000000">"init=epsg:4326"</font></font></font></font></span></div> <div dir="ltr" align="left"><span class="827311615-17072006"><font color="#0000ff" face="Arial" size="2">END</font></span></div> <div dir="ltr" align="left"><span class="827311615-17072006"><font color="#0000ff" face="Arial" size="2"></font></span> </div> <div dir="ltr" align="left"><span class="827311615-17072006"><font color="#0000ff" face="Arial" size="2">This is geographic with the datum set as WGS84. This might not be the proper settings for your data - you could have another datum... anyway - set this projection
object in your mapfile to see if you can get it working. What will happen is that Mapserver will project these layers on the fly to match the projection in your MAP object.</font></span></div> <div dir="ltr" align="left"><span class="827311615-17072006"><font color="#0000ff" face="Arial" size="2"></font></span> </div> <div dir="ltr" align="left"><span class="827311615-17072006"><font color="#0000ff" face="Arial" size="2">D. Pagurek</font></span></div><br> <div class="OutlookMessageHeader" dir="ltr" align="left" lang="en-us"> <hr tabindex="-1"> <font face="Tahoma" size="2"><b>From:</b> Albert Anderson [mailto:bart_doggers@yahoo.com] <br><b>Sent:</b> Monday, July 17, 2006 11:12 AM<br><b>To:</b> Pagurek,Debbie [NCR]; MAPSERVER-USERS@LISTS.UMN.EDU<br><b>Subject:</b> Re: [UMN_MAPSERVER-USERS] cant get my lavyers working w/my projection file<br></font><br></div> <div></div>Hi,<br><br> I add a projection map file of richland county. The other layers that I
have are unprojective files. The roads file is all the road in the county. Right now they are not catagorized. Thats the way the other layers are. I just want to get the projection file loaded which is and also my layers which are not.<br> Setting it to default didnt seem to work.<br><br>Thanks,<br>Albert<br><br><b><i>"Pagurek,Debbie [NCR]" <Debbie.Pagurek@EC.GC.CA></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.2873" name="GENERATOR"> <div dir="ltr" align="left"><span class="758295414-17072006"><font color="#0000ff" face="Arial" size="2"><font color="#000000">perhaps you could provide a bit more information to us. What is the native projection of the roads, boundary line, and etc... layers? If it isn't in the same projection as specified in your MAP object,</font> </font></span></div> <div dir="ltr"
align="left"><span class="758295414-17072006"><font color="#0000ff" face="Arial" size="2"><font color="#000000" face="Times New Roman" size="1">PROJECTION </font></font></span></div> <div dir="ltr" align="left"><span class="758295414-17072006"><font color="#0000ff" face="Arial" size="2"><font color="#000000" face="Times New Roman" size="1"> "init=epsg:26914"<br>END</font></font></span></div> <div dir="ltr" align="left"><span class="758295414-17072006"><font color="#0000ff"><font color="#000000" face="Arial" size="2">then you also need to specify the projection in the layer object.</font></font></span></div> <div dir="ltr" align="left"><span class="758295414-17072006"><font color="#0000ff"><font face="Arial"><font size="2"><font color="#000000">you also might want to try to put STATUS DEFAULT for the roads, boundary etc and that way they will ALWAYS be ON. If status is set to ON you have to make sure that your URL specifies layers=layername in
order for it to be on.</font></font></font></font></span></div> <div><span class="758295414-17072006"><font color="#0000ff"><font face="Arial"><font size="2"><font color="#000000"></font></font></font></font></span> </div> <div><span class="758295414-17072006"><font color="#0000ff"><font face="Arial"><font size="2"><font color="#000000">Hope this helps,</font></font></font></font></span></div> <div><span class="758295414-17072006"><font color="#0000ff"><font face="Arial"><font size="2"><font color="#000000">D. Pagurek</font></font></font></font></span></div> <div dir="ltr" align="left"><font color="#0000ff"><font face="Arial"><font size="2"><br></font></font></font><br></div> <div class="OutlookMessageHeader" dir="ltr" align="left" lang="en-us"> <hr tabindex="-1"> <font face="Tahoma" size="2"><b>From:</b> UMN MapServer Users List [mailto:MAPSERVER-USERS@LISTS.UMN.EDU] <b>On Behalf Of </b>Albert Anderson<br><b>Sent:</b> Friday, July 14, 2006
4:58 PM<br><b>To:</b> MAPSERVER-USERS@LISTS.UMN.EDU<br><b>Subject:</b> [UMN_MAPSERVER-USERS] cant get my lavyers working w/my projection file<br></font><br></div> <div></div>Hi,<br><br> I got my projection file working but I cant see to get my layers working like roads, boundary line, and etc... Can someone look at my code and help me. Thanks!<br><br><font size="1">---Codes-------<br><br><body><br> <form method=POST action="/cgi-bin/mapserv"><br> <input type="submit" value="Click to initialize"><br> <input type="hidden" name="program" value="mapserv"><br> <input type="hidden" name="map" value="/home/mapdata/richland.map"><br> <input type="hidden" name="mapext" value="626173.309834 5085113.091715 694065.960556 5176735.212592"><br> <input type="hidden" name="zoomsize" size="2"
value="2"><br> <input type="hidden" name="layers" value="boundary roads sections"><br> </form><br> </body><br></html><br><br><input type="checkbox" name="layer" value="boundary" [boundary_check]/><br> County Boundary <br /><br> <br> <input type="checkbox" name="city" value="city" /><br> City Boundary <br /><br> <br> <input type="checkbox" name="township" value="township" /><br> Township<br /><br> <br> <input type="checkbox" name="layer" value="sections" [sections_check]/><br> Section Lines </span><br /><br> <br> <br /><br> <font color="green"><span class="style2"> Land</span></font><br /><br> <span class="style4"><br> <br> <input
type="checkbox" name="layer" value="parcels" [parcels_check]/><br> Parcels <br /><br> <br> <input type="checkbox" name="parcelslables" value="parcelslables" /><br> Parcels Labels</span><br /><br> <br /><br> <font color="red"<span class="style2"> Transportation</span></font><br /><br> <span class="style4"><br> <br> <input type="checkbox" name="layer" value="roads" [roads_check]/><br> County/City Roads <br /><br> <br> <input type="checkbox" name="addresslabels" value="addresslabels" /><br> Address Labels</span> </p><br> <p class="style1"><font color="brown"><span class="style2"> Backgrounds</span></font><br /><br> <span
class="style4"><br> <br> <input name="aerial" type="checkbox" id="aerial" value="aerial" /><br> Aerial Photos</span></p><br><br>#This is Richland County Map Server<br>NAME "Richland"<br>SIZE 309 417<br>UNITS miles<br>IMAGECOLOR 255 255 255<br>IMAGETYPE JPEG<br>PROJECTION "init=epsg:26914"<br>END<br>SHAPEPATH "/home/mapdata/"<br>EXTENT 626173.309834 5085113.091715 694065.960556 5176735.212592<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 embed<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 on<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 on<br> TYPE line<br> DATA "roads_shp"<br> CLASS<br> STYLE<br> COLOR 255 0 0<br> END<br> END<br>END<br>##################################### <br>LAYER<br> NAME "sections"<br> STATUS on<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 on<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</font><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><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><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>