v.in.pdal(1)
π v.in.pdal β the GRASS GIS User's Manual glow-up β¨
okay bestie, so this is v.in.pdal from the GRASS GIS User's Manual and it's literally the module that takes your LAS LiDAR point clouds and turns them into a GRASS vector map with PDAL. no cap. π¦
KEYWORDS: vector, import, LIDAR π
πΈ SYNOPSIS πΈ
v.in.pdal
v.in.pdal --help
v.in.pdal [-wocr] input=name output=name [id_layer=string]
[return_layer=string] [class_layer=string] [rgb_layer=string]
[spatial=xmin,ymin,xmax,ymax] [zrange=min,max]
[return_filter=string] [class_filter=integer[,integer,...]]
[input_srs=string] [--overwrite] [--help] [--verbose] [--quiet]
[--ui]
π Flags π
-wβ Reproject to projects's coordinate system if needed. like, it reprojects your input dataset into the coordinate system of the GRASS project. and btw, by default only datasets with the matching coordinate system can even be imported, so this is the "make it work anyway" flag π-oβ Override projection check (use current project's CRS). it just assumes the dataset has the same coordinate reference system as the current project. bold of you but okay π«Ά-cβ Do not automatically add unique ID as category to each point. it creates only the requested layers and categories, no extras.-rβ Limit import to the current region. yes bestie, the region you set withg.regionπ―--overwriteβ Allow output files to overwrite existing files. dangerous girlboss behavior, be careful π--helpβ Print usage summary--verboseβ Verbose module output--quietβ Quiet module output--uiβ Force launching GUI dialog
π Parameters π
input=name[required]β LAS input file. it's your LiDAR input files in LAS format, so*.lasor*.lazπoutput=name[required]β Name for output vector mapid_layer=stringβ Layer number to store generated point ID as category. it's set to1by default, and use-cif you don't want it stored at all β¨return_layer=stringβ Layer number to store return information as category. leave it empty to not store it πclass_layer=stringβ Layer number to store class number as category. leave it empty to not store it πrgb_layer=stringβ Layer number where RBG colors are stored as category. leave it empty to not store it πspatial=xmin,ymin,xmax,ymaxβ Import subregion only. format isxmin,ymin,xmax,ymaxβ and usually that's W,S,E,N just fyi π§zrange=min,maxβ Filter range for z data (min,max)return_filter=stringβ Only import points of selected return type. if you don't specify it, all points get imported. options are:first,last,midπclass_filter=integer[,integer,...]β Only import points of selected class(es). input is comma separated integers. if not specified, all points are imported, periodt. πinput_srs=stringβ Input dataset projection (WKT or EPSG, e.g.EPSG:4326). it overrides the input dataset coordinate system using an EPSG code or WKT definition π₯
β¨ DESCRIPTION β¨
So what it does is it imports a point cloud (like, e.g. from a LAS file) as vector points with the PDAL library. and bestie, v.in.pdal supports the following filters:
- 2D region filter
- Z coordinates filter
- return filter
- class filter
that's it that's the list, all four, iconic π¦
π EXAMPLES π
Import only XYZ coordinates of points, limit the import to the current computational region and reproject to the current project's coordinate reference system during the import:
v.in.pdal input=points.las output=points -c -r -w
like look at that. three little flags doing so much. main character energy fr fr π
π REFERENCES π
- V. Petras, A. Petrasova, J. Jeziorska, H. Mitasova (2016): Processing UAV and lidar point clouds in GRASS GIS. XXIII ISPRS Congress 2016 [ISPRS Archives, ResearchGate]
π SEE ALSO π
r.in.pdal, g.region, v.vect.stats, v.in.ogr
go read those too, iykyk π
π«Ά AUTHOR π«Ά
Vaclav Petras, NCSU GeoForAll Lab
π SOURCE CODE π
Available at: v.in.pdal source code (history)
Accessed: Saturday Jan 17 05:41:27 2026
Main index | Vector index | Topics index | Keywords index | Graphical index | Full index
okay that's the whole page bestie, you're literally a LiDAR girlie now π
and that's a wrap!! this is GRASS GIS 8.4.2 Reference Manual, Β© 2003-2025 GRASS Development Team, accessed Saturday Jan 17 05:41:27 2026 β slay, go import some point clouds, you got this πβ¨
π¦ where this page comes from
- fedora 44: grass 8.4.2-4.fc44 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms