|
From: Nguyen d. H. <Ngu...@ai...> - 2006-04-29 10:10:24
|
Dear list How can I add new attribute to a feature (not cloning another feature) I understand that GT's Feature model is quite conservative about feature mutation. Changing attribute value is OK but not OK with adding attribute. I am thinking of following steps: - Make a new feture type instance with all attributes from the current feature's feature type instance, and a new attribute I want to add - Create new feature with the new feature type. - Copy data from old feature to new feature -... But this way breaks my goal: I can not use referene to old feature to refer to the new feature (becuase they are completely different object) Any help is appreciated -- Nguyen duy Hung Remote sensing and GIS Asian Institute of Technology |