LAS vs LAZ vs PCD: point cloud file formats compared

LAS is the lidar standard, LAZ is the same data compressed without loss, and PCD is the Point Cloud Library's format. What each one holds, and when to use it.

A riverside neighbourhood coloured by ASPRS classification: ground, buildings, trees and water
Open the sample in 3D Open your own file

The short answer: LAS is the standard binary format for lidar point clouds, from the ASPRS. LAZ is a LAS file compressed without loss by LASzip, so it is much smaller and holds exactly the same points. PCD is the format of the Point Cloud Library (PCL), common in robotics and computer vision. All three store points with x, y and z coordinates and optional attributes, and all three open in the browser in the SpatialSense Point Cloud Viewer.

At a glance

LAS LAZ PCD
Made by ASPRS LASzip (rapidlasso) Point Cloud Library
Typical source Aerial and terrestrial lidar, survey The same, for storage and transfer Robotics, depth cameras, research
Compression None Lossless Optional (binary_compressed, LZF)
Fixed attributes Yes, set by the point format Same as LAS No, any fields the header names
Classification ASPRS class codes Same as LAS A free label field, if present
Georeferencing Scale, offset and CRS in the header Same as LAS A sensor viewpoint, no CRS

LAS: the survey standard

A LAS file starts with a public header: the version (1.0 to 1.4), the point format, the number of points, the bounds, and a scale and offset for each axis. Coordinates are stored as 32-bit integers and turned into real values with value × scale + offset. With a scale of 0.001 this gives millimetre steps, even for large projected coordinates.

The point format (0 to 10) fixes what each point carries:

  • Every format has x, y, z, intensity, return number, number of returns and classification.
  • Formats 1, 3 and 4 to 10 add GPS time.
  • Formats 2, 3, 5, 7, 8 and 10 add RGB colour.
  • Formats 4, 5, 9 and 10 add waveform data.

Variable-length records after the header hold the coordinate reference system and other metadata. In the viewer, press I to see a file's version, point format, scale, offset and CRS.

LAZ: LAS, compressed without loss

LAZ is produced by LASzip. It compresses each point against its neighbours, so a LAZ file is usually a small fraction of the LAS size. Decompressing it gives back the identical points, bit for bit. That makes LAZ the usual choice for sharing and archiving lidar. Public elevation programmes often publish their tiles as LAZ.

The cost is decoding time: the viewer has to decompress a LAZ file before it can show it, so a LAZ opens more slowly than the same data as LAS. Waveform point formats (4, 5, 9 and 10) are not supported in the viewer.

PCD: the Point Cloud Library format

A PCD file has a short text header followed by the data:

VERSION .7
FIELDS x y z rgb intensity label
SIZE 4 4 4 4 4 4
TYPE F F F U F U
COUNT 1 1 1 1 1 1
WIDTH 640
HEIGHT 480
VIEWPOINT 0 0 0 1 0 0 0
POINTS 307200
DATA binary
  • FIELDS, SIZE, TYPE and COUNT describe each column: its name, its size in bytes, its type (I signed, U unsigned, F float) and how many values it holds.
  • WIDTH and HEIGHT give the layout. A HEIGHT above 1 is an organised cloud, such as one frame from a depth camera.
  • DATA is the encoding: ascii (readable text), binary (raw values) or binary_compressed (columns compressed with LZF).

PCD has no fixed attribute set and no coordinate reference system. Its strength is flexibility: any field a pipeline needs can be added. The viewer uses rgb (or rgba), intensity and label when a file has them, and shows every field in the file details.

Which one should you use?

  • Delivering survey or lidar data: LAS, or LAZ to save space. Every GIS and survey tool reads them, and the CRS travels with the file.
  • Sharing or archiving lidar: LAZ. Same data, far fewer bytes.
  • Robotics, SLAM and perception pipelines: PCD, because PCL and ROS tools read and write it natively.

Whichever you have, you can check it quickly: open the viewer and drop the file on the page. No file to hand? The point cloud gallery has real LAS, LAZ and PCD scans to compare. To see what a classified LAS file holds, open the sample coloured by class, then read what each colour mode shows. To take distances and heights off the points, see how to measure a point cloud.

Autzen Stadium, an aerial lidar scan in true colour, opened in the SpatialSense Point Cloud Viewer · 3 min read

How to open LAS, LAZ and PCD files in your browser

Open a LAS, LAZ or PCD point cloud online in a few seconds, with no software to install and no upload. A step-by-step guide, with limits and fixes.

Read the guide
Autzen Stadium, an aerial lidar scan, coloured by elevation from low blue to high red · 3 min read

Reading a point cloud: RGB, intensity, elevation, classification and returns

What each attribute of a LAS or PCD point means, what it reveals when you colour the cloud by it, and how to read the result.

Read the guide
A riverside neighbourhood in Eugene, Oregon, as an aerial lidar point cloud in its scanned colours · 3 min read

How to measure distances, heights and areas in a point cloud

Measure distance, height, area, angle, radius, azimuth and volume on a LAS, LAZ or PCD point cloud in your browser, and cut it with a clip volume.

Read the guide