LAS

class compas.files.LAS(filepath, precision=None)[source]

Bases: object

Class for working with files in LASer format.

Parameters
  • filepath (path string | file-like object | URL string) – A path, a file-like object or a URL pointing to a file.

  • precision (str, optional) – A COMPAS precision specification.

Attributes
  • reader (LASReader, read-only) – A LAS file reader.

  • parser (LASParser, read-only) – A LAS data parser.

References

Methods

read

Read and parse the contents of the file.