Crates.io | copc-rs |
lib.rs | copc-rs |
version | 0.3.0 |
source | src |
created_at | 2022-08-10 20:39:05.170115 |
updated_at | 2023-08-31 08:13:43.043709 |
description | Cloud Optimized Point Cloud (COPC) reader. |
homepage | https://github.com/pka/copc-rs |
repository | https://github.com/pka/copc-rs |
max_upload_size | |
id | 642880 |
size | 100,284 |
copc-rs is a library for reading Cloud Optimized Point Cloud (COPC) data.
let laz_file = BufReader::new(File::open("autzen-classified.copc.laz")?);
let mut copc_reader = CopcReader::open(laz_file)?;
for point in copc_reader.points(LodSelection::Level(0), BoundsSelection::All)?.take(5) {
println!("Point coordinates: ({}, {}, {})", point.x, point.y, point.z);
}
Run an example:
cargo run --example copc_http
This library depends heavily on the work of Thomas Montaigu (@tmontaigu) and Pete Gadomski (@gadomski).