[mapguide-users] Create Featuresource
Gunter Becker
gunter.becker at csogis.de
Tue Sep 29 07:44:51 EDT 2009
Thanks Kenneth,
which files do you mean with "create and manipulate such files".
Do you mean the FeatureSource xml document or the empty SHP- and SDF-Files.
Do I have to use all of the following libraries: OSGeo.FDO.dll,
OSGeo.FDO.Common.dll and OSGeo.FDO.Geometry
Thanks, Gunter
Kenneth Skovhede, GEOGRAF A/S wrote:
>
> The MapGuide API only supports creating SDF files.
> Rfc77 adresses this partially, and is being implemented for MG2.2:
> http://trac.osgeo.org/mapguide/wiki/MapGuideRfc77
>
> You can always create a FeatureSource xml document and upload to MapGuide.
> What is missing is an empty SHP/SDF/SQLite file and some column
> alteration methods.
> You can use the FDO API to create and manipulate such files, and then
> upload them
> to MapGuide, using SetResourceData.
>
> For the database, simply issue SQL statements, and then save the
> FeatureSource to
> force a schema refresh.
>
> MaestroAPI won't make it easier because the method is missing from
> MapGuide.
> Implementing it inside the MaestroAPI using FDO would make Maestro
> non-portable.
>
> Regards, Kenneth Skovhede, GEOGRAF A/S
>
>
>
> Gunter Becker skrev:
>> Hi,
>>
>> I want to create a new featuresource (shp, sdf or SQL Server 2008
>> Spatial)
>> from my webapplication (c# .NET). I got it working for a sdf
>> FeatureSource
>> with the MapGuideAPI. But I'm wondering if it is possible for SHP or SQL
>> Server Spatial at all. What are the steps to create an shape-file in the
>> repository or as an external file and what are the steps to create a
>> spatial
>> database table. Is there an easy way to do this with the MaestroAPI. Or
>> do I
>> have to use the FdoAPI ?
>>
>> Thanks, Gunter
>>
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>
>
--
View this message in context: http://n2.nabble.com/Create-Featuresource-tp3735230p3735538.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
More information about the mapguide-users
mailing list