<?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: Joining Data; NOT Using the Join Field Tool in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/joining-data-not-using-the-join-field-tool/m-p/703366#M54454</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Be wary of the JoinField tool, it does not scale for large datasets.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm wondering, why is it that the Join Field tool is so slow? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Amy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 Feb 2012 20:04:16 GMT</pubDate>
    <dc:creator>AmySmith3</dc:creator>
    <dc:date>2012-02-24T20:04:16Z</dc:date>
    <item>
      <title>Joining Data; NOT Using the Join Field Tool</title>
      <link>https://community.esri.com/t5/python-questions/joining-data-not-using-the-join-field-tool/m-p/703362#M54450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying to write a script that joins a monthly parcel ownership data table to a parcel feature class. Throughout this process I figured out the difference between Joining and the Join Field geoprocessing tool...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; - Joining is limited to the map document itself&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; - The Join Field tool permanantly appends the new table to the feature class. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I cannot find a script snippet that allows me to &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;join &lt;/SPAN&gt;&lt;SPAN&gt;a table only within the map document. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyone know of any solutions? Thank you!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Feb 2012 18:37:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/joining-data-not-using-the-join-field-tool/m-p/703362#M54450</guid>
      <dc:creator>BrittanyGale</dc:creator>
      <dc:date>2012-02-22T18:37:12Z</dc:date>
    </item>
    <item>
      <title>Re: Joining Data; NOT Using the Join Field Tool</title>
      <link>https://community.esri.com/t5/python-questions/joining-data-not-using-the-join-field-tool/m-p/703363#M54451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I might be missing the point, but &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/Add_Join/001700000064000000/" rel="nofollow" target="_blank"&gt;Add Join&lt;/A&gt;&lt;SPAN&gt;?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Feb 2012 18:44:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/joining-data-not-using-the-join-field-tool/m-p/703363#M54451</guid>
      <dc:creator>DarrenWiens2</dc:creator>
      <dc:date>2012-02-22T18:44:00Z</dc:date>
    </item>
    <item>
      <title>Re: Joining Data; NOT Using the Join Field Tool</title>
      <link>https://community.esri.com/t5/python-questions/joining-data-not-using-the-join-field-tool/m-p/703364#M54452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Dear me. I can't beleive I didn't figure that out. My searches weren't coming up with this for some reason. I typed "python, arcpy, join" into Google and Esri Support and only found results including the JoinField tool. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you so much! I really appreciate it! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Feb 2012 20:08:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/joining-data-not-using-the-join-field-tool/m-p/703364#M54452</guid>
      <dc:creator>BrittanyGale</dc:creator>
      <dc:date>2012-02-22T20:08:26Z</dc:date>
    </item>
    <item>
      <title>Re: Joining Data; NOT Using the Join Field Tool</title>
      <link>https://community.esri.com/t5/python-questions/joining-data-not-using-the-join-field-tool/m-p/703365#M54453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I realise that you just wanted to do a temporary join in a script, but then what are you doing with the join? It is very slow.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Be wary of the JoinField tool, it does not scale for large datasets. It can take several hours on a large table. :mad:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So what else can a poor Dilbert do? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Dictionary/UpdateCursor&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My first attempt was to read the data with a searchCursor into a dictionary, then write out using an updateCursor.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Better, but a bit complicated and still very slow at 10.0, improved at 10.1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;BR /&gt;FieldMap with a copy&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I have recently discovered that you can do a temporary join and then use TableToTable or FeatureclassToFeatureclass with a &lt;/SPAN&gt;&lt;SPAN style="text-decoration:underline;"&gt;Fieldmap&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This is &lt;/SPAN&gt;&lt;SPAN style="text-decoration:underline;"&gt;really&lt;/SPAN&gt;&lt;SPAN&gt; fast in comparison, but it is even harder than 'cursor and dictionary' to set up a fieldmap in a script.:(&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;My workaround is to run the command interactively, turn off unwanted fields, and then grab the Python snippet from the results window and paste it into a script.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It is then a 'macro' that you can substitute the paths and names with variables. Use triple quotes to imbed quotes more easily.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The disadvantage with the fieldmap method is that you get yet another copy, but that is normal for geoprocessing tools. you just have to delete and rename to cleanup.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2012 06:57:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/joining-data-not-using-the-join-field-tool/m-p/703365#M54453</guid>
      <dc:creator>KimOllivier</dc:creator>
      <dc:date>2012-02-23T06:57:38Z</dc:date>
    </item>
    <item>
      <title>Re: Joining Data; NOT Using the Join Field Tool</title>
      <link>https://community.esri.com/t5/python-questions/joining-data-not-using-the-join-field-tool/m-p/703366#M54454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Be wary of the JoinField tool, it does not scale for large datasets.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm wondering, why is it that the Join Field tool is so slow? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Amy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2012 20:04:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/joining-data-not-using-the-join-field-tool/m-p/703366#M54454</guid>
      <dc:creator>AmySmith3</dc:creator>
      <dc:date>2012-02-24T20:04:16Z</dc:date>
    </item>
  </channel>
</rss>

