Skip to content
This repository was archived by the owner on Sep 15, 2023. It is now read-only.

PDAL Installation

Steven Lee edited this page May 2, 2020 · 1 revision

PDAL_installation

The below instructions goes over how you can install PDAL on your device.

  1. Install ninja
sudo apt-get install ninja-build
  1. Download PDAL release version 2.1
https://github.com/PDAL/PDAL/releases/tag/2.1.0
  1. Follow compilation steps in wiki
https://pdal.io/development/compilation/unix.html
  1. Install pip for python/python3
sudo apt-get install python-pip
sudo apt-get install python3-pip
  1. Install numpy, packaging, Cython

Python 2.7:

python -m pip install numpy packaging Cython

Python 3:

pip3 install numpy packaging Cython
  1. Install PDAL for python

Python 2.7, numpy up to 1.16, needs custom compile flag so only PDAL 2.0.0:

python -m pip install PDAL=2.0.0

Python 3:

pip3 install PDAL
  1. Test with import pdal in python, make sure /usr/local/lib is in your LD_LIBRARY_PATH

Clone this wiki locally