Skip to content

OpenTopography/Intro_to_PDAL

 
 

Repository files navigation

NSF-1642611 NSF-1948994 NSF-1830734

Introduction to PDAL

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

Tutorial Preparation

  • Users should follow the instructions on the document Installation.md to install the necessary and recommended software.

Tutorial Structure

  • 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.

Tutorial Contents

Example datasets

  • 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.

Acknowledgements

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:

Users are encouraged to explore these two excellent resources for more advanced PDAL usage and examples.