now it's clearer what you are trying to do!<br><br>you can use an unmanaged feature source, which means you reference a sdf file on <br>the server which lives outside the repository.. there for you bypass webstudio...<br>
<br>the xml looks like, where C is a directory on your server<br><br><?xml version="1.0" encoding="ISO-8859-1"?><br><br><FeatureSource xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance">
http://www.w3.org/2001/XMLSchema-instance</a>" xmlns:xsd="<a href="http://www.w3.org/2001/XMLSchema">http://www.w3.org/2001/XMLSchema</a>" xsi:noNamespaceSchemaLocation="FeatureSource-1.0.0.xsd">
<br> <Provider>OSGeo.SDF</Provider><br> <Parameter><br> <Name>File</Name><br> <Value>c:\data\DEMO~GEOMETRY.sdf</Value><br> </Parameter><br> <Parameter>
<br> <Name>ReadOnly</Name><br> <Value>TRUE</Value><br> </Parameter><br></FeatureSource><br><br>Otherwise you can use the API in .NET, PHP or Java to upload into the repository
<br><br>z<br><br><br><br><div class="gmail_quote">On Dec 11, 2007 11:09 PM, Parvatha <<a href="mailto:kpeswari@indiainfo.com">kpeswari@indiainfo.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>I am unable to load my SDF data using web studio; So i am trying someother<br>way. If I can convert my data to mgp format then there is no need to load<br>the sdf i think. I need to load only the mgp using mapadmin. This will also
<br>solve my problem. I have sdf but i dont know how to create xml files. So<br>that if I have xml and sdf then i can make mgp. This is what my problem.<br><div><div></div><div class="Wj3C7c"><br><br>Kenneth, GEOGRAF A/S wrote:
<br>><br>> Its not clear to me, what you want to do.<br>><br>> You can create MGP packages from an entire folder.<br>> You can modify the MGP file as a Zip file afterwards.<br>><br>> AFAIK, there is no documentation for the MGP format.
<br>> The format is quite simple, the MGP is a Zip file, which contains all<br>> the data, SDF and Xml.<br>> There is a manifest file in the MGP, which contains operations executed<br>> agains the server.<br>> These operations execute the actual data storage of either SDF or Xml
<br>> data.<br>> The SDF files are usually stored as "ResourceData" on a FeatureSource<br>> (Xml).<br>><br>> Regards, Kenneth, GEOGRAF A/S<br>><br>><br>><br>> Parvatha skrev:<br>>> In site administrator we can create mgp files but for that we need to
<br>>> have<br>>> xml files in a folder which has got the details of the sdf data. I want<br>>> to<br>>> know how to create those xml files and where to keep the sdf data and<br>>> what<br>>> is the format?
<br>>><br>>> zspitzer wrote:<br>>><br>>>> you can create a mgp via the mapguide site administrator<br>>>><br>>>> On Dec 6, 2007 3:35 PM, Parvatha <<a href="mailto:kpeswari@indiainfo.com">
kpeswari@indiainfo.com</a>> wrote:<br>>>><br>>>>> Hi<br>>>>><br>>>>> can anybody tell me how to create an mgp file? when i download the<br>>>>> sample<br>>>>> (sheboygan) data for mapguide opensource
1.2 its a zip file. When i<br>>>>> unzip<br>>>>> that i could see all xml files. Using mapadmin if i load that mgp then<br>>>>> in<br>>>>> the "library" folder in local there is a "data" folder in that all sdf
<br>>>>> files<br>>>>> are loaded. I dont understand from where it is getting loaded<br>>>>> dynamically.<br>>>>> If this is the way then how to create xml file for my own sdf data to
<br>>>>> make<br>>>>> an mgp? and where to keep the sdf? bcoz in xml file only the sdf name<br>>>>> has<br>>>>> given and the path is not given. Can anybody please calrify my doubt?
<br>>>>><br>>>>> Regards<br>>>>> Parvatha<br>>>>> --<br>>>>> View this message in context:<br>>>>> <a href="http://www.nabble.com/how-to-create-an-mgp-file--tf4953979s16610.html#a14186172" target="_blank">
http://www.nabble.com/how-to-create-an-mgp-file--tf4953979s16610.html#a14186172</a><br>>>>> Sent from the MapGuide Users mailing list archive at <a href="http://Nabble.com" target="_blank">Nabble.com</a>.<br>>>>>
<br>>>>> _______________________________________________<br>>>>> mapguide-users mailing list<br>>>>> <a href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a><br>
>>>> <a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br>>>>><br>>>>><br>>>><br>>>> --
<br>>>> Zac Spitzer -<br>>>> <a href="http://zacster.blogspot.com" target="_blank">http://zacster.blogspot.com</a> (My Blog)<br>>>> +61 405 847 168<br>>>> _______________________________________________
<br>>>> mapguide-users mailing list<br>>>> <a href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a><br>>>> <a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">
http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br>>>><br>>>><br>>>><br>>><br>>><br>><br>> _______________________________________________<br>> mapguide-users mailing list
<br>> <a href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a><br>> <a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users
</a><br>><br>><br><br>--<br></div></div>View this message in context: <a href="http://www.nabble.com/how-to-create-an-mgp-file--tp14186172s16610p14272461.html" target="_blank">http://www.nabble.com/how-to-create-an-mgp-file--tp14186172s16610p14272461.html
</a><br><div><div></div><div class="Wj3C7c">Sent from the MapGuide Users mailing list archive at <a href="http://Nabble.com" target="_blank">Nabble.com</a>.<br><br>_______________________________________________<br>mapguide-users mailing list
<br><a href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a><br><a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users
</a><br></div></div></blockquote></div><br><br clear="all"><br>-- <br>Zac Spitzer -<br><a href="http://zacster.blogspot.com">http://zacster.blogspot.com</a> (My Blog)<br>+61 405 847 168