[mapguide-users] Programmatically add a layer from SDF

Ivan Milicevic Ivan.Milicevic at supranet.hr
Thu Feb 5 08:26:34 EST 2009

Kenneth, is it possible to edit dana in these tables?

-----Original Message-----
From: mapguide-users-bounces at lists.osgeo.org
[mailto:mapguide-users-bounces at lists.osgeo.org] 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:

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:
> I need to add a new layer to my map with an SDF resource and using an
> 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
mapguide-users mailing list
mapguide-users at lists.osgeo.org

More information about the mapguide-users mailing list