Dependencies
PDAL depends on a number of libraries to do its work. You should make sure those dependencies are installed on your system before installing PDAL or use a packaging system that will automatically ensure that prerequisites are satisified. Packaging system such as apt or Conda can be used to install dependencies on your system.
Required Dependencies
GDAL (2.2+)
PDAL uses GDAL for spatial reference system description manipulation, and image reading supporting for the NITF driver, and writers.oci support. In conjunction with GeoTIFF, GDAL is used to convert GeoTIFF keys and OGC WKT SRS description strings into formats required by specific drivers.
Source: https://github.com/OSGeo/gdal
Conda: https://anaconda.org/conda-forge/gdal
GeoTIFF (1.3+)
PDAL uses GeoTIFF in conjunction with GDAL for GeoTIFF key support in the LAS driver. GeoTIFF is typically a dependency of GDAL, so installing GDAL from a package will generally install GeoTIFF as well.
Source: https://github.com/OSGeo/libgeotiff
Conda: https://anaconda.org/conda-forge/geotiff
Note
GDAL surreptitiously embeds a copy of GeoTIFF in its library build but there is no way for you to know this. In addition to embedding libgeotiff, it also strips away the library symbols that PDAL needs, meaning that PDAL can’t simply link against GDAL. If you are building both of these libraries yourself, make sure you build GDAL using the “External libgeotiff” option, which will prevent the insanity that can ensue on some platforms. Conda Forge users, including those using that platform to link and build PDAL themselves, do not need to worry about this issue.
Optional Dependencies
LASzip (Latest package/source recommended)
LASzip is a library with a CMake-based build system that provides periodic compression of ASPRS LAS data. It is used by the writers.las and readers.las to provide compressed LAS support.:
Source: https://github.com/LASzip/LASzip
Conda: https://anaconda.org/conda-forge/laszip
laz-perf (Latest package/source recommended)
laz-perf provides an alternative LAS compression/decompression engine that may be slightly faster in some circumstances. laz-perf supports fewer LAS point types and versions than does LASzip. It is also used as a compression type for writers.oci and writers.sqlite:
Source: https://github.com/verma/laz-perf/
Conda: https://anaconda.org/conda-forge/laz-perf
libxml2 (2.7+)
libxml2 is used to serialize PDAL dimension descriptions into XML for the database drivers such as writers.oci, readers.sqlite, or readers.pgpointcloud.:
Source: http://www.xmlsoft.org/
Conda: https://anaconda.org/conda-forge/libxml2
Plugin Dependencies
PDAL comes with optional plugin stages that require other libraries in order to run. Many of these libraries are licensed in a way incompatible with the PDAL license or they may be commercial products that require purchase.
OCI (10g+)
Obtain the Oracle Instant Client and install in a location on your system.
Be sure to install both the “Basic” and the “SDK” modules. Set your
ORACLE_HOME
environment variable system- or user-wide to point to this
location so the CMake configuration can find your install. OCI is used by
both writers.oci and readers.oci for Oracle
Point Cloud read/write support. In order to obtain the OCI libraries
you must register with Oracle.:
Libraries: https://www.oracle.com/technetwork/database/database-technologies/instant-client/downloads/index.html
Nitro (Requires specific source package)
Nitro is a library that provides NITF support for PDAL to write LAS-in-NITF files for writers.nitf. You must use the specific version of Nitro referenced below for licensing and compatibility reasons.:
Source: http://github.com/hobu/nitro
PCL (1.7.2+)
The Point Cloud Library (PCL) is used by the pcl_command, writers.pcd, readers.pcd, and filters.pclblock to provide support for various PCL-related operations.:
Source: https://github.com/PointCloudLibrary/pcl
Conda: https://anaconda.org/conda-forge/pcl
TileDB (1.4.1+)
TileDB is an efficient multi-dimensional array management system which introduces a novel on-disk format that can effectively store dense and sparse array data with support for fast updates and reads. It features excellent compression, and an efficient parallel I/O system with high scalability. It is used by writers.tiledb and readers.tiledb.:
Source: https://github.com/TileDB-Inc/TileDB
Conda: https://anaconda.org/conda-forge/tiledb