<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=us-ascii" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
The ".. such files" refers til SHP/SDF/SQLite files.<br>
<br>
I have not used the FDO API enough to answer your FDO question.<br>
<pre class="moz-signature" cols="72">Regards, Kenneth Skovhede, GEOGRAF A/S
</pre>
<br>
<br>
Gunter Becker skrev:
<blockquote cite="mid:1254224691744-3735538.post@n2.nabble.com"
type="cite">
<pre wrap="">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:
</pre>
<blockquote type="cite">
<pre wrap="">The MapGuide API only supports creating SDF files.
Rfc77 adresses this partially, and is being implemented for MG2.2:
<a class="moz-txt-link-freetext" href="http://trac.osgeo.org/mapguide/wiki/MapGuideRfc77">http://trac.osgeo.org/mapguide/wiki/MapGuideRfc77</a>
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:
</pre>
<blockquote type="cite">
<pre wrap="">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
</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>