Skip to content

walderkennung/python-base

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

python_base

A Python project managed by Pixi that provides basic functions for the project "Walderkennung" (forest recognition).

Features

  • Load point cloud data from LAS and LAZ files
  • Built on PDAL for powerful point cloud processing

Prerequisites

Install Pixi following the official instructions.

Installation

# Clone the repository
git clone https://github.com/walderkennung/python-base.git
cd python-base

# Install dependencies with Pixi
pixi install

Usage

from 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

Development

# Install test dependencies
pixi install -e test

# Run tests
pixi run test

# Lint code
pixi run lint

# Format code
pixi run fmt

Supported Formats

  • LAS (.las) - ASPRS LAS format
  • LAZ (.laz) - Compressed LAS format

About

Shared utilities for the project "Walderkennung"

Resources

Stars

Watchers

Forks

Releases

No releases published

Contributors

Languages