<?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 which arcpy function to update geodatabase in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/which-arcpy-function-to-update-geodatabase/m-p/500344#M39314</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I update our internal file geodatabase with shapefiles supplied by state government (parcels, roads etc). After learning Python I would like to now speed up and automate this process. My question is which arcpy function would I use to;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Compare the names of the downloaded shapefiles with the names of feature classes in the file geodatabase ie parcels.shp vs parcels? Would I just use the overwrite or should I delete first and then copy new features?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Jun 2015 09:32:25 GMT</pubDate>
    <dc:creator>MarkWisniewski</dc:creator>
    <dc:date>2015-06-29T09:32:25Z</dc:date>
    <item>
      <title>which arcpy function to update geodatabase</title>
      <link>https://community.esri.com/t5/python-questions/which-arcpy-function-to-update-geodatabase/m-p/500344#M39314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I update our internal file geodatabase with shapefiles supplied by state government (parcels, roads etc). After learning Python I would like to now speed up and automate this process. My question is which arcpy function would I use to;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Compare the names of the downloaded shapefiles with the names of feature classes in the file geodatabase ie parcels.shp vs parcels? Would I just use the overwrite or should I delete first and then copy new features?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jun 2015 09:32:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/which-arcpy-function-to-update-geodatabase/m-p/500344#M39314</guid>
      <dc:creator>MarkWisniewski</dc:creator>
      <dc:date>2015-06-29T09:32:25Z</dc:date>
    </item>
    <item>
      <title>Re: which arcpy function to update geodatabase</title>
      <link>https://community.esri.com/t5/python-questions/which-arcpy-function-to-update-geodatabase/m-p/500345#M39315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In an ideal world you would be able to set up a replica from their geodatabase. Since you mentioned shapefiles I'm guessing they don't have a database published you could replicate from. You could use what i call "nuclear replication" where you use &lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//0017000000n6000000"&gt;delete rows &lt;/A&gt;and then &lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//001700000050000000"&gt;append &lt;/A&gt;rows essentially wiping out the database and replacing it with new data. You could easily do this in model builder &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jun 2015 14:05:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/which-arcpy-function-to-update-geodatabase/m-p/500345#M39315</guid>
      <dc:creator>WesMiller</dc:creator>
      <dc:date>2015-06-29T14:05:41Z</dc:date>
    </item>
  </channel>
</rss>

