<?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 Table to Table Tool Problem in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/table-to-table-tool-problem/m-p/729440#M24076</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are better and better &lt;SPAN style="color: #3366ff;"&gt;unix&lt;/SPAN&gt; tools around these days for handling &lt;SPAN style="color: #3366ff;"&gt;.csv&lt;/SPAN&gt; files. Our company does much non-interactive processing using such.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have a small problem using this tool in the the standard ESRI supplied toolbox:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #3366ff;"&gt;Conversion Tools =&amp;gt; To Geodatabase =&amp;gt; Table to Table&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This tool admits (among other things) using an input &lt;SPAN style="color: #3366ff;"&gt;feature class&lt;/SPAN&gt; to create a &lt;SPAN style="color: #3366ff;"&gt;.csv&lt;/SPAN&gt; in a specified location.&lt;BR /&gt;The problem with it is that the &lt;SPAN style="color: #3366ff;"&gt;.csv&lt;/SPAN&gt; created &lt;STRONG&gt;sometimes&lt;/STRONG&gt; does not have a terminator on the last line. All the other lines in the file are terminated with a line feed (&lt;SPAN style="color: #800080;"&gt;hex 0a&lt;/SPAN&gt;), but that is missing on the last line. I consider this to be a bug. I don't know why the last newline is missing sometimes and not other times.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, it is a small point. But it causes us, at minimum, confusion. For example the unix &lt;SPAN style="color: #3366ff;"&gt;wc&lt;/SPAN&gt; utility (at least the &lt;SPAN style="color: #3366ff;"&gt;cygwin&lt;/SPAN&gt; version) reports that the output &lt;SPAN style="color: #3366ff;"&gt;.csv&lt;/SPAN&gt; has one fewer line (and hence record count) than it really does. Things like that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BTW: I was surprised that the tool creates lines separated by line-feeds -- being windows I expected &lt;SPAN style="color: #3366ff;"&gt;carriage-return&lt;/SPAN&gt;, &lt;SPAN style="color: #3366ff;"&gt;line-feed&lt;/SPAN&gt; (&lt;SPAN style="color: #800080;"&gt;hex 0d 0a&lt;/SPAN&gt;) or even just &lt;SPAN style="color: #3366ff;"&gt;carriage return&lt;/SPAN&gt;. I am happy about that, but was not expecting it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Jan 2020 18:36:15 GMT</pubDate>
    <dc:creator>RobertStevens</dc:creator>
    <dc:date>2020-01-29T18:36:15Z</dc:date>
    <item>
      <title>Table to Table Tool Problem</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/table-to-table-tool-problem/m-p/729440#M24076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are better and better &lt;SPAN style="color: #3366ff;"&gt;unix&lt;/SPAN&gt; tools around these days for handling &lt;SPAN style="color: #3366ff;"&gt;.csv&lt;/SPAN&gt; files. Our company does much non-interactive processing using such.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have a small problem using this tool in the the standard ESRI supplied toolbox:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #3366ff;"&gt;Conversion Tools =&amp;gt; To Geodatabase =&amp;gt; Table to Table&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This tool admits (among other things) using an input &lt;SPAN style="color: #3366ff;"&gt;feature class&lt;/SPAN&gt; to create a &lt;SPAN style="color: #3366ff;"&gt;.csv&lt;/SPAN&gt; in a specified location.&lt;BR /&gt;The problem with it is that the &lt;SPAN style="color: #3366ff;"&gt;.csv&lt;/SPAN&gt; created &lt;STRONG&gt;sometimes&lt;/STRONG&gt; does not have a terminator on the last line. All the other lines in the file are terminated with a line feed (&lt;SPAN style="color: #800080;"&gt;hex 0a&lt;/SPAN&gt;), but that is missing on the last line. I consider this to be a bug. I don't know why the last newline is missing sometimes and not other times.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, it is a small point. But it causes us, at minimum, confusion. For example the unix &lt;SPAN style="color: #3366ff;"&gt;wc&lt;/SPAN&gt; utility (at least the &lt;SPAN style="color: #3366ff;"&gt;cygwin&lt;/SPAN&gt; version) reports that the output &lt;SPAN style="color: #3366ff;"&gt;.csv&lt;/SPAN&gt; has one fewer line (and hence record count) than it really does. Things like that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BTW: I was surprised that the tool creates lines separated by line-feeds -- being windows I expected &lt;SPAN style="color: #3366ff;"&gt;carriage-return&lt;/SPAN&gt;, &lt;SPAN style="color: #3366ff;"&gt;line-feed&lt;/SPAN&gt; (&lt;SPAN style="color: #800080;"&gt;hex 0d 0a&lt;/SPAN&gt;) or even just &lt;SPAN style="color: #3366ff;"&gt;carriage return&lt;/SPAN&gt;. I am happy about that, but was not expecting it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jan 2020 18:36:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/table-to-table-tool-problem/m-p/729440#M24076</guid>
      <dc:creator>RobertStevens</dc:creator>
      <dc:date>2020-01-29T18:36:15Z</dc:date>
    </item>
  </channel>
</rss>

