A Python project managed by Pixi that provides basic functions for the project "Walderkennung" (forest recognition).
- Load point cloud data from LAS and LAZ files
- Built on PDAL for powerful point cloud processing
Install Pixi following the official instructions.
# Clone the repository
git clone https://github.com/walderkennung/python-base.git
cd python-base
# Install dependencies with Pixi
pixi installfrom python_base import load_pointcloud
# Load a point cloud file (LAS or LAZ)
points = load_pointcloud("path/to/your/data.las")
# Access point cloud data
print(points["X"]) # X coordinates
print(points["Y"]) # Y coordinates
print(points["Z"]) # Z coordinates# Install test dependencies
pixi install -e test
# Run tests
pixi run test
# Lint code
pixi run lint
# Format code
pixi run fmt- LAS (
.las) - ASPRS LAS format - LAZ (
.laz) - Compressed LAS format