Skip to content
 
 

Repository files navigation

pdal-c: PDAL C API

Actions Status Actions Status Actions Status

Anaconda-Server Badge

Basics

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.

Documentation

API Documentation

Installation

The library can be installed as a package on Windows, Mac and Linux using Conda.

conda install -c conda-forge pdal-c

Dependencies

The library is dependent on PDAL and has currently been tested up to v2.2.0.

Usage

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!

For Developers

Build on Windows

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

Build on Linux and Mac

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

Code Style

This project enforces the PDAL code styles, which can checked as follows :

  • On Windows - as per astylerc
  • On Linux by running ./check_all.bash

About

PDAL C API

Resources

Stars

9 stars

Watchers

6 watching

Forks

Releases

Packages

Used by

Contributors

Languages