<?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: Why would ArcPro create longer Text Field lengths than ArcMap? in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/why-would-arcpro-create-longer-text-field-lengths/m-p/498441#M21868</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't know the whole story here &lt;A href="https://pro.arcgis.com/en/pro-app/help/data/excel/work-with-excel-in-arcgis-pro.htm"&gt;(it isn't mentioned in the docs)&lt;/A&gt;&amp;nbsp;but I do know that (unlike shapefile/.dbf) the file geodatabase isn't actually allocating 2GB of spaces for each record, that&amp;nbsp;field width is a maximum size of the string, not what is stored. If you convert this dataset to shapefile/.dbf, this could be an issue because those formats actually DO&amp;nbsp;write&amp;nbsp;spaces to fill out string fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you load data into the database with the Table to Table or Feature Class To Feature Class tool, you can modify the field map to specify any text field maximum length you want, as long as the data you have fits.&amp;nbsp; If it doesn't fit, you can even truncate it with the field map start and end columns.&amp;nbsp; The field map also gives you full control over field names and numeric data types. For example, you can specify float, Short, or Long, when the default is to bring all&amp;nbsp; Excel numeric data in as Double.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Apr 2019 12:13:00 GMT</pubDate>
    <dc:creator>curtvprice</dc:creator>
    <dc:date>2019-04-03T12:13:00Z</dc:date>
    <item>
      <title>Why would ArcPro create longer Text Field lengths than ArcMap?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/why-would-arcpro-create-longer-text-field-lengths/m-p/498440#M21867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I recently brought in an excel table of schools in ArcPro, and loaded the x/y coordinates to export out a layer to a geodatabase.&amp;nbsp; &amp;nbsp;When I looked at the layer properties of the new data I just created I was shocked to see that ArcPro was creating "monster" text fields of 2,147,483,647 in length.&amp;nbsp; &amp;nbsp;When I exported the exact same excel file in ArcMap the text fields were the generic 225 in length.&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is going to cause some serious issues when I try to start merging older and newer files together.&amp;nbsp; Not to mention space savings in the long run.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a setting I am missing in Pro, or is this another case of it not liking excel?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Apr 2019 12:03:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/why-would-arcpro-create-longer-text-field-lengths/m-p/498440#M21867</guid>
      <dc:creator>CharlieKaufman</dc:creator>
      <dc:date>2019-04-03T12:03:03Z</dc:date>
    </item>
    <item>
      <title>Re: Why would ArcPro create longer Text Field lengths than ArcMap?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/why-would-arcpro-create-longer-text-field-lengths/m-p/498441#M21868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't know the whole story here &lt;A href="https://pro.arcgis.com/en/pro-app/help/data/excel/work-with-excel-in-arcgis-pro.htm"&gt;(it isn't mentioned in the docs)&lt;/A&gt;&amp;nbsp;but I do know that (unlike shapefile/.dbf) the file geodatabase isn't actually allocating 2GB of spaces for each record, that&amp;nbsp;field width is a maximum size of the string, not what is stored. If you convert this dataset to shapefile/.dbf, this could be an issue because those formats actually DO&amp;nbsp;write&amp;nbsp;spaces to fill out string fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you load data into the database with the Table to Table or Feature Class To Feature Class tool, you can modify the field map to specify any text field maximum length you want, as long as the data you have fits.&amp;nbsp; If it doesn't fit, you can even truncate it with the field map start and end columns.&amp;nbsp; The field map also gives you full control over field names and numeric data types. For example, you can specify float, Short, or Long, when the default is to bring all&amp;nbsp; Excel numeric data in as Double.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Apr 2019 12:13:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/why-would-arcpro-create-longer-text-field-lengths/m-p/498441#M21868</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2019-04-03T12:13:00Z</dc:date>
    </item>
    <item>
      <title>Re: Why would ArcPro create longer Text Field lengths than ArcMap?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/why-would-arcpro-create-longer-text-field-lengths/m-p/498442#M21869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try using&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://pro.arcgis.com/en/pro-app/tool-reference/conversion/excel-to-table.htm" title="https://pro.arcgis.com/en/pro-app/tool-reference/conversion/excel-to-table.htm"&gt;Excel To Table—Conversion toolbox | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It wasn't clear whether you just loaded the excel file or used the above tool to attempt a conversion to a geodatabase table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Apr 2019 12:41:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/why-would-arcpro-create-longer-text-field-lengths/m-p/498442#M21869</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2019-04-03T12:41:49Z</dc:date>
    </item>
    <item>
      <title>Re: Why would ArcPro create longer Text Field lengths than ArcMap?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/why-would-arcpro-create-longer-text-field-lengths/m-p/498443#M21870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've been meaning to do this exercise in&amp;nbsp;Pro 2.3&amp;nbsp;to see how this is different from ArcMap so I did a little test.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's my excel table and .csv version:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="excel table" class="image-2 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/441093_excel_table.png" /&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;FIELD1,FIELD2,FIELD3
