pdal-c is a C API for the Point Data Abstraction Library (PDAL) and is compatible with PDAL 1.7 and later.
pdal-c is released under the BSD 3-clause license.
The library can be installed as a package on Windows, Mac and Linux using Conda.
conda install -c conda-forge pdal-c
The library is dependent on PDAL and has currently been tested up to v2.2.0.
An example of the use of the API is given in the csharp folder which contains an integration to PDAL in C#.
NOTE - these scripts are provided for information only as examples and are not supported in any way!
The library can be built on Windows using the following command - which assumes that you are in a conda environment that has the conda-forge pdal package loaded:
cd CAPI
make.bat
The library can be built on Linux and Mac using the following command - which assumes that you are in a conda environment that has the conda-forge pdal package loaded:
cd CAPI
cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DCONDA_BUILD=OFF .
make
make install
This project enforces the PDAL code styles, which can checked as follows :
- On Windows - as per
astylerc - On Linux by running
./check_all.bash