<?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: ASCII header - how do you create? in 3D Questions</title>
    <link>https://community.esri.com/t5/3d-questions/ascii-header-how-do-you-create/m-p/172434#M1094</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Elanor,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For this size of data it's better to use LAS files. In order to be able to use LAS files in ArcGIS your text files should be translated to LAS. This can be done using the &lt;/SPAN&gt;&lt;A href="http://www.cs.unc.edu/~isenburg/lastools/download/"&gt;LAStools &lt;/A&gt;&lt;SPAN&gt;tool called "txt2las.exe". Many parts of LAStools are now available under &lt;/SPAN&gt;&lt;A href="http://www.cs.unc.edu/~isenburg/lastools/download/LICENSE.txt"&gt;LGPL license&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The command that translates your input text file to a output las file would be:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family:courier new;"&gt;txt2las -i input.txt -parse xyz skip 1 -o output.las -set_version 1.2&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The skip 1 refers to skipping the first line for being a header. If your text file doesn't have a header just omit the "skip 1" in the command. (&lt;/SPAN&gt;&lt;A href="http://www.cs.unc.edu/~isenburg/lastools/download/txt2las_README.txt"&gt;txt2las readme file&lt;/A&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After creating the LAS file(s), you can "&lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#//00170000016w000000"&gt;Create a LAS dataset (Data Management)&lt;/A&gt;&lt;SPAN&gt;". Once you have a LAS dataset you can use "&lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#//001200000052000000"&gt;LAS Dataset To Raster (Conversion)&lt;/A&gt;&lt;SPAN&gt;" to convert your XYZ points to raster.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Some more reading:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#//015w0000004q000000"&gt;Creating raster DEMs and DSMs from large lidar point collections&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;More on LAStools:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://rapidlasso.com/"&gt;http://rapidlasso.com/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kind regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Xander&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Nov 2013 11:35:36 GMT</pubDate>
    <dc:creator>XanderBakker</dc:creator>
    <dc:date>2013-11-04T11:35:36Z</dc:date>
    <item>
      <title>ASCII header - how do you create?</title>
      <link>https://community.esri.com/t5/3d-questions/ascii-header-how-do-you-create/m-p/172433#M1093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have some very large xyz files (ASCII) which are space separated.&amp;nbsp; I wish to put these into rasters to view with other data I have.&amp;nbsp; My ASCII files do not have headers (which I believe I may need, so please can someone tell me how to generate them from the file).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For my smaller files I got round this using the following process, but now my files are too large (&amp;gt;5GB) to do this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Copy file (and change name as per table below).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Change format to .asc&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Find and replace space with comma.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ensure schema.ini has file as CSV and no header fields (if file doesn�??t exist then add)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ArcCatalog: Create feature class from XY table&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Choose World, WGS_1984 as coordinate system&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Feature to Raster (from Toolbox)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please can someone help, I am fairly new to Arc, so am unaware of all the options - perhaps there is something in Python that can help.&amp;nbsp; I have seen the scripts available &lt;/SPAN&gt;&lt;A href="http://arcscripts.esri.com/details.asp?dbid=14268"&gt;http://arcscripts.esri.com/details.asp?dbid=14268&lt;/A&gt;&lt;SPAN&gt; but am unaware how I can use these without the headers in my ASCII files, and also once I have the data in shape file format I still have the problem of trying to convert into raster - as I have tried (using the above method) and my computer ran for 2 days and lost connection with it's licence.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Elanor.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Oct 2013 11:14:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/3d-questions/ascii-header-how-do-you-create/m-p/172433#M1093</guid>
      <dc:creator>ElanorGowland</dc:creator>
      <dc:date>2013-10-24T11:14:15Z</dc:date>
    </item>
    <item>
      <title>Re: ASCII header - how do you create?</title>
      <link>https://community.esri.com/t5/3d-questions/ascii-header-how-do-you-create/m-p/172434#M1094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Elanor,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For this size of data it's better to use LAS files. In order to be able to use LAS files in ArcGIS your text files should be translated to LAS. This can be done using the &lt;/SPAN&gt;&lt;A href="http://www.cs.unc.edu/~isenburg/lastools/download/"&gt;LAStools &lt;/A&gt;&lt;SPAN&gt;tool called "txt2las.exe". Many parts of LAStools are now available under &lt;/SPAN&gt;&lt;A href="http://www.cs.unc.edu/~isenburg/lastools/download/LICENSE.txt"&gt;LGPL license&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The command that translates your input text file to a output las file would be:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family:courier new;"&gt;txt2las -i input.txt -parse xyz skip 1 -o output.las -set_version 1.2&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The skip 1 refers to skipping the first line for being a header. If your text file doesn't have a header just omit the "skip 1" in the command. (&lt;/SPAN&gt;&lt;A href="http://www.cs.unc.edu/~isenburg/lastools/download/txt2las_README.txt"&gt;txt2las readme file&lt;/A&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After creating the LAS file(s), you can "&lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#//00170000016w000000"&gt;Create a LAS dataset (Data Management)&lt;/A&gt;&lt;SPAN&gt;". Once you have a LAS dataset you can use "&lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#//001200000052000000"&gt;LAS Dataset To Raster (Conversion)&lt;/A&gt;&lt;SPAN&gt;" to convert your XYZ points to raster.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Some more reading:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#//015w0000004q000000"&gt;Creating raster DEMs and DSMs from large lidar point collections&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;More on LAStools:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://rapidlasso.com/"&gt;http://rapidlasso.com/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kind regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Xander&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Nov 2013 11:35:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/3d-questions/ascii-header-how-do-you-create/m-p/172434#M1094</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2013-11-04T11:35:36Z</dc:date>
    </item>
  </channel>
</rss>

