1v.out.lidar(1) Grass User's Manual v.out.lidar(1)
2
3
4
6 v.out.lidar - Exports vector points as LAS point cloud
7 Converts LAS LiDAR point clouds to a GRASS vector map with libLAS
8
10 vector, export, LIDAR, points
11
13 v.out.lidar
14 v.out.lidar --help
15 v.out.lidar [-rw] input=name [layer=string] output=name [cats=range]
16 [where=sql_query] [id_layer=string] [return_layer=string]
17 [class_layer=string] [rgb_layer=string] [return_column=name]
18 [n_returns_column=name] [class_column=name] [rgb_column=name]
19 [red_column=name] [green_column=name] [blue_column=name]
20 las_xyscale=float las_zscale=float [--overwrite] [--help] [--ver‐
21 bose] [--quiet] [--ui]
22
23 Flags:
24 -r
25 Limit export to the current region
26
27 -w
28 Ignore color table
29 Ignore color table even when set and not other options are present
30
31 --overwrite
32 Allow output files to overwrite existing files
33
34 --help
35 Print usage summary
36
37 --verbose
38 Verbose module output
39
40 --quiet
41 Quiet module output
42
43 --ui
44 Force launching GUI dialog
45
46 Parameters:
47 input=name [required]
48 Name of input vector map
49 Or data source for direct OGR access
50
51 layer=string
52 Layer number or name (’-1’ for all layers)
53 A single vector map can be connected to multiple database tables.
54 This number determines which table to use. When used with direct
55 OGR access this is the layer name.
56 Default: -1
57
58 output=name [required]
59 Name for output file
60
61 cats=range
62 Category values
63 Example: 1,3,7-9,13
64
65 where=sql_query
66 WHERE conditions of SQL statement without ’where’ keyword
67 Example: income < 1000 and population >= 10000
68
69 id_layer=string
70 Layer number to store generated point ID as category
71 Vector features can have category values in different layers. This
72 number determines which layer to use. When used with direct OGR
73 access this is the layer name.
74
75 return_layer=string
76 Layer number to store return number as category
77 Vector features can have category values in different layers. This
78 number determines which layer to use. When used with direct OGR
79 access this is the layer name.
80
81 class_layer=string
82 Layer number to store class number as category
83 Vector features can have category values in different layers. This
84 number determines which layer to use. When used with direct OGR
85 access this is the layer name.
86
87 rgb_layer=string
88 Layer number where RGB color is stored as category
89 Vector features can have category values in different layers. This
90 number determines which layer to use. When used with direct OGR
91 access this is the layer name.
92
93 return_column=name
94 Column with return number
95 Name of attribute column
96
97 n_returns_column=name
98 Column with return number
99 Name of attribute column
100
101 class_column=name
102 Column with return number
103 Name of attribute column
104
105 rgb_column=name
106 RGB color definition column
107 Color definition in R:G:B form
108
109 red_column=name
110 Column with red color
111 Name of attribute column
112
113 green_column=name
114 Column with green color
115 Name of attribute column
116
117 blue_column=name
118 Column with blue color
119 Name of attribute column
120
121 las_xyscale=float [required]
122 Internal scale to apply to X and Y values
123 This scale does not change the values itself but only how precisely
124 they are stored, for example 0.01 will preserve two decimal places
125 Default: 0.01
126
127 las_zscale=float [required]
128 Internal scale to apply to z values
129 This scale does not change the values itself but only how precisely
130 they are stored, for example 0.01 will preserve two decimal places
131 Default: 0.01
132
134 v.out.lidar converts GRASS vector map to a LiDAR point clouds in LAS
135 format using the libLAS library.
136
137 The -r flag limits the export to the current computational region
138 extent (see g.region). The where option limits the export by
139 attributes (applied only when the columns are used for export).
140
141 LAS format stores the coordinates as integers rounding the decimal
142 places. Before that a scale is applied to preserve a certain number of
143 decimal places. This scale can be set using las_xyscale and las_xscale
144 options. For example, the scale value 0.01 will preserve two decimal
145 places while the value 1.0 will preserve none.
146
148 The typical file extensions for the LAS format are .las and .laz (com‐
149 pressed). The compressed LAS (.laz) format can be exported only if
150 libLAS has been compiled with LASzip support. It is also good when
151 libLAS was compiled with GDAL. This is needed when working with projec‐
152 tions.
153
155 Generate fractal surface and export is as point in LAS format:
156 g.region raster=elevation res=100
157 r.surf.fractal output=fractals
158 r.to.vect input=fractals output=fractals type=point -z
159 v.out.lidar input=fractals output=fractals.las
160
162 ASPRS LAS format
163 LAS library
164
166 Vaclav Petras
167
168 Last changed: $Date: 2015-12-22 02:31:02 +0100 (Tue, 22 Dec 2015) $
169
171 Available at: v.out.lidar source code (history)
172
173 Main index | Vector index | Topics index | Keywords index | Graphical
174 index | Full index
175
176 © 2003-2019 GRASS Development Team, GRASS GIS 7.4.4 Reference Manual
177
178
179
180GRASS 7.4.4 v.out.lidar(1)