Question

Preserving attributes


Badge +3

I am trying to update a feature class in sde with a new one. Two of the fields in the existing table are not in the new table so I want to add them to my new table. I have tried featuremerger and not getting the results I want. This seems simple enough but featuremerger isn't copying over the additional two fields. One is modified user and the other is a Gazettedate. Any help would be appreciated to resolve this issue.


2 replies

Userlevel 2
Badge +12

You will need to add them to the writer feature type to be able to write them to the table.

If the attributes are on the feature but not on the writer feature type (table definition) the writer will ignore them.

Userlevel 4

Also, if you update your writer you will also have to re-create your database table, if it already exists. The easiest way to do that is to set the table handling top "Drop and Create" on the output feature type:

Reply