1v.in.pdal(1) GRASS GIS User's Manual v.in.pdal(1)
2
3
4
6 v.in.pdal - Converts LAS LiDAR point clouds to a GRASS vector map with
7 PDAL.
8
10 vector, import, LIDAR
11
13 v.in.pdal
14 v.in.pdal --help
15 v.in.pdal [-wocrjkhm] input=name output=name [id_layer=string]
16 [return_layer=string] [class_layer=string] [rgb_layer=string]
17 [spatial=xmin,ymin,xmax,ymax] [zrange=min,max] [return_fil‐
18 ter=string] [class_filter=integer[,integer,...]] [input_srs=string]
19 [max_ground_window_size=float] [ground_slope=float]
20 [max_ground_distance=float] [initial_ground_distance=float]
21 [ground_cell_size=float] [--overwrite] [--help] [--verbose]
22 [--quiet] [--ui]
23
24 Flags:
25 -w
26 Reproject to location’s coordinate system if needed
27 Reprojects input dataset to the coordinate system of the GRASS
28 location (by default only datasets with the matching cordinate sys‐
29 tem can be imported
30
31 -o
32 Override projection check (use current location’s projection)
33 Assume that the dataset has same projection as the current location
34
35 -c
36 Do not automatically add unique ID as category to each point
37 Create only requested layers and categories
38
39 -r
40 Limit import to the current region
41
42 -j
43 Classify and extract ground points
44 This assignes class 2 to the groud points
45
46 -k
47 Classify ground points
48
49 -h
50 Compute height for points as a difference from ground
51 This requires points to have class 2
52
53 -m
54 Use approximate algorithm in ground filter
55
56 --overwrite
57 Allow output files to overwrite existing files
58
59 --help
60 Print usage summary
61
62 --verbose
63 Verbose module output
64
65 --quiet
66 Quiet module output
67
68 --ui
69 Force launching GUI dialog
70
71 Parameters:
72 input=name [required]
73 LAS input file
74 LiDAR input files in LAS format (*.las or *.laz)
75
76 output=name [required]
77 Name for output vector map
78
79 id_layer=string
80 Layer number to store generated point ID as category
81 Set to 1 by default, use -c to not store it
82
83 return_layer=string
84 Layer number to store return information as category
85 Leave empty to not store it
86
87 class_layer=string
88 Layer number to store class number as category
89 Leave empty to not store it
90
91 rgb_layer=string
92 Layer number where RBG colors are stored as category
93 Leave empty to not store it
94
95 spatial=xmin,ymin,xmax,ymax
96 Import subregion only
97 Format: xmin,ymin,xmax,ymax - usually W,S,E,N
98
99 zrange=min,max
100 Filter range for z data (min,max)
101
102 return_filter=string
103 Only import points of selected return type
104 If not specified, all points are imported
105 Options: first, last, mid
106
107 class_filter=integer[,integer,...]
108 Only import points of selected class(es)
109 Input is comma separated integers. If not specified, all points are
110 imported.
111
112 input_srs=string
113 Input dataset projection (WKT or EPSG, e.g. EPSG:4326)
114 Override input dataset coordinate system using EPSG code or WKT
115 definition
116
117 max_ground_window_size=float
118 Maximum window size for ground filter
119 Default: 33
120
121 ground_slope=float
122 Slope for ground filter
123 Default: 1.0
124
125 max_ground_distance=float
126 Maximum distance for ground filter
127 Default: 2.5
128
129 initial_ground_distance=float
130 Initial distance for ground filter
131 Default: 0.15
132
133 ground_cell_size=float
134 Initial distance for ground filter
135 Default: 1
136
138 v.in.pdal supports the following PDAL filters:
139
140 · groud detection with Point Cloud Library (PCL) Progressive Mor‐
141 phological Filter (Zhang 2003) (filters.ground)
142
143 · filters.height (requires PCL)
144 v.in.pdal supports the following filters natively:
145
146 · 2D region filter
147
148 · Z coordinates filter
149
150 · return filter
151
152 · class filter
153
155 Import only XYZ coordinates of points, limit the import to the current
156 computational region and reproject to the Location projection during
157 the import:
158 v.in.pdal input=points.las output=points -c -r -w
159
161 r.in.lidar, r3.in.lidar, g.region, v.vect.stats v.in.ogr,
162
164 · V. Petras, A. Petrasova, J. Jeziorska, H. Mitasova (2016): Pro‐
165 cessing UAV and lidar point clouds in GRASS GIS. XXIII ISPRS
166 Congress 2016 [ISPRS Archives, ResearchGate]
167
168 · Zhang, Keqi, et al. A progressive morphological filter for
169 removing nonground measurements from airborne LIDAR data. Geo‐
170 science and Remote Sensing, IEEE Transactions on 41.4 (2003):
171 872-882.
172
174 Vaclav Petras, NCSU GeoForAll Lab
175
177 Available at: v.in.pdal source code (history)
178
179 Main index | Vector index | Topics index | Keywords index | Graphical
180 index | Full index
181
182 © 2003-2020 GRASS Development Team, GRASS GIS 7.8.5 Reference Manual
183
184
185
186GRASS 7.8.5 v.in.pdal(1)