Overview
pdal.info provides metadata about the PDAL library installation, including version information, debug details, and plugin paths. This is useful for debugging, logging, and ensuring compatibility.
Usage
Available attributes
Theinfo object is a SimpleNamespace with the following attributes:
- version - Full version string (e.g., “2.6.0”)
- major - Major version number
- minor - Minor version number
- patch - Patch version number
- debug - Debug information about the build
- sha1 - Git commit hash of the PDAL build
- plugin - Plugin installation path
Implementation
From__init__.py:
libpdalpython.cpp creates a SimpleNamespace object:
Example from CLI
Thepdal command-line interface uses this information to display version details:
src/pdal/__main__.py:print_version for the complete implementation.