pylas.lasmmap module

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

Bases: pylas.lasdata.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

Note

A LAZ (compressed LAS) cannot be mmapped

close() → None[source]