<!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">
Yes, just call the "UpdateFeatures" method on an "MgResourceService"
instance.<br>
<pre class="moz-signature" cols="72">Regards, Kenneth Skovhede, GEOGRAF A/S
</pre>
<br>
<br>
Ivan Milicevic skrev:
<blockquote cite="mid:9CAB6B340CCF9E44BE4ACFCF56E67B07356B0A@supranet"
 type="cite">
  <pre wrap="">Kenneth, is it possible to edit dana in these tables?

-----Original Message-----
From: <a class="moz-txt-link-abbreviated" href="mailto:mapguide-users-bounces@lists.osgeo.org">mapguide-users-bounces@lists.osgeo.org</a>
[<a class="moz-txt-link-freetext" href="mailto:mapguide-users-bounces@lists.osgeo.org">mailto:mapguide-users-bounces@lists.osgeo.org</a>] On Behalf Of Kenneth
Skovhede, GEOGRAF A/S
Sent: Thursday, February 05, 2009 2:14 PM
To: MapGuide Users Mail List
Subject: Re: [mapguide-users] Programmatically add a layer from SDF

After creating the SDF FeatureSource, you can use MapGuide to query it:
<a class="moz-txt-link-freetext" href="http://mapguide.osgeo.net/files/mapguide/docs/webapi/d5/d10/class_mg_fea">http://mapguide.osgeo.net/files/mapguide/docs/webapi/d5/d10/class_mg_fea</a>
ture_service_7ca27aeb7ab769babccefd67d1335c34.html#7ca27aeb7ab769babccef
d67d1335c34

The results of DescribeSchema() gives you all the schemas/classes 
supported by the SDF (yes, it may have many tables).

The MgClass item has a method called GetProperties() which will return 
all the avalible columns
in the SDF file, including their type.

Regards, Kenneth Skovhede, GEOGRAF A/S



sekko970 skrev:
  </pre>
  <blockquote type="cite">
    <pre wrap="">I need to add a new layer to my map with an SDF resource and using an
    </pre>
  </blockquote>
  <pre wrap=""><!---->XML
  </pre>
  <blockquote type="cite">
    <pre wrap="">template layer definition, but I don't know how to extract the name of
Feature Class and Geometry.

I'm using .NET WebAPI.
Could you help me?


Thanks in advance,
Fabio
  
    </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>
_______________________________________________
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>
</body>
</html>