<?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: Auto-populate field in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/auto-populate-field/m-p/615998#M20456</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi thanks for sending this through, it works by selecting the required fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what should i bet putting in the field calculator.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Date_Refined] = "Medieval"&amp;nbsp; ???&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 31 May 2019 07:51:02 GMT</pubDate>
    <dc:creator>TomPiggott</dc:creator>
    <dc:date>2019-05-31T07:51:02Z</dc:date>
    <item>
      <title>Auto-populate field</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/auto-populate-field/m-p/615996#M20454</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 am doing a project were I am taking all the survey data for archaeology found in an area and trying to make it into a simple user format to show people.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(Ive pulled all the survey from a CAD drawing so excuse some of the field names). I want to take the data in the layer column and refine it. the layer column is based on the data given to the archaeology (i.e bronze age, medieval) but there are over 30 variations in the name.&amp;nbsp;&lt;/P&gt;&lt;P&gt;so as an example. I wanted to take all the variations of the spelling of medieval(_med, _m, med, MED) in the layer column and refine them just to medieval in the 'date_refined' column. I have over 30,000 entries and didn't want to do it by hand.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have some very basic python knowledge - could this be achieved by an else if statement? if so what would it look like?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Tom&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="448690" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/448690_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 May 2019 10:20:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/auto-populate-field/m-p/615996#M20454</guid>
      <dc:creator>TomPiggott</dc:creator>
      <dc:date>2019-05-29T10:20:53Z</dc:date>
    </item>
    <item>
      <title>Re: Auto-populate field</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/auto-populate-field/m-p/615997#M20455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.esri.com/migrated-users/308317"&gt;Tom Piggott&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Workflow (manual process):&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Select records &lt;SPAN style="font-family: courier new, courier, monospace;"&gt;WHERE "Layer" IN ('_med',' _m',' med','MED')&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;Use Field Calculator to update field "Date_Refined" with value 'medieval' (only selected records will be affected)&lt;/LI&gt;&lt;LI&gt;Change selection and update (using Field Calculator) with other value&lt;/LI&gt;&lt;LI&gt;Repeat until all records have a value for "Date_Refined"&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does this work for you?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Egge-Jan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/448712_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 May 2019 11:28:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/auto-populate-field/m-p/615997#M20455</guid>
      <dc:creator>Egge-Jan_Pollé</dc:creator>
      <dc:date>2019-05-29T11:28:25Z</dc:date>
    </item>
    <item>
      <title>Re: Auto-populate field</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/auto-populate-field/m-p/615998#M20456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi thanks for sending this through, it works by selecting the required fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what should i bet putting in the field calculator.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Date_Refined] = "Medieval"&amp;nbsp; ???&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 May 2019 07:51:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/auto-populate-field/m-p/615998#M20456</guid>
      <dc:creator>TomPiggott</dc:creator>
      <dc:date>2019-05-31T07:51:02Z</dc:date>
    </item>
    <item>
      <title>Re: Auto-populate field</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/auto-populate-field/m-p/615999#M20457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tom,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, &lt;SPAN style="font-family: courier new, courier, monospace;"&gt;[Date_Refined] = "Medieval"&lt;/SPAN&gt;. Did you try that already? If it doesn't work, it should be '&lt;SPAN style="font-family: courier new, courier, monospace;"&gt;Medieval'&lt;/SPAN&gt;. (I always forget whether it should be single or double quotes.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Field Calculator only affects the selected records (unless there is no selection; in that case all records will be updated).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know how you are proceeding. If you think your issue is solved, don't forget to mark the question as being answered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Egge-Jan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 May 2019 09:18:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/auto-populate-field/m-p/615999#M20457</guid>
      <dc:creator>Egge-Jan_Pollé</dc:creator>
      <dc:date>2019-05-31T09:18:23Z</dc:date>
    </item>
    <item>
      <title>Re: Auto-populate field</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/auto-populate-field/m-p/616000#M20458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;Egge-Jan I got it to work after changing the quotes&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Tom&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jun 2019 07:32:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/auto-populate-field/m-p/616000#M20458</guid>
      <dc:creator>TomPiggott</dc:creator>
      <dc:date>2019-06-03T07:32:32Z</dc:date>
    </item>
  </channel>
</rss>

