[mapguide-users] Build New Library - Make Package

Dave Wilson dave.wilson at autodesk.com
Wed May 3 15:24:06 EDT 2006


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.
 
If you are trying to upload data you can do 1 of 3 things:
 
1) Use the Studio demo to upload the data via a load procedure and
convert it to SDF or just load it as SHP.
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.
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.
 
I believe it is possible to use FME to create SDF 3.0's from SHPs.
 
Regards,
Dave

  _____  

From: Dimitrios Fryganiotis [mailto:dimitrios.fryganiotis at nsl.eu.com] 
Sent: Wednesday, May 03, 2006 10:32 AM
To: users at mapguide.osgeo.org
Subject: [mapguide-users] Build New Library - Make Package



Hello,

 

I have downloaded the latest MapGuide Open Source and I have to say that
it is really good software.

However, I am struggling with some of its features. I want to create a
new library and generally to 

Make a new Package through the functionality provided in the
administration page. I have a folder 

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

C:\Program Files\MapGuideOpenSource\Server\Temp\World and package name
World it comes up

with the error: Cannot create package World from folder C:\Program
Files\MapGuideOpenSource\Server\Temp\World: Invalid resource name:
C:\Program Files\MapGuideOpenSource\Server\Temp\World

 

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

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?

I would appreciate if somebody has an example of creating a new
Library/Package step by step. I am using an Apache web-server

and PHP for programming language. Thank you very much in advance.

 

King Regards

Dimitris

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide_users/attachments/20060503/128689fc/attachment.html


More information about the Mapguide_users mailing list