<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2873" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=668153917-17072006><FONT face=Arial
color=#0000ff size=2>see the 'important notes' section on <A
href="http://mapserver.gis.umn.edu/docs/reference/mapfile/projection/?searchterm=projection">http://mapserver.gis.umn.edu/docs/reference/mapfile/projection/?searchterm=projection</A> and
do some reading in general about projections.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=668153917-17072006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=668153917-17072006><FONT face=Arial
color=#0000ff size=2>You would never have 2 epsg codes in one layer in your
mapfile.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=668153917-17072006><FONT face=Arial
color=#0000ff size=2>The projection object in your layer defines what projection
your shapefile is in.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=668153917-17072006><FONT face=Arial
color=#0000ff size=2>The projection object in your overall map object defines
how you want your overall map (all the layers) projected.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=668153917-17072006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=668153917-17072006><FONT face=Arial
color=#0000ff size=2>I can't help much more than this - you have to know your
data and understand what projections your shapefiles are in natively and then
understand the final projection you want your map to appear
in.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=668153917-17072006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=668153917-17072006><FONT face=Arial
color=#0000ff size=2>D. Pagurek</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<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 12:44
PM<BR><B>To:</B> Pagurek,Debbie [NCR]; Albert Anderson;
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 still get the error. Do I put both
projections in the map obj. and layer? How would the coded the projection file
and the 3 unprojection files? I am confussed about that?<BR><BR><FONT
size=2><FONT size=2><SPAN style="FONT-FAMILY: arial narrow">#This is Richland
County Map Server</SPAN><BR style="FONT-FAMILY: arial narrow"><SPAN
style="FONT-FAMILY: arial narrow">NAME "Richland"</SPAN><BR
style="FONT-FAMILY: arial narrow"><SPAN style="FONT-FAMILY: arial narrow">SIZE
309 417</SPAN><BR style="FONT-FAMILY: arial narrow"><SPAN
style="FONT-FAMILY: arial narrow">UNITS meters</SPAN><BR
style="FONT-FAMILY: arial narrow"><SPAN
style="FONT-FAMILY: arial narrow">IMAGECOLOR 255 255 255</SPAN><BR
style="FONT-FAMILY: arial narrow"><SPAN
style="FONT-FAMILY: arial narrow">IMAGETYPE JPEG</SPAN><BR
style="FONT-FAMILY: arial narrow"><SPAN
style="FONT-FAMILY: arial narrow">PROJECTION </SPAN><BR
style="FONT-FAMILY: arial narrow"><SPAN
style="FONT-FAMILY: arial narrow">"init=epsg:26914"</SPAN><BR
style="FONT-FAMILY: arial narrow"><SPAN
style="FONT-FAMILY: arial narrow">"init=epsg:4326"<BR>END<BR><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> PROJECTION
"init=epsq:4326"<BR> END<BR>
CLASS<BR>
STYLE<BR>
COLOR 0 0 0<BR> END<BR>
END<BR>END<BR>##################################### <BR><BR>Thanks,<BR>Albert<BR
style="FONT-FAMILY: arial narrow"></SPAN></FONT></FONT><BR><BR><B><I>"Pagurek,Debbie
[NCR]" <Debbie.Pagurek@ec.gc.ca></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.2873" name=GENERATOR>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=420433016-17072006>you have a typo in what you just wrote - it should be
epsG not epsQ - I hope you have epsG in your mapfile.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=420433016-17072006></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=420433016-17072006>The error that you're getting indicates that
Mapserver can't find the epsg file so it can't find the epsg code.
</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=420433016-17072006>On windows in a typical ms4w installation, your epsg
file should be in</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=420433016-17072006>c:\ms4w\proj\nad\</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=420433016-17072006></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=420433016-17072006>D. Pagurek</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=420433016-17072006></SPAN></FONT> </DIV><FONT face=Arial
color=#0000ff size=2></FONT><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<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> Monday, July 17, 2006 11:45 AM<BR><B>To:</B>
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 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="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(16,16,255) 2px solid">
<META content="MSHTML 6.00.2900.2873" name=GENERATOR>
<DIV dir=ltr align=left><SPAN class=827311615-17072006><FONT face=Arial
color=#0000ff 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 face=Arial
color=#0000ff size=2>Try</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=827311615-17072006><FONT face=Arial
color=#0000ff 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 face=Arial
color=#0000ff size=2>END</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=827311615-17072006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=827311615-17072006><FONT face=Arial
color=#0000ff 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 face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=827311615-17072006><FONT face=Arial
color=#0000ff size=2>D. Pagurek</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<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="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(16,16,255) 2px solid">
<META content="MSHTML 6.00.2900.2873" name=GENERATOR>
<DIV dir=ltr align=left><SPAN class=758295414-17072006><FONT face=Arial
color=#0000ff 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 face=Arial
color=#0000ff size=2><FONT face="Times New Roman" color=#000000
size=1>PROJECTION </FONT></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=758295414-17072006><FONT face=Arial
color=#0000ff size=2><FONT face="Times New Roman" color=#000000
size=1> "init=epsg:26914"<BR>END</FONT></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=758295414-17072006><FONT
color=#0000ff><FONT face=Arial color=#000000 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 lang=en-us dir=ltr align=left>
<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>
<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>
Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. <A
href="http://us.rd.yahoo.com/mail_us/taglines/postman7/*http://us.rd.yahoo.com/evt=39666/*http://messenger.yahoo.com">Great
rates starting at 1¢/min.</A></BODY></HTML>