<?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: How to delete spaces in Header of .csv? in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/how-to-delete-spaces-in-header-of-csv/m-p/609128#M20230</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Apr 2015 22:44:12 GMT</pubDate>
    <dc:creator>KimOllivier</dc:creator>
    <dc:date>2015-04-22T22:44:12Z</dc:date>
    <item>
      <title>How to delete spaces in Header of .csv?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/how-to-delete-spaces-in-header-of-csv/m-p/609124#M20226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am using model builder and want to import and join two comma deliniated tables.&amp;nbsp; The tables have spaces in the header (i.e. " Drawing Name") that muck up arcmap.&amp;nbsp; Is there any way in modelbuilder to correct the header before I attempt to import the table?&amp;nbsp; I'm a very basic user of python and I'm sure there is a scripting way to do it, but would prefer if at all possible to stick with modelbuilder.&amp;nbsp; Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;**accidentally cross-posted in Data Models forum**&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 May 2011 06:37:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/how-to-delete-spaces-in-header-of-csv/m-p/609124#M20226</guid>
      <dc:creator>CelinaThom</dc:creator>
      <dc:date>2011-05-31T06:37:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to delete spaces in Header of .csv?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/how-to-delete-spaces-in-header-of-csv/m-p/609125#M20227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The "Text loader", part of Microsoft libraries needs a Schema.ini to properly define the field names and types. ArcGIS uses it. If schema.ini does not exist it defaults to using the header fields which will then fail if they are not valid field names.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;With a schema.ini you can rename the fields on import and also define the field type.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The schema.ini is a recent discovery for me, and has saved me hours of work creating custom scripts.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It is mentioned in the ArcGIS help, but do a Google search for more details from Microsoft.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://msdn.microsoft.com/en-us/library/ms709353%28v=vs.85%29.aspx"&gt;http://msdn.microsoft.com/en-us/library/ms709353%28v=vs.85%29.aspx&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jun 2011 03:16:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/how-to-delete-spaces-in-header-of-csv/m-p/609125#M20227</guid>
      <dc:creator>KimOllivier</dc:creator>
      <dc:date>2011-06-03T03:16:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to delete spaces in Header of .csv?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/how-to-delete-spaces-in-header-of-csv/m-p/609126#M20228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Kimo:&amp;nbsp; AWESOME AWESOME AWESOME!&amp;nbsp; What a great tip that solves so many more problems than just the one I mentioned...!!!!!!!!&amp;nbsp; Thanks so much for your answer!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jun 2011 04:39:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/how-to-delete-spaces-in-header-of-csv/m-p/609126#M20228</guid>
      <dc:creator>CelinaThom</dc:creator>
      <dc:date>2011-06-06T04:39:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to delete spaces in Header of .csv?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/how-to-delete-spaces-in-header-of-csv/m-p/609127#M20229</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;There are a few incarnations of tools that handle a schema.ini file, here is one for Pro:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.arcgis.com/home/item.html?id=d887241f6908466a984c94631fd1974f" title="http://www.arcgis.com/home/item.html?id=d887241f6908466a984c94631fd1974f"&gt;http://www.arcgis.com/home/item.html?id=d887241f6908466a984c94631fd1974f&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Apr 2015 18:00:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/how-to-delete-spaces-in-header-of-csv/m-p/609127#M20229</guid>
      <dc:creator>BruceHarold</dc:creator>
      <dc:date>2015-04-22T18:00:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to delete spaces in Header of .csv?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/how-to-delete-spaces-in-header-of-csv/m-p/609128#M20230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Apr 2015 22:44:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/how-to-delete-spaces-in-header-of-csv/m-p/609128#M20230</guid>
      <dc:creator>KimOllivier</dc:creator>
      <dc:date>2015-04-22T22:44:12Z</dc:date>
    </item>
  </channel>
</rss>

