Skip to main content

spatialrust_io/las/
mod.rs

1//! LAS/LAZ (ASPRS LiDAR) readers and writers for point clouds.
2
3mod reader;
4mod schema;
5mod writer;
6
7#[cfg(feature = "streaming")]
8pub use reader::LasChunkSource;
9#[cfg(feature = "io-copc")]
10pub(crate) use reader::{metadata_from_las_header, point_cloud_from_las_points};
11pub use reader::{read_las, read_las_file, LasReader};
12pub use schema::{
13    infer_las_field_semantic, schema_for_las_header, schema_from_point_cloud,
14    schema_from_point_cloud_for_copc,
15};
16#[cfg(all(feature = "io-copc", feature = "streaming"))]
17pub(crate) use writer::point_from_cloud;
18#[cfg(feature = "streaming")]
19pub use writer::LasChunkSink;
20pub use writer::{write_las, write_las_file, LasWriteFormat, LasWriter};