Skip to content
LidarKit

LiDAR vegetation classification for LAS and LAZ files

Sort the trees, hedges and shrubs in a ground-classified point cloud into low, medium and high vegetation, at heights you choose. Check it on a live map before you save. It all runs on this computer, so the file isn't uploaded.

  • Classes 3, 4 and 5
  • Your height bands
  • Live map
  • LAS and LAZ
  • No upload

Drop a ground-classified LAS or LAZ file

or choose a file

Low (3), medium (4) and high (5) vegetation · nothing leaves your machine

No file to hand? — 120 × 120 m of houses and gardens in Le Vésinet, France, ground already classified, 318,116 points · IGN LiDAR HD, 2023 (1.98 MB).

No upload. Processing runs in a Web Worker on your device — this app has no server component and no upload endpoint. How it works

Needs ground in class 2. Classify the ground first if your file doesn't have it yet.

What it does with your cloud

All of this works on the sample above: 120 m of houses and gardens from IGN's LiDAR HD survey, ground already classified.

  • HEIGHT BANDS · 0.5 / 1.5 m

    Your bands, set on a live map

    Low, medium and high are heights above the ground, and the ASPRS standard leaves them to you. They start at IGN LiDAR HD's 0.5 and 1.5 m. Change them and the map redraws at once.

  • LIDAR · MULTIPLE RETURNS

    Foliage sends the pulse back more than once

    A laser pulse through a crown hits leaves, branches and the ground. One off a roof comes back once. In a cell IGN calls tree, a typical 84% of points belong to such pulses. On a roof it's none.

  • SHAPE · PLANE FIT

    A roof is a plane, a crown is a volume

    Every cell gets a best-fitting plane through its points. A roof face sits on one at any pitch, within a few centimetres. A crown doesn't. That's how pitched roofs stay out of the vegetation.

  • MAP · AFTER ONE READ

    See it before you save it

    One read of the file gives a top-down map, greens by height, ground brown and everything else grey. It's drawn from up to 2 million points, and they get exactly the classes the output will give them.

  • IGN LIDAR HD · LE VÉSINET

    Scored against a national survey

    We ran it on a 20 million point IGN tile of houses and gardens and compared every point with IGN's own classes. The numbers are in the table further down, misses included.

  • OUTPUT · CLASSES 3, 4, 5

    Ground and other classes stay put

    Only unclassified points and earlier vegetation are judged. Ground stays ground, and buildings, water or noise you already have keep their class. Run it again and it replaces its own answer.

What vegetation classification is

Vegetation classification labels the points of a cloud that are plants, and sorts them by height. The ASPRS LAS codes give it three classes: 3 for low vegetation, 4 for medium and 5 for high. Canopy height models, tree counts, clearance checks along power lines and habitat maps all start from them.

It comes after ground classification, because a plant's height is measured from the ground beneath it. The tool builds a ground surface from the file's class 2 points, then asks two questions of every other point: how high is it, and is it vegetation at all? The first is a lookup against your bands. The second is the hard part, since roofs, cars and fences stand above the ground too. More on the codes in LAS classification codes and on the idea in How LiDAR classification works.

Checked against IGN LiDAR HD

20,100,142 points of houses and gardens in Le Vésinet, France, flown in March 2023. IGN's classes removed, ground found with our ground classification at its defaults, then every point compared with IGN's own class.

ClassFoundRight
Vegetation (3, 4 or 5) vs not90.8%96.3%
High vegetation (5)93.6%96.4%
Medium vegetation (4)66.3%84.6%
Low vegetation (3)2.7%23.7%

Found: share of IGN's points in that class that we put there too. Right: share of ours that IGN agrees with. IGN's own classes come from its automatic classifier, and the tile was flown with the trees bare.

From an unclassified cloud to a vegetation map

Vegetation is the second step. Find the ground, then sort what stands on it. The classification pipeline page lays out what each step reads and writes.

  1. IN

    Unclassified LAS or LAZ

    Airborne lidar works best: it has the multiple returns this step relies on.

  2. STEP 1

    Ground classification

    SMRF finds the ground and writes class 2.

  3. STEP 2 · THIS PAGE

    Vegetation classification

    Classes 3, 4 and 5 at your heights. Ground stays put.

  4. Check it in 3D

    Colour by class in the LAS/LAZ viewer, with counts per class.

    Surface and terrain models

    A DSM and a DTM from the same file give canopy height.

