
pyfor
Documentation |
Changelog |
Request a Feature
pyfor is a Python package that assists in the processing of point cloud data in the context of forest inventory. This includes manipulation of point data, support for analysis, and a memory optimized API for managing large collections of tiles.
Current Release: 0.4.0
Release Date: September 9th, 2026.
Release Status: 0.4.0 is a modernization release. pyfor runs on Python 3.10 and newer against
current versions of laspy, numpy, pandas, scipy, geopandas, and rasterio. It is
adequate for single tile processing and large acquisitions.
and many other tasks. See the documentation for examples and applications.
What about tree segmentation? Please see pyfor's sister package treeseg which
is a standalone package for tree segmentation and detection.
pyfor requires Python 3.10 or newer. All dependencies ship as binary wheels, so pip in a virtual
environment is all that is needed:
python -m venv .venv
source .venv/bin/activate
pip install pyfor
pyfor was previously distributed through conda-forge and required GDAL and LASTools. Neither is
needed anymore: the .lax spatial index was replaced by chunked reads, and GIS input/output goes
through rasterio.
If you would like to contribute, especially those experienced with numpy, laspy, point cloud
formats (.las, .laz, COPC) and rasterio, please contact me at bfrank70@gmail.com
I am also willing to implement features on request. Feel free to open an issue with your request or email me at the address above.
pyfor will always remain a free service. Its development takes time, energy and a bit of money to maintain source code and host documentation. If you would like to support it, email me at the address above.