oxigdal-copc 0.1.3

Pure Rust COPC (Cloud Optimized Point Cloud) reader for OxiGDAL - LAS/LAZ format with spatial index
Documentation
  • Coverage
  • 100%
    157 out of 157 items documented1 out of 61 items with examples
  • Size
  • Source code size: 112 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 6.13 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 27s Average build duration of successful builds.
  • all releases: 32s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • cool-japan/oxigdal
    48 3 2
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • cool-japan

oxigdal-copc

Pure Rust COPC (Cloud Optimized Point Cloud) and LAS 1.4 reader for the OxiGDAL ecosystem. No C/Fortran dependencies.

Features

  • ASPRS LAS 1.4 public header parser (LasHeader, LasVersion)
  • COPC-specific VLR parsing (CopcInfo, Vlr, VlrKey)
  • Full 3D point representation with LAS 1.4 fields and ASPRS classification codes 0-18
  • Octree spatial index with bbox/sphere queries, k-nearest neighbours, and voxel downsampling
  • Height profile extraction and ground filtering

Usage

use oxigdal_copc::{Point3D, BoundingBox3D, Octree};

// Build an octree from point cloud data
let bbox = BoundingBox3D::new(0.0, 0.0, 0.0, 100.0, 100.0, 50.0);
let mut octree = Octree::new(bbox, 8); // max depth = 8

let point = Point3D::new(10.0, 20.0, 5.0);
octree.insert(point);

// Spatial query
let query_box = BoundingBox3D::new(0.0, 0.0, 0.0, 50.0, 50.0, 25.0);
let results = octree.query_bbox(&query_box);

Status

  • 139 tests passing, 0 failures

License

See the top-level OxiGDAL repository for license details.