Supported features and limitations

Works today

  • LAS and LAZ with ground in class 2, from any ground filter
  • Your own height bands, with IGN LiDAR HD's as the start
  • Multiple-return lidar, measured against labelled data
  • A live map from a sample of up to 2 million points
  • Existing buildings, water and noise classes kept
  • A ceiling for birds, wires and other strays
  • LAZ or LAS out, compressed as the points are labelled

Good to know

  • Low vegetation is mostly ground. Ground classification keeps everything within its threshold (0.5 m by default) as ground. Lower that threshold if you need shrubs and long grass.
  • Photogrammetry is experimental. Without multiple returns the tool decides from colour and texture. We're still experimenting with that case and haven't scored it against labelled data yet.
  • Measured leaf-off. The IGN tile was flown in March. Deciduous trees still return several echoes bare, but a summer flight hasn't been scored yet.
  • Heights are from a ground model. It's built from the ground points on a grid down to 0.25 m. Against PDAL's point-based heights, about 1.4% of points land in a different band on the IGN tile.
  • It reads the file twice. Once for the map and once to write.
  • Vegetation only. Buildings, vehicles and wires come out unclassified (1), not as their own classes.

Frequently asked questions

What are LAS classes 3, 4 and 5?
They're the ASPRS codes for low, medium and high vegetation. Class 3 is low vegetation, 4 medium and 5 high, next to 2 for ground and 6 for building. The standard doesn't say where low ends and high begins: those heights are the producer's choice, which is why this tool lets you set them.
What heights separate low, medium and high vegetation?
There's no single answer. IGN's LiDAR HD survey of France uses 0 to 0.5 m for low, 0.5 to 1.5 m for medium and above 1.5 m for high, and those are the defaults here. Forestry and utility work often use other cut-offs. Set whatever your project uses and the map redraws.
Do I need to classify the ground first?
Yes. Vegetation is sorted by its height above the ground, so the file has to carry ground points in class 2. Run it through ground classification first, download the result and drop that here. If a file has no ground, the tool says so and links you to the ground step.
How does it tell a tree from a roof?
Height alone can't: a roof, a car and a hedge all stand above the ground. On lidar it looks at two things in each cell of about a metre. How many of the laser pulses came back more than once, which foliage does and roofs don't. And whether the points lie on a plane, which a roof face does at any pitch and a crown doesn't. Roof edges look like trees on both counts, so cells right along a roof are kept out.
How accurate is it?
On a 20 million point IGN LiDAR HD tile of houses and gardens, compared point by point with IGN's own classes, it found 90.8% of their vegetation, and 96.3% of what it called vegetation was vegetation there too. Where both said vegetation, the height band agreed 99.3% of the time. Low vegetation is the weak spot: see the next question. IGN's classes are themselves automatic, so this is agreement with a national survey, not with hand-checked truth.
Why is there so little low vegetation?
Because the ground classification already took most of it. SMRF calls anything within its threshold of the ground model ground, 0.5 m by default, which is the whole low-vegetation band. Ground stays ground here, so lower the threshold on the ground step if you need low growth like shrubs and long grass.
Does it work on drone photogrammetry?
It runs, but treat it as experimental. A photogrammetry cloud has one return per point, so the returns test can't be used, and the tool falls back to colour and surface texture. We're still experimenting with that case and haven't measured it against labelled data yet, so the page says so when it happens. Check the map before you keep the result.
What happens to classes I already have?
They're kept. Only points in class 0 or 1, and earlier vegetation in 3, 4 or 5, are judged. Ground stays 2, and buildings (6), water (9), noise (7 and 18) and anything else are written back unchanged. Running it twice with different bands replaces the first run's vegetation rather than adding to it.
Is my point cloud uploaded?
No. The browser reads it from your disk and the classification runs in a background worker on your own machine. Nothing from the file is sent anywhere.
Do I need an account?
Not to run it. Reading the file, setting the bands on the map and labelling every point are free without signing in. Downloading the classified file asks you to sign in with a free account.