LAS file format


The LAS format is a file format designed for the interchange and archiving of lidar point cloud data. It is an open, binary format specified by the American Society for Photogrammetry and Remote Sensing. The format is widely used and regarded as an industry standard for lidar data.

File structure

A LAS file consists of the following overall sections:
SectionDescription
Public header blockDescribes format, number of points, extent of the point cloud and other generic data.
Variable length records Any number of optional records to provide various data such as the spatial reference system used, metadata, waveform packet information and user application data. Each VLR can hold a data payload of up to 65,535 bytes in length.
Point data recordsData for each of the individual points in the point cloud, including coordinates, classification, flight and scan data, etc.
Extended variable length records Introduced with LAS 1.3, EVLRs are similar to VLRs but are located after the point data records and allow a much larger data payload per record due to the use of 8-byte size descriptors.

Point data records

A LAS file contains point records in one of the point data record formats defined by the LAS specification; as of LAS 1.4, there are 11 point data record formats available. All point data records must be of the same format within the file. The various formats differ in the data fields available, such as GPS time, RGB and NIR color and wave packet information.
The 3D point coordinates are represented within the point data records by 32-bit integers, to which a scaling and offset defined in the public header must be applied in order to obtain the actual coordinates.
As the number of bytes used per point data record is explicitly given in the public header block, it is possible to add user-defined fields in "extra bytes" to the fields given by the specification-defined point data record formats. A standardized way of interpreting such extra bytes was introduced in the LAS 1.4 specification, in the form of a specific EVLR.