<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
The only approach I can think of, is to study one of the existing demo
packages.<br>
Study the Xml to see how it is constructed, and create a copy.<br>
<br>
You will likely want to use MapGuide Studio from Autodesk at some point.<br>
Alternatively, if your only objective is to upload an SDF file, you can
try out my MapStudio project (which is very alpha at the moment).<br>
Third option for access to SDF, is to get a FeatureSource xml file, and
modify the file path.<br>
You can read/write the FeatureSource Xml from either the API or
<a class="moz-txt-link-freetext" href="http://localhost/mapguide/mapagent/mapagent.fcgi">http://localhost/mapguide/mapagent/mapagent.fcgi</a><br>
<br>
<pre class="moz-signature" cols="72">Regards, Kenneth, GEOGRAF A/S
</pre>
<br>
<br>
Parvatha skrev:
<blockquote cite="mid:14272461.post@talk.nabble.com" type="cite">
<pre wrap="">I am unable to load my SDF data using web studio; So i am trying someother
way. If I can convert my data to mgp format then there is no need to load
the sdf i think. I need to load only the mgp using mapadmin. This will also
solve my problem. I have sdf but i dont know how to create xml files. So
that if I have xml and sdf then i can make mgp. This is what my problem.
Kenneth, GEOGRAF A/S wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Its not clear to me, what you want to do.
You can create MGP packages from an entire folder.
You can modify the MGP file as a Zip file afterwards.
AFAIK, there is no documentation for the MGP format.
The format is quite simple, the MGP is a Zip file, which contains all
the data, SDF and Xml.
There is a manifest file in the MGP, which contains operations executed
agains the server.
These operations execute the actual data storage of either SDF or Xml
data.
The SDF files are usually stored as "ResourceData" on a FeatureSource
(Xml).
Regards, Kenneth, GEOGRAF A/S
Parvatha skrev:
</pre>
<blockquote type="cite">
<pre wrap="">In site administrator we can create mgp files but for that we need to
have
xml files in a folder which has got the details of the sdf data. I want
to
know how to create those xml files and where to keep the sdf data and
what
is the format?
zspitzer wrote:
</pre>
<blockquote type="cite">
<pre wrap="">you can create a mgp via the mapguide site administrator
On Dec 6, 2007 3:35 PM, Parvatha <a class="moz-txt-link-rfc2396E" href="mailto:kpeswari@indiainfo.com"><kpeswari@indiainfo.com></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hi
can anybody tell me how to create an mgp file? when i download the
sample
(sheboygan) data for mapguide opensource 1.2 its a zip file. When i
unzip
that i could see all xml files. Using mapadmin if i load that mgp then
in
the "library" folder in local there is a "data" folder in that all sdf
files
are loaded. I dont understand from where it is getting loaded
dynamically.
If this is the way then how to create xml file for my own sdf data to
make
an mgp? and where to keep the sdf? bcoz in xml file only the sdf name
has
given and the path is not given. Can anybody please calrify my doubt?
Regards
Parvatha
--
View this message in context:
<a class="moz-txt-link-freetext" href="http://www.nabble.com/how-to-create-an-mgp-file--tf4953979s16610.html#a14186172">http://www.nabble.com/how-to-create-an-mgp-file--tf4953979s16610.html#a14186172</a>
Sent from the MapGuide Users mailing list archive at Nabble.com.
_______________________________________________
mapguide-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapguide-users">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a>
</pre>
</blockquote>
<pre wrap="">--
Zac Spitzer -
<a class="moz-txt-link-freetext" href="http://zacster.blogspot.com">http://zacster.blogspot.com</a> (My Blog)
+61 405 847 168
_______________________________________________
mapguide-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapguide-users">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a>
</pre>
</blockquote>
<pre wrap="">
</pre>
</blockquote>
<pre wrap="">_______________________________________________
mapguide-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapguide-users">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a>
</pre>
</blockquote>
<pre wrap=""><!---->
</pre>
</blockquote>
</body>
</html>