This tutorial was provided as part of a training session at the EarthCube Advancing the Analysis of HRT Workshop #2 from May 8-10, 2023 at Arizona State University. The intended audience is users who have either never used PDAL or are novice users. This tutorial will focus on basic syntax and some simple workflows to get users familiar with working from PDAL.
Authors:
- Matthew Beckley (OpenTopography / EarthScope)
- Christopher Crosby (OpenTopography / EarthScope)
Topics include:
- Working with pipelines
- Learning how to interrogate point clouds with PDAL (e.g. metadata, basic stats, etc.)
- Pre-processing datasets (e.g. thinning, filtering, etc.)
- Creating ground-classified datasets
- Gridding point clouds into Digital Elevation Models (DEMs)
- Generating DEM derviatives and computing differences between DEMs with GDAL
- Users should follow the instructions on the document Installation.md to install the necessary and recommended software.
- The tutorial is based on the series of markdown documents in the repo. Users are expected to have a working copy of PDAL running on their system so that they can copy/paste and experiment with commands on their local PDAL installation.
- Sample PDAL pipelines that are discussed in the docs are available in the pipelines folder.
- There is a basic bash-based Jupyter Notebook available for users who are more comfortable working in the Jupyter environment. It contains many of the commands that are presented in the docs, and is intended as another pathway for users to get more comfortable with working with PDAL.
-
PDAL Overview
-
- PDAL mechanics & basic commands
- Inspecting point cloud files with PDAL
-
- File I/O
- Reprojections
- Filter operations
- Creating dataset boundaries
-
- Point Cloud Visualization
- Data preparation (e.g. noise filtering)
- Creating Ground Classifications (e.g. SMRF filters)
-
- Gridding point clouds
- GDAL: Raster Math & visualization
-
Optional: Accessing USGG 3DEP EPT data via AWS
- There are some example LAZ files under the data directory of the git repo. However, users are also encouraged to use their own data, or download data from OpenTopography. Note for the workshop, it is best to work with smaller files to keep processing times short. As a rule of thumb, keeping datasets below 5 million points is recommended for quick processing times.
The primary aim of this tutorial is to get users comfortable with basic PDAL commands, and workflows. This tutorial is geared to the novice PDAL user. Content for this workshop is based on a subset of two prior existing PDAL workshops:
- PDAL's main workshop material: https://pdal.io/en/2.5.3/workshop/index.html
- Dr. Adam Steer's PDAL workshop from FOSS4G SotM Oceania in 2018: https://github.com/adamsteer/f4g-oceania-pdal
Users are encouraged to explore these two excellent resources for more advanced PDAL usage and examples.