<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:o = 
"urn:schemas-microsoft-com:office:office" xmlns:w = 
"urn:schemas-microsoft-com:office:word"><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3020" name=GENERATOR>
<STYLE>@page Section1 {size: 8.5in 11.0in; margin: 1.0in 1.25in 1.0in 1.25in; }
P.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.EmailStyle17 {
        COLOR: windowtext; FONT-FAMILY: Arial; mso-style-type: personal-compose
}
DIV.Section1 {
        page: Section1
}
</STYLE>
</HEAD>
<BODY lang=EN-US vLink=purple link=blue>
<DIV dir=ltr align=left><SPAN class=414335817-21022007><FONT face=Arial 
color=#0000ff size=2>The prj needs to exist at the time of the load, or the user 
has to specify a coordinate system and the server is supposed to create a .prj. 
However a bug exists when importing SHP natively that it may not create the .prj 
file.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=414335817-21022007><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=414335817-21022007><FONT face=Arial 
color=#0000ff size=2>If importing and converting to SDF when no .prj file exists 
the user specified coordinate system will get set. Otherwise you will have to 
manually create a .prj file manually and upload it again.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=414335817-21022007><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=414335817-21022007><FONT face=Arial 
color=#0000ff size=2>If you don't know how to create the .prj.you can create one 
yourself.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=414335817-21022007><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=414335817-21022007><FONT face=Arial 
color=#0000ff size=2>Import the SHP and convert to SDF. Specify&nbsp;the 
coordinate system on import.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=414335817-21022007><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=414335817-21022007><FONT face=Arial 
color=#0000ff size=2>Using the Web Tier pages <A 
href="http://servername/mapguide/mapagent/index.html">http://servername/mapguide/mapagent/index.html</A> 
you can extract the WKT string by executing a GetSpatialContexts from the 
Feature Service list. You need to specify the full repository path to the SDF 
you uploaded: 
Library://foldera/folderb/yourdata.FeatureSource</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=414335817-21022007><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=414335817-21022007><FONT face=Arial 
color=#0000ff size=2>Place the WKT string in a file and call it 
.prj</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=414335817-21022007><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=414335817-21022007><FONT face=Arial 
color=#0000ff size=2>I believe that should work.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=414335817-21022007><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=414335817-21022007><FONT face=Arial 
color=#0000ff size=2>Regards,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=414335817-21022007><FONT face=Arial 
color=#0000ff size=2>Dave</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> mapguide-users-bounces@lists.osgeo.org 
[mailto:mapguide-users-bounces@lists.osgeo.org] <B>On Behalf Of </B>Scott 
Hameister<BR><B>Sent:</B> Wednesday, February 21, 2007 10:24 AM<BR><B>To:</B> 
'MapGuide Users Mail List'<BR><B>Subject:</B> [mapguide-users] Feature Source 
and Repositories with PRJ files<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV class=Section1>
<P class=MsoNormal><FONT face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Curious&#8230;I found I didn&#8217;t have some 
PRJ files associated with SHP files that I brought in to Author through a load 
Procedure (Since Deleted)&#8230;<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">&#8230;I wrongly assumed I could go into 
my C:\Program 
Files\MapGuideOpenSource\Server\Repositories\Library\DataFiles\6b6e347e-0000-1000-8000-00c09ffd5d3f 
folder for that resource and just drop the appropriately named prj file in&#8230;but 
that didn&#8217;t fix the projection problem&#8230;<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">I noticed that in Author under that 
SHP feature source the Prj file isn&#8217;t in the list and there is no way to add 
it&#8230;Is there a way to fix this in Author or do I have to put the PRJ file back 
with the original SHP file and recreate a load procedure just for that 
layer?<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P></DIV></BODY></HTML>