<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Feature to Feature overwrite. in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/feature-to-feature-overwrite/m-p/29837#M2336</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you post the Py code and the results of the process please?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Jan 2015 20:45:35 GMT</pubDate>
    <dc:creator>Marco_AlejandroBonilla</dc:creator>
    <dc:date>2015-01-21T20:45:35Z</dc:date>
    <item>
      <title>Feature to Feature overwrite.</title>
      <link>https://community.esri.com/t5/python-questions/feature-to-feature-overwrite/m-p/29829#M2328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;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!!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jan 2015 15:38:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/feature-to-feature-overwrite/m-p/29829#M2328</guid>
      <dc:creator>lelaharrington</dc:creator>
      <dc:date>2015-01-20T15:38:47Z</dc:date>
    </item>
    <item>
      <title>Re: Feature to Feature overwrite.</title>
      <link>https://community.esri.com/t5/python-questions/feature-to-feature-overwrite/m-p/29830#M2329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This topic may help you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/thread/83279"&gt;Overwrite Existing File - Model Builder&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jan 2015 17:06:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/feature-to-feature-overwrite/m-p/29830#M2329</guid>
      <dc:creator>Marco_AlejandroBonilla</dc:creator>
      <dc:date>2015-01-20T17:06:56Z</dc:date>
    </item>
    <item>
      <title>Re: Feature to Feature overwrite.</title>
      <link>https://community.esri.com/t5/python-questions/feature-to-feature-overwrite/m-p/29831#M2330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;that is the topic i am in as well. i still have no answer as to where to put the code properly in python to allow it to run.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you &lt;/P&gt;&lt;P&gt;Lela Harrington&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jan 2015 17:14:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/feature-to-feature-overwrite/m-p/29831#M2330</guid>
      <dc:creator>lelaharrington</dc:creator>
      <dc:date>2015-01-20T17:14:43Z</dc:date>
    </item>
    <item>
      <title>Re: Feature to Feature overwrite.</title>
      <link>https://community.esri.com/t5/python-questions/feature-to-feature-overwrite/m-p/29832#M2331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After the line "import arcpy..." you could give a return and paste the line as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;import arcpy, os,...&lt;/P&gt;&lt;P&gt;arcpy.env.overwriteOutput = True&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That should work&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jan 2015 17:37:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/feature-to-feature-overwrite/m-p/29832#M2331</guid>
      <dc:creator>Marco_AlejandroBonilla</dc:creator>
      <dc:date>2015-01-20T17:37:49Z</dc:date>
    </item>
    <item>
      <title>Re: Feature to Feature overwrite.</title>
      <link>https://community.esri.com/t5/python-questions/feature-to-feature-overwrite/m-p/29833#M2332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes it does help however i keep getting a syntax error from it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;i have tried the delete feature and then feature to feature but i can figure out how to prompt after delete to run the feature to feature automatically. so something like.&amp;nbsp;&lt;/P&gt;&lt;P&gt;delete A,B,C&amp;nbsp;&lt;/P&gt;&lt;P&gt;then&amp;nbsp;&lt;/P&gt;&lt;P&gt;SDE1- FEATUREA,B,C to SDE2 CREATE FEATURE A,B,C&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you &lt;/P&gt;&lt;P&gt;Lela Harrington&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jan 2015 19:45:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/feature-to-feature-overwrite/m-p/29833#M2332</guid>
      <dc:creator>lelaharrington</dc:creator>
      <dc:date>2015-01-20T19:45:01Z</dc:date>
    </item>
    <item>
      <title>Re: Feature to Feature overwrite.</title>
      <link>https://community.esri.com/t5/python-questions/feature-to-feature-overwrite/m-p/29834#M2333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;UPDATE! &lt;/P&gt;&lt;P&gt;so i was able to get the arcpy.env.overwriteOutput = True &lt;/P&gt;&lt;P&gt;to work in the python script i got the whole script to run to replace feature class with feature class. when i came in this morning and checked the results. it in fact did not overwrite the data rather even with the code in there it still did the same thing of adding the same named feature class with an _1 after it. &lt;/P&gt;&lt;P&gt;i am using this script to update a feature process. so there is the example of what i am doing&lt;/P&gt;&lt;P&gt;field technicians collect information and populate information into Feature class A in SDE 1 in Midwest America, that information over night (in bulk, feature classes A-ZZ) get transferred to SDE 2 in East America feature class A still has to remain just get overwritten with updates from SDE 1 to SDE 2. This allows for everyone using a&amp;nbsp; mapping service to see updated information in East America without the server having to fetch the data from the Midwest. which makes the maps regeneration and generation faster as it is accessing local data. once the scrip is proven i plan on putting it on a scheduler and running it over the PM weekly for updating data. the only problem i am having is getting the overwrite of the features. between SDE 1 and SDE 2 as the name has to remain the same every time the data is transferred. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jan 2015 14:50:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/feature-to-feature-overwrite/m-p/29834#M2333</guid>
      <dc:creator>lelaharrington</dc:creator>
      <dc:date>2015-01-21T14:50:05Z</dc:date>
    </item>
    <item>
      <title>Re: Feature to Feature overwrite.</title>
      <link>https://community.esri.com/t5/python-questions/feature-to-feature-overwrite/m-p/29835#M2334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sometimes killing a connection doesn't quite cut it: to be 100% sure, you should restart the service.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jan 2015 15:40:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/feature-to-feature-overwrite/m-p/29835#M2334</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2015-01-21T15:40:19Z</dc:date>
    </item>
    <item>
      <title>Re: Feature to Feature overwrite.</title>
      <link>https://community.esri.com/t5/python-questions/feature-to-feature-overwrite/m-p/29836#M2335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I will try that and get back with you&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you &lt;/P&gt;&lt;P&gt;Lela Harrington&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jan 2015 15:42:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/feature-to-feature-overwrite/m-p/29836#M2335</guid>
      <dc:creator>lelaharrington</dc:creator>
      <dc:date>2015-01-21T15:42:40Z</dc:date>
    </item>
    <item>
      <title>Re: Feature to Feature overwrite.</title>
      <link>https://community.esri.com/t5/python-questions/feature-to-feature-overwrite/m-p/29837#M2336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you post the Py code and the results of the process please?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jan 2015 20:45:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/feature-to-feature-overwrite/m-p/29837#M2336</guid>
      <dc:creator>Marco_AlejandroBonilla</dc:creator>
      <dc:date>2015-01-21T20:45:35Z</dc:date>
    </item>
    <item>
      <title>Re: Feature to Feature overwrite.</title>
      <link>https://community.esri.com/t5/python-questions/feature-to-feature-overwrite/m-p/29838#M2337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please see attached &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jan 2015 15:24:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/feature-to-feature-overwrite/m-p/29838#M2337</guid>
      <dc:creator>lelaharrington</dc:creator>
      <dc:date>2015-01-23T15:24:08Z</dc:date>
    </item>
    <item>
      <title>Re: Feature to Feature overwrite.</title>
      <link>https://community.esri.com/t5/python-questions/feature-to-feature-overwrite/m-p/29839#M2338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;You should try disconnecting users and if necessary stopping the services and then start them again as Joe said.&lt;/P&gt;&lt;P&gt;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&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2015 15:57:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/feature-to-feature-overwrite/m-p/29839#M2338</guid>
      <dc:creator>Marco_AlejandroBonilla</dc:creator>
      <dc:date>2015-01-26T15:57:13Z</dc:date>
    </item>
    <item>
      <title>Re: Feature to Feature overwrite.</title>
      <link>https://community.esri.com/t5/python-questions/feature-to-feature-overwrite/m-p/29840#M2339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you i will try&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you &lt;/P&gt;&lt;P&gt;Lela Harrington&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2015 16:11:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/feature-to-feature-overwrite/m-p/29840#M2339</guid>
      <dc:creator>lelaharrington</dc:creator>
      <dc:date>2015-01-26T16:11:25Z</dc:date>
    </item>
  </channel>
</rss>

