Select to view content in your preferred language

Feature to Feature overwrite.

6186
11
01-20-2015 07:38 AM
lelaharrington
New Contributor III

i am looking to take features from SDE1 and send them to SDE2 and overwrite the features in SDE 2. i tried features to features tool but it doesn't overwrite it. it adds a _1 after the feature name. i am doing this in model builder but i would ike to have it in python when all is said and done with a result log.txt file as well. PLEASE Help!!!!

0 Kudos
11 Replies
Marco_AlejandroBonilla
Occasional Contributor

It seems that coding has no problem. It should be a locking issue. Considering that connection to SDE2 features remains active in the moment you try to replace them, the model won't be able to replace the feature class, instead of this it creates another feature with a new name.

You should try disconnecting users and if necessary stopping the services and then start them again as Joe said.

Also, I would try to empty the data inside the feature class in SDE2 and filling it again with the new data of SDE1 so the FC don't have to be deleted

0 Kudos
lelaharrington
New Contributor III

Thank you i will try 

Thank you

Lela Harrington

0 Kudos