<?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 Find and Replace? in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/find-and-replace/m-p/294923#M10245</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I need to find an easy way to update multiple values in a file geodatabase attribute table.&amp;nbsp; These same values will need to be found in the table and replaced with values that I have within a list on a monthly basis so I would very much like to make this an automated function.&lt;/P&gt;&lt;P&gt;Is this possible?&lt;/P&gt;&lt;P&gt;My abilities are not quite there yet when it comes to programming so any assistance or guidance&amp;nbsp;someone can provide would be extremely valuable.&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;&lt;P&gt;Jeff&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Aug 2017 21:41:26 GMT</pubDate>
    <dc:creator>deleted-user-iwYtitJHBIyn</dc:creator>
    <dc:date>2017-08-21T21:41:26Z</dc:date>
    <item>
      <title>Find and Replace?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/find-and-replace/m-p/294923#M10245</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I need to find an easy way to update multiple values in a file geodatabase attribute table.&amp;nbsp; These same values will need to be found in the table and replaced with values that I have within a list on a monthly basis so I would very much like to make this an automated function.&lt;/P&gt;&lt;P&gt;Is this possible?&lt;/P&gt;&lt;P&gt;My abilities are not quite there yet when it comes to programming so any assistance or guidance&amp;nbsp;someone can provide would be extremely valuable.&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;&lt;P&gt;Jeff&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Aug 2017 21:41:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/find-and-replace/m-p/294923#M10245</guid>
      <dc:creator>deleted-user-iwYtitJHBIyn</dc:creator>
      <dc:date>2017-08-21T21:41:26Z</dc:date>
    </item>
    <item>
      <title>Re: Find and Replace?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/find-and-replace/m-p/294924#M10246</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jeff,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How many attribute tables, and how many values do you need to update on a monthly basis? There's a find and replace tool which you can use if it's only a few values in a limited number of tables:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://support.esri.com/en/technical-article/000012044" title="http://support.esri.com/en/technical-article/000012044"&gt;How To: Replace the text in multiple fields within an attribute table using the Find and Replace tool&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want something more automated, here's what I'd do:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Create a table with two columns: &lt;EM&gt;old_value&lt;/EM&gt; and &lt;EM&gt;new_value&lt;/EM&gt;, which contain the old value and the one you want to update it with&lt;/LI&gt;&lt;LI&gt;Create an empty Python dictionary, and use an arcpy DA search cursor (&lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/10.3/analyze/arcpy-data-access/searchcursor-class.htm" title="http://desktop.arcgis.com/en/arcmap/10.3/analyze/arcpy-data-access/searchcursor-class.htm"&gt;SearchCursor—Help | ArcGIS for Desktop&lt;/A&gt;) to populate it with the keys being the old text&amp;nbsp;and the corresponding values being the new text.&lt;/LI&gt;&lt;LI&gt;For each file geodatabase attribute table you want to update, use an arcpy DA update cursor (&lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/10.3/analyze/arcpy-data-access/updatecursor-class.htm" title="http://desktop.arcgis.com/en/arcmap/10.3/analyze/arcpy-data-access/updatecursor-class.htm"&gt;UpdateCursor—Help | ArcGIS for Desktop&lt;/A&gt;) to comb through each table and update the values based on the lookup dictionary.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That sounds like it will increase your productivity and so would be a good first forray&amp;nbsp;into arcpy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Micah&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Aug 2017 00:08:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/find-and-replace/m-p/294924#M10246</guid>
      <dc:creator>MicahBabinski</dc:creator>
      <dc:date>2017-08-22T00:08:29Z</dc:date>
    </item>
    <item>
      <title>Re: Find and Replace?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/find-and-replace/m-p/294925#M10247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Micah,&lt;/P&gt;&lt;P&gt;Thank you for replying to my message.&lt;/P&gt;&lt;P&gt;Typically it will be just one attribute table that will require edits.&amp;nbsp; The number of fields that will require records to be modified will range from just 1 to 2.&amp;nbsp; Not that many.&lt;/P&gt;&lt;P&gt;The number of values to update on a monthly basis is an additive process.&amp;nbsp; It may start out with 3 values to change, but then the following month the same 3 values will still need to be changed and perhaps 4 more to add to the list.&amp;nbsp; The list will grow as we move along with some dropping off and others being added to the process.&lt;/P&gt;&lt;P&gt;Thank you for the automation suggestion.&amp;nbsp; I will definitely look into it.&amp;nbsp; Hopefully the learning curve isn't too steep.&lt;/P&gt;&lt;P&gt;Jeff&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Aug 2017 14:10:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/find-and-replace/m-p/294925#M10247</guid>
      <dc:creator>deleted-user-iwYtitJHBIyn</dc:creator>
      <dc:date>2017-08-22T14:10:09Z</dc:date>
    </item>
  </channel>
</rss>

