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.
Thanks, Orest. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ismael Cams Sent: Thursday, January 17, 2008 8:20 AM To: [email protected] Subject: [mapguide-users] Applying new schema to FeatureSource Hello, 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 [email protected] http://lists.osgeo.org/mailman/listinfo/mapguide-users _______________________________________________ mapguide-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapguide-users
