Skip to main content

write_las

Function write_las 

Source
pub fn write_las(cloud: &PointCloud, path: &Path) -> Result<(), IoError>
Expand description

Writes a cloud as LAS, or as LAZ when the path says so.

The scale is a millimetre. LAS stores coordinates as scaled integers about an offset, and the scale is the quantum: at a tenth of a millimetre a survey-sized extent overflows the thirty-two bits the format gives each axis, and at a centimetre the file is coarser than the instrument that made it. A millimetre reaches ±2000 km from the offset, which is more than any projected coordinate system needs.