<!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.2873" name=GENERATOR>
<STYLE>@page Section1 {size: 612.0pt 792.0pt; margin: 72.0pt 90.0pt 72.0pt 90.0pt; }
P.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 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=333253416-03052006><FONT face=Arial
color=#0000ff size=2>The functionality in the admin page is for making a package
FROM an existing repository. It's essentially an export. The path is just a
folder path within a repository. For example under the root of your library you
have a folder called MyData. In the path field in the admin page enter MyData
and that folder and contents will be exported to a package.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=333253416-03052006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=333253416-03052006><FONT face=Arial
color=#0000ff size=2>If you are trying to upload data you can do 1 of 3
things:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=333253416-03052006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=333253416-03052006><FONT face=Arial
color=#0000ff size=2>1) Use the Studio demo to upload the data via a load
procedure and convert it to SDF or just load it as SHP.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=333253416-03052006><FONT face=Arial
color=#0000ff size=2>2) Use the Studio demo to start a load procedure, but from
the File menu Save as Package and copy the file to the server packages
folder to upload from the Admin page. This approach is used for large
files.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=333253416-03052006><FONT face=Arial
color=#0000ff size=2>3) Use Studio API calls to generate your own package, but
this will only allow you to upload the SHPs as is because there is no API
currently for converting the SHP's (outside of Studio if I'm not mistaken) to
SDF 3.0. Some users may have already done this scripting and can provide
examples.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=333253416-03052006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=333253416-03052006><FONT face=Arial
color=#0000ff size=2>I believe it is possible to use FME to create SDF 3.0's
from SHPs.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=333253416-03052006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=333253416-03052006><FONT face=Arial
color=#0000ff size=2>Regards,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=333253416-03052006><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> Dimitrios Fryganiotis
[mailto:dimitrios.fryganiotis@nsl.eu.com] <BR><B>Sent:</B> Wednesday, May 03,
2006 10:32 AM<BR><B>To:</B> users@mapguide.osgeo.org<BR><B>Subject:</B>
[mapguide-users] Build New Library - Make Package<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV class=Section1>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Hello,<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">I have downloaded the latest
MapGuide Open Source and I have to say that it is really good
software.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">However, I am struggling with some
of its features. I want to create a new library and generally to
<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Make a new Package through the
functionality provided in the administration page. I have a folder
<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">called World and within that folder
a couple of XML and Data files(SDFs). When I give that path to the Folder name
e.g<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">C:\Program
Files\MapGuideOpenSource\Server\Temp\World and package name World it comes
up<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">with the error:
</SPAN></FONT><B><FONT face=Arial size=2><SPAN
style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Arial">Cannot create
package World from folder C:\Program Files\MapGuideOpenSource\Server\Temp\World:
Invalid resource name: C:\Program
Files\MapGuideOpenSource\Server\Temp\World<o:p></o:p></SPAN></FONT></B></P>
<P class=MsoNormal><B><FONT face=Arial size=2><SPAN
style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></B></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">That’s the first issue, the other is
that I don’t have original SDF data files but SHP. I use the SDF Loader to
convert them into<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">SDF and seems to work ok, but is
this the correct way for creating short of Spatial Data sources and putting them
into the package?<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">I would appreciate if somebody has
an example of creating a new Library/Package step by step. I am using an Apache
web-server<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">and PHP for programming language.
Thank you very much in advance.<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> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">King
Regards<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Dimitris</SPAN></FONT><FONT
face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p></o:p></SPAN></FONT></P></DIV></BODY></HTML>