Changes between Initial Version and Version 1 of FAQ/las2ascii


Ignore:
Timestamp:
Nov 26, 2015 3:11:31 PM (5 years ago)
Author:
dac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • FAQ/las2ascii

    v1 v1  
     1=== Q: How do I convert between LAS and ASCII file formats? ===
     2
     3To convert between LAS and ASCII formats use the free `las2txt` and `txt2las` available as part of LAStools available to download from: https://github.com/LAStools/LAStools (note: download also contains paid for tools not required for conversion). Binaries are provided for Windows. For Linux and OS X you need to compile using the included 'Makefile'
     4
     5==== LAS to ASCII ====
     6
     7To export as 9 column ASCII files, as delivered by ARSF between 2011 and 2015 use the following command:
     8
     9{{{
     10las2txt -parse txyzicrna -sep space -i in_las.las -o out_ascii.txt
     11}}}
     12
     13If you need to export in the 8 column format used by ARSF between 2009 and 2010 use the following command instead:
     14
     15{{{
     16las2txt -parse txyzicrna -sep space -i in_las.las -o out_ascii.txt
     17}}}
     18
     19For more details on available options see the [https://github.com/LAStools/LAStools/blob/master/bin/las2txt_README.txt las2txt README]
     20
     21==== ASCII to LAS ====
     22
     23To convert the 9 column ASCII files as delivered by ARSF between 2011 and 2015 to LAS format use the following command:
     24
     25{{{
     26txt2las -iparse txyzicrna -i in_ascii.txt -o out_las.las
     27}}}
     28
     29To convert the 8 column format used by ARSF between 2009 and 2010 use the following command instead:
     30
     31{{{
     32txt2las -iparse txyzicra -i in_ascii.txt -o out_las.las
     33}}}
     34
     35To reduce the file size you can change the extension of the output file to '.laz' to save as LASzip files. These can be read by a number of packages and easily converted back to uncompressed LAS files using [https://github.com/LAStools/LAStools/blob/master/bin/laszip_README.txt laszip].
     36
     37If you are accessing ARSF archive data LAStools are available on [http://jasmin.ac.uk/ JASMIN] and can be loaded using:
     38
     39{{{
     40module load contrib/arsf/lastools/20150925
     41}}}
     42
     43Allowing data to be converted to LAS/LAZ format before downloading.
     44
     45[wiki:FAQ Back to FAQ]