v.in.pdal(1)

✨ v.in.pdal ✨

okay bestie so this is the v.in.pdal manual page from the GRASS GIS User's Manual β€” it's the one that turns your LiDAR point clouds into a GRASS vector map using PDAL πŸ¦‹


🌸 NAME 🌸

v.in.pdal β€” converts LAS LiDAR point clouds to a GRASS vector map with PDAL. periodt πŸ’…


πŸŽ€ 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. Basically: it reprojects your input dataset into the coordinate system of the GRASS project, because by default only datasets with the matching coordinate system can be imported. no cap πŸ”₯
  • -o β€” Override projection check (use current project's CRS). This one 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, nothing extra ✨
  • -r β€” Limit import to the current region. stay in your lane bestie 🌸
  • --overwrite β€” Allow output files to overwrite existing files
  • --help β€” Print usage summary
  • --verbose β€” Verbose module output
  • --quiet β€” Quiet module output
  • --ui β€” Force launching GUI dialog

🧚 Parameters 🧚

  • input=name [required] β€” LAS input file. These are your LiDAR input files in LAS format (*.las or *.laz) πŸ’œ
  • output=name [required] β€” Name for output vector map
  • id_layer=string β€” Layer number to store generated point ID as category. Set to 1 by default, and use -c if you don't want it stored at all πŸ™ˆ
  • return_layer=string β€” Layer number to store return information as category. Leave empty to not store it.
  • class_layer=string β€” Layer number to store class number as category. Leave empty to not store it.
  • rgb_layer=string β€” Layer number where RBG colors are stored as category. Leave empty to not store it.
  • spatial=xmin,ymin,xmax,ymax β€” Import subregion only. Format: xmin,ymin,xmax,ymax β€” usually W,S,E,N πŸ—ΊοΈ
  • zrange=min,max β€” Filter range for z data (min,max)
  • return_filter=string β€” Only import points of selected return type. If not specified, all points are imported. Options: 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.
  • input_srs=string β€” Input dataset projection (WKT or EPSG, e.g. EPSG:4326). Override input dataset coordinate system using EPSG code or WKT definition ✨

πŸ’– DESCRIPTION πŸ’–

So what it does: it imports a point cloud (e.g. from a LAS file) as vector points, using the PDAL library. iconic behavior honestly πŸ‘‘

v.in.pdal supports the following filters:

  • 2D region filter
  • Z coordinates filter
  • return filter
  • class filter

🌈 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

look at her go 🫢


πŸ“š 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


πŸ’… 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

Β© 2003-2025 GRASS Development Team, GRASS GIS 8.4.2 Reference Manual


ok that's the whole thing bestie, no notes πŸ’– this page is from GRASS GIS 8.4.2 (the GRASS 8.4.2 Reference Manual), Β© 2003-2025 GRASS Development Team, and you were reading it on Saturday Jan 17 05:41:27 2026. slay, go import some point clouds πŸŽ€βœ¨πŸ¦‹
πŸ“¦ where this page comes from