<?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: Merge datasets with unequal field lengths in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/merge-datasets-with-unequal-field-lengths/m-p/557997#M31632</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/343160"&gt;Alice Elliott&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Two suggestions:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Did you try the &lt;STRONG&gt;Append&lt;/STRONG&gt; geoprocessing tool? You could take the shapefile where the &lt;SPAN style="color: #595959; background-color: #ffffff; font-weight: 300;"&gt;TXPYRS_NAME field has the greatest length (i.e. 35) as the Target Dataset and the other shapefiles as Input Datasets. In this way you will avoid the chance that a tax payers name will be too long for the destination field. Not sure if it will work, but you can give it a try...&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: #595959; background-color: #ffffff; font-weight: 300;"&gt;Workaround to increase the field length:&lt;/SPAN&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="color: #595959; background-color: #ffffff; font-weight: 300;"&gt;Rename the original field (form TXPYRS_NAME to e.g. TXPYRS_NAME_BCK)&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: #595959; background-color: #ffffff; font-weight: 300;"&gt;Create a new field TXPYRS_NAME with the proper field length&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: #595959; background-color: #ffffff; font-weight: 300;"&gt;Use Field Calculator to populate TXPYRS_NAME with value from TXPYRS_NAME_BCK&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: #595959; background-color: #ffffff; font-weight: 300;"&gt;Drop field TXPYRS_NAME_BCK&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: #595959; background-color: #ffffff; font-weight: 300;"&gt;et voila... your done &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #595959; background-color: #ffffff; font-weight: 300;"&gt;Hope either of these will solve your issue.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #595959; background-color: #ffffff; font-weight: 300;"&gt;Egge-Jan&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 May 2019 15:43:29 GMT</pubDate>
    <dc:creator>Egge-Jan_Pollé</dc:creator>
    <dc:date>2019-05-28T15:43:29Z</dc:date>
    <item>
      <title>Merge datasets with unequal field lengths</title>
      <link>https://community.esri.com/t5/data-management-questions/merge-datasets-with-unequal-field-lengths/m-p/557996#M31631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have several shapefiles that I want to merge together into one shapefile so I don't have to keep juggling them all.&lt;/P&gt;&lt;P&gt;However, I can't use the Merge geoprocessing tool because it gives me a "&lt;SPAN style="color: #595959; background-color: #ffffff; font-weight: 300;"&gt;001156: Failed on input OID; could not write&amp;nbsp;value to output field TXPYRS_NAME" error. This seems to be because each shapefile has a different length for TXPYRS_NAME.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #595959; background-color: #ffffff; font-weight: 300;"&gt;But when I go into ArcCatalog and try to change the field length in the Shapefile Properties window from 15 to 35 to match the other shapefiles, it says "Unable to alter field's length".&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #595959; background-color: #ffffff; font-weight: 300;"&gt;&lt;A _jive_internal="true" href="https://community.esri.com/thread/144892"&gt;Another GeoNet user says&lt;/A&gt; it's impossible to change the field length for a feature class that already contains data. So how am I supposed to merge these files if the field lengths are different and unchangeable...?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 May 2019 14:33:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/merge-datasets-with-unequal-field-lengths/m-p/557996#M31631</guid>
      <dc:creator>AliceElliott</dc:creator>
      <dc:date>2019-05-28T14:33:21Z</dc:date>
    </item>
    <item>
      <title>Re: Merge datasets with unequal field lengths</title>
      <link>https://community.esri.com/t5/data-management-questions/merge-datasets-with-unequal-field-lengths/m-p/557997#M31632</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/343160"&gt;Alice Elliott&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Two suggestions:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Did you try the &lt;STRONG&gt;Append&lt;/STRONG&gt; geoprocessing tool? You could take the shapefile where the &lt;SPAN style="color: #595959; background-color: #ffffff; font-weight: 300;"&gt;TXPYRS_NAME field has the greatest length (i.e. 35) as the Target Dataset and the other shapefiles as Input Datasets. In this way you will avoid the chance that a tax payers name will be too long for the destination field. Not sure if it will work, but you can give it a try...&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: #595959; background-color: #ffffff; font-weight: 300;"&gt;Workaround to increase the field length:&lt;/SPAN&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="color: #595959; background-color: #ffffff; font-weight: 300;"&gt;Rename the original field (form TXPYRS_NAME to e.g. TXPYRS_NAME_BCK)&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: #595959; background-color: #ffffff; font-weight: 300;"&gt;Create a new field TXPYRS_NAME with the proper field length&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: #595959; background-color: #ffffff; font-weight: 300;"&gt;Use Field Calculator to populate TXPYRS_NAME with value from TXPYRS_NAME_BCK&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: #595959; background-color: #ffffff; font-weight: 300;"&gt;Drop field TXPYRS_NAME_BCK&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: #595959; background-color: #ffffff; font-weight: 300;"&gt;et voila... your done &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #595959; background-color: #ffffff; font-weight: 300;"&gt;Hope either of these will solve your issue.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #595959; background-color: #ffffff; font-weight: 300;"&gt;Egge-Jan&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 May 2019 15:43:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/merge-datasets-with-unequal-field-lengths/m-p/557997#M31632</guid>
      <dc:creator>Egge-Jan_Pollé</dc:creator>
      <dc:date>2019-05-28T15:43:29Z</dc:date>
    </item>
  </channel>
</rss>

