RICE Learn

Point clouds · 3 min read

LAS and LAZ point clouds — what’s inside and how to shrink them

By the RICE team · Published 14 October 2026

A single drone flight over a small mine or a farm can produce a point cloud of a hundred million points and several gigabytes. Most of that file is predictable numbers. Understanding how LAS stores them is the key to knowing what you can safely throw away.

The LAS format

LAS is the open exchange format for lidar and photogrammetry point clouds, published by ASPRS, the American Society for Photogrammetry and Remote Sensing. Versions 1.0 to 1.4 are in use; 1.2 and 1.4 are the most common today.

A LAS file has three parts:

  1. A header — the version, point count, bounding box, the point record format and, crucially, the scale and offset.
  2. Variable-length records — metadata such as the coordinate system, stored as GeoTIFF keys or WKT.
  3. The point records — one fixed-size record per point.

Point record formats 0 to 10 define what each record holds. All carry X, Y, Z, intensity, return number and classification. Formats 1 and 3 add GPS time; 2 and 3 add red, green and blue colour; 6 to 10 are the extended LAS 1.4 layouts. RICE reads formats 0–3 and 6–8, which covers almost every survey and drone deliverable.

Scale and offset

Coordinates are not stored as decimals. Each is a 32-bit whole number, and the real value is:

real X = stored X × scale + offset

stored 1 234 567, scale 0.001, offset 600 000 → 601 234.567 m ~~~

The scale sets the precision. A scale of 0.001 records every point to the millimetre — far finer than any drone or most airborne lidar can actually measure. Rewriting a cloud at 0.01 m (centimetre) precision loses nothing meaningful for a sensor accurate to 3–5 cm, and makes the numbers much more compressible.

Classification codes

Each point carries a class. The standard codes are:

CodeClass
1Unclassified
2Ground
3 / 4 / 5Low / medium / high vegetation
6Building
7Low point (noise)
9Water
17Bridge deck

Ground (class 2) is what you grid into a terrain model. If a supplier delivers a cloud with everything as class 1, a ground filter has not been run, and a DEM made from it will include trees and roofs.

LAZ: lossless compression

LAZ is LAS compressed with LASzip, created by Martin Isenburg. It is lossless — decompressing gives back the identical file — and typically shrinks a cloud to between 7% and 20% of its LAS size. It is the normal format for delivering and archiving point clouds.

RICE can read LAZ when a decompressor is available in your browser, and says plainly when it is not, with the free desktop tools that will convert the file. It does not yet write true LAZ.

Three ways to make a cloud smaller

  1. Reduce precision. Rewrite at a coarser scale (0.01 m instead of 0.001 m). The cloud is unchanged at the accuracy the sensor delivered.
  2. Compress losslessly. LAZ, or a gzip-compressed LAS (.las.gz), which RICE writes and verifies by decompressing and comparing.
  3. Grid it. If you only need terrain, bin the ground points into a raster DEM. A 0.5 m GeoTIFF of a site is usually a small fraction of the cloud’s size.

From cloud to DEM

Gridding assigns every point to a cell and combines the heights in that cell — the mean for a smooth surface, the minimum for bare earth under vegetation, the maximum for a canopy or roof model. Empty cells can be filled by inverse-distance weighting from neighbours, which should be reported separately because it is an estimate, not a measurement. Choose a cell size at least twice the average point spacing, or most cells will be empty.

RICE’s Elevation tool grids LAS or XYZ into a compressed GeoTIFF DEM, and LAS / LAZ compression rewrites clouds at the precision you need — both in your browser.

Try it
Shrink a point cloud

Rewrite a LAS at the precision you need, pack it losslessly, or pull it out to plain XYZ.

Open the tool
Keep reading Simplifying lines and polygons without wrecking them EPSG:4326 vs EPSG:3857 — degrees, metres and the web map Fixing a Shapefile with a missing .prj UTM zones explained — and how to pick the right one All guides →

Written and maintained by the RICE team at LocalID IQ Pty Ltd. Questions or corrections: info@rice.org.za. About RICE.