[mapguide-users] Applying new schema to FeatureSource

Orest Halustchak orest.halustchak at autodesk.com
Thu Jan 17 16:27:11 EST 2008

Hi Ismael,

SDF does allow a new property definition to be added to an existing class (if there is data already in the class, the new property needs to allow nulls). There is no gui in MG that exposes this, though. Do you have a copy of Map3D? If so, the Map3D schema editor will allow you to modify the schema. Otherwise, the FDO api provides a way to do this programmatically (describe the schema, add the new property def to the class, apply schema). Unfortunately, the Feature Services api currently is not exposing that capability.


-----Original Message-----
From: mapguide-users-bounces at lists.osgeo.org [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Ismael Cams
Sent: Thursday, January 17, 2008 8:20 AM
To: mapguide-users at lists.osgeo.org
Subject: [mapguide-users] Applying new schema to FeatureSource


I have a SDF where I want to add a new propertydefinition. What is the best
practice to achieve this ?
One way is to create a new SDF with the extra property and to copy all the
features from the existing source to the new one. Only this seems a bit
complicated for just adding one column ...

Any ideas ?

Thanks in advance.
View this message in context: http://www.nabble.com/Applying-new-schema-to-FeatureSource-tp14918648s16610p14918648.html
Sent from the MapGuide Users mailing list archive at Nabble.com.

mapguide-users mailing list
mapguide-users at lists.osgeo.org

More information about the mapguide-users mailing list