[mapguide-users] how to create an mgp file?
Parvatha
kpeswari at indiainfo.com
Thu Dec 13 07:45:44 EST 2007
I have created xml files as you told. But when i try to create unmanaged
feature source in web studio its not working. In sample folder sheboygan
data itself if i right click and say new feature source then i am able to
give some name and its getting saved but there the problem is i am unable to
load sdf. But here if i right click and say new unmanaged feature source its
asking for the name but its not getting saved even if i refresh also. If
that is getting saved then only i can assing xml file to that right? or am i
wrong? is there anyother way?
zspitzer wrote:
>
> now it's clearer what you are trying to do!
>
> you can use an unmanaged feature source, which means you reference a sdf
> file on
> the server which lives outside the repository.. there for you bypass
> webstudio...
>
> the xml looks like, where C is a directory on your server
>
> <?xml version="1.0" encoding="ISO-8859-1"?>
>
> <FeatureSource xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> xsi:noNamespaceSchemaLocation="
> FeatureSource-1.0.0.xsd">
> <Provider>OSGeo.SDF</Provider>
> <Parameter>
> <Name>File</Name>
> <Value>c:\data\DEMO~GEOMETRY.sdf</Value>
> </Parameter>
> <Parameter>
> <Name>ReadOnly</Name>
> <Value>TRUE</Value>
> </Parameter>
> </FeatureSource>
>
> Otherwise you can use the API in .NET, PHP or Java to upload into the
> repository
>
> z
>
>
>
> On Dec 11, 2007 11:09 PM, Parvatha <kpeswari at indiainfo.com> wrote:
>
>>
>> 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:
>> >
>> > 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:
>> >> 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:
>> >>
>> >>> you can create a mgp via the mapguide site administrator
>> >>>
>> >>> On Dec 6, 2007 3:35 PM, Parvatha <kpeswari at indiainfo.com> wrote:
>> >>>
>> >>>> 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:
>> >>>>
>> http://www.nabble.com/how-to-create-an-mgp-file--tf4953979s16610.html#a14186172
>> >>>> Sent from the MapGuide Users mailing list archive at Nabble.com.
>> >>>>
>> >>>> _______________________________________________
>> >>>> mapguide-users mailing list
>> >>>> mapguide-users at lists.osgeo.org
>> >>>> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>> >>>>
>> >>>>
>> >>>
>> >>> --
>> >>> Zac Spitzer -
>> >>> http://zacster.blogspot.com (My Blog)
>> >>> +61 405 847 168
>> >>> _______________________________________________
>> >>> mapguide-users mailing list
>> >>> mapguide-users at lists.osgeo.org
>> >>> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>> >>>
>> >>>
>> >>>
>> >>
>> >>
>> >
>> > _______________________________________________
>> > mapguide-users mailing list
>> > mapguide-users at lists.osgeo.org
>> > http://lists.osgeo.org/mailman/listinfo/mapguide-users
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/how-to-create-an-mgp-file--tp14186172s16610p14272461.html
>> Sent from the MapGuide Users mailing list archive at Nabble.com.
>>
>> _______________________________________________
>> mapguide-users mailing list
>> mapguide-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>>
>
>
>
> --
> Zac Spitzer -
> http://zacster.blogspot.com (My Blog)
> +61 405 847 168
>
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>
>
--
View this message in context: http://www.nabble.com/how-to-create-an-mgp-file--tp14186172s16610p14315246.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
More information about the mapguide-users
mailing list