aaaaaa,01,1
aaaaaa,02,2
aaaaaa,03,3&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See the screenshots below. The&amp;nbsp;top table view is what I see when I view .xlsx and .xls format in Pro, the middle is what happens when I&amp;nbsp;view the .csv, the bottom is&amp;nbsp;a table when I read in the .xls using&amp;nbsp;the Excel to Table tool (reading the .xlsx version of the file). As you can see these three imports use different tools to read the data so we get three different interpretations of the same Excel data file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note my text codes ('01, '02, '03) get numerified in the CSV import but are still text in the excel imports. Not a trivial deal when trying to load in county FIPS codes or USGS site IDs that can have meaningful leading zeros!&amp;nbsp; This is an improvement over ArcMap, even if the field widths are silly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Excel is not a database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="excel file import" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/441092_excel_text_import.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 21:54:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/why-would-arcpro-create-longer-text-field-lengths/m-p/498443#M21870</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2021-12-11T21:54:12Z</dc:date>
    </item>
    <item>
      <title>Re: Why would ArcPro create longer Text Field lengths than ArcMap?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/why-would-arcpro-create-longer-text-field-lengths/m-p/498444#M21871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hmmmm maybe the Canadian versions of excel and Pro work differently &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;P&gt;If I have to work with excel, I always explictly format the columns though&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image" height="395" src="https://community.esri.com/legacyfs/online/441095_excel_format.png" width="736" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Apr 2019 13:47:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/why-would-arcpro-create-longer-text-field-lengths/m-p/498444#M21871</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2019-04-03T13:47:18Z</dc:date>
    </item>
    <item>
      <title>Re: Why would ArcPro create longer Text Field lengths than ArcMap?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/why-would-arcpro-create-longer-text-field-lengths/m-p/498445#M21872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dan, your results for the excel to table tool are exactly the same as mine (Pro 2.3b2 was the exact version). The difference&amp;nbsp;in the screen shots is that yours are from table views opened from a map's TOC, my screenshots are tables opened directly from&amp;nbsp;the catalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I agree formatting the excel&amp;nbsp;sheet can help. But you gotta check! Trust, but verify.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Apr 2019 13:54:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/why-would-arcpro-create-longer-text-field-lengths/m-p/498445#M21872</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2019-04-03T13:54:05Z</dc:date>
    </item>
    <item>
      <title>Re: Why would ArcPro create longer Text Field lengths than ArcMap?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/why-would-arcpro-create-longer-text-field-lengths/m-p/498446#M21873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;even more interesting, is that NumPyArrayToTable handles the conversions even better maintaining the data's field width for string/text data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/blogs/dan_patterson/2018/12/13/excel-arrays-tables-in-arcgis-pro"&gt;/blogs/dan_patterson/2018/12/13/excel-arrays-tables-in-arcgis-pro&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;arr = excel_np("c:/temp/x.xlsx")&lt;/DIV&gt;&lt;DIV&gt;arr&lt;BR /&gt;array([('aaa', '01', 1), ('bbb', '02', 2)],&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dtype=[('field1', '&amp;lt;U4'), ('field2', '&amp;lt;U4'), ('field3', '&amp;lt;i4')])&lt;/DIV&gt;&lt;DIV&gt;import arcpy&lt;/DIV&gt;&lt;DIV&gt;arcpy.da.NumPyArrayToTable(arr, r"C:\...space_less_path\a.gdb\x_arr")&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;IMG alt="" class="image-1 jive-image" height="327" src="https://community.esri.com/legacyfs/online/441096_excel_format01.png" width="639" /&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Apr 2019 14:29:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/why-would-arcpro-create-longer-text-field-lengths/m-p/498446#M21873</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2019-04-03T14:29:26Z</dc:date>
    </item>
    <item>
      <title>Re: Why would ArcPro create longer Text Field lengths than ArcMap?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/why-would-arcpro-create-longer-text-field-lengths/m-p/498447#M21874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Charlie,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Esri Technical Support, we have the following defect report logged:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[BUG-000097684 XLS and XLSX files opened in ArcGIS Pro have extremely large text field lengths.]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The status of the defect is "In Product Plan", meaning the developers intend to fix this issue in a future release of ArcGIS Pro.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to track (or have a case attached) to this defect, please contact Esri Technical Support -&amp;nbsp;&lt;A href="https://support.esri.com/en/contact-tech-support"&gt;https://support.esri.com/en/contact-tech-support&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Scott&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Apr 2019 15:38:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/why-would-arcpro-create-longer-text-field-lengths/m-p/498447#M21874</guid>
      <dc:creator>Scott_Harris</dc:creator>
      <dc:date>2019-04-03T15:38:37Z</dc:date>
    </item>
    <item>
      <title>Re: Why would ArcPro create longer Text Field lengths than ArcMap?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/why-would-arcpro-create-longer-text-field-lengths/m-p/498448#M21875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Scott.&amp;nbsp; &amp;nbsp;I will go about seeing if I can add my case to this defect.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Charlie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Apr 2019 17:59:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/why-would-arcpro-create-longer-text-field-lengths/m-p/498448#M21875</guid>
      <dc:creator>CharlieKaufman</dc:creator>
      <dc:date>2019-04-03T17:59:37Z</dc:date>
    </item>
  </channel>
</rss>

