laspy.lasmmap module

class laspy.lasmmap.LasMMAP(filename: Union[str, Path])[source]

Bases: LasData

Memory map a LAS file. It works like a regular LasData however the data is not actually read in memory,

Access to dimensions are made directly from the file itself, changes made to the points are directly reflected in the mmap file.

Vlrs cannot be modified.

This can be useful if you want to be able to process a big LAS file


A LAZ (compressed LAS) cannot be mmapped

close() None[source]