~ubuntu-branches/ubuntu/trusty/liblas/trusty-proposed

« back to all changes in this revision

Viewing changes to doc/utilities/txt2las.txt

  • Committer: Package Import Robot
  • Author(s): Francesco Paolo Lovergine
  • Date: 2014-01-05 17:00:29 UTC
  • mfrom: (7.1.2 sid)
  • Revision ID: package-import@ubuntu.com-20140105170029-ddtp0j63x5jvck2u
Tags: 1.7.0+dfsg-2
Fixed missing linking of system boost component.
(closes: #733282)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
.. raw:: pdf
 
2
 
 
3
    PageBreak
 
4
    
 
5
.. _txt2las:
 
6
    
 
7
****************************************************************
 
8
  txt2las
 
9
****************************************************************
 
10
 
 
11
:Author: Martin Isenburg
 
12
:Contact: isenburg@cs.unc.edu
 
13
 
 
14
    
 
15
txt2las converts LIDAR data from a standard ASCII format into the more 
 
16
efficient binary LAS representation.
 
17
 
 
18
Usage
 
19
-----
 
20
 
 
21
::
 
22
 
 
23
  $ txt2las -i lidar.taxyz -o lidar.las -parse ssxyz
 
24
 
 
25
converts ASCII file and uses the 3rd, 4th, and 5th entry of each
 
26
line as the x, y, and z coordinate of each point.
 
27
 
 
28
::
 
29
 
 
30
  $ txt2las -i lidar.txt.gz -o lidar.las -parse txyzsa
 
31
 
 
32
converts a gzipped ASCII file and uses the 1st entry of each line
 
33
as the gps time, the 3rd, 4th, and 5th entry as the x, y, and z
 
34
coordinate of each point, and the 6th entry as the scan angle
 
35
 
 
36
Help
 
37
~~~~
 
38
 
 
39
::
 
40
 
 
41
    C:\lastools\bin>txt2las -h
 
42
    usage:
 
43
    txt2las -parse tsxyz lidar.txt
 
44
    txt2las -parse txyzar lidar.txt.gz lidar.laz
 
45
    txt2las -parse xyz -scale 0.02 -i lidar.txt -o lidar.laz
 
46
    txt2las -parse xyzsst -verbose -scale 0.05 lidar.txt
 
47
    txt2las -parse xsysz -xyz_scale 0.02 0.02 0.01 lidar.txt
 
48
    txt2las -h
 
49
 
 
50
Parsing Flags
 
51
-------------
 
52
 
 
53
The '-parse tsxyz' flag specifies how to interpret each line of the ASCII 
 
54
file. For example, 'tsxyzssa' means that the first number is the gpstime, 
 
55
the next number should be skipped, the next three numbers are the x, y, 
 
56
and z coordinate, the next two should be skipped, and the next number 
 
57
is the scan angle.
 
58
 
 
59
The other supported entries are:
 
60
  * i - intensity
 
61
  * n - number of returns of given pulse
 
62
  * r - number of return
 
63
  * c - classification
 
64
  * u - user data
 
65
  * p - point source ID
 
66
  * e - edge of flight line flag
 
67
  * d - direction of scan flag.
 
68
 
 
69
Scale
 
70
-----
 
71
 
 
72
The '-scale 0.02' flag specifies the quantization. The default value of 
 
73
0.01 means that the smallest increment two between coordinates is 0.01. 
 
74
If measurements are in meters this corresponds to centimeter accuracy, 
 
75
which is commonly considered sufficient for LIDAR data.
 
76
 
 
77
Other parameters
 
78
----------------
 
79
 
 
80
Other parameters such as '-xyz_offset 500000 2000000 0' 
 
81
or '-xyz_scale 0.02 0.02 0.01' or '-file_creation 67 2003'
 
82
or '-system_identifier "Airborne One Leica 50,000 Hz"'
 
83
or '-generating_software "TerraScan"' are available too.