[pdal] New Python API Released

Howard Butler howard at hobu.co
Tue Nov 23 13:22:30 PST 2021


All,

George Sakkis from TileDB has contributed a new PDAL Python API (version 3.0.1) that has been recently released. Big thanks to TileDB <https://tiledb.com/> for the effort to enhance the PDAL Python extension to support streaming, composable pipelines, and refactor it to use pybind11.

The feature list can be found at https://github.com/PDAL/python/releases/tag/3.0.0 <https://github.com/PDAL/python/releases/tag/3.0.0> but is included here for convenience.
> PDAL plugins (filters.python and readers.numpy) have been moved to their own package at https://github.com/PDAL/python-plugins <https://github.com/PDAL/python-plugins> and https://pypi.org/project/pdal-plugins/ <https://pypi.org/project/pdal-plugins/>
> PDAL extension has been converted to use pybind11 instead of Cython
> Support for composable pipelines <https://github.com/PDAL/python#programmatic-pipeline-construction>. For example, a caller can construct a pipeline and sort it using pure Python such as:
> pipeline = pdal.Reader("1.2-with-color.las") | pdal.Filter.sort(dimension="X")
> Convenient cycling between PDAL and Python Numpy is now possible. See https://github.com/PDAL/python#reading-using-numpy-arrays <https://github.com/PDAL/python#reading-using-numpy-arrays> for details
> Chunked or streamed operations are now possible from Python. See https://github.com/PDAL/python#executing-streamable-pipelines <https://github.com/PDAL/python#executing-streamable-pipelines> for details
> meshio support https://github.com/PDAL/python#meshio-integration <https://github.com/PDAL/python#meshio-integration>
> pdal.pio has been removed. This is superseded by the composable pipeline support

Visit https://pypi.org/project/PDAL/ <https://pypi.org/project/PDAL/> to see examples of how to compose and stream with the new API. CondaForge packages will be building soon for those not wanting to build their own from source. The new PDAL Python API is backward compatible with currently released PDAL 2.3.0, and you should be able to start using it today.

Thanks again George and TileDB!

Howard 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pdal/attachments/20211123/ae7cff3f/attachment.html>


More information about the pdal mailing list