Use case · Stream buffers

Find where to plant trees along your streams.

Trees along a stream shade the water, hold the banks and filter runoff. Cairn maps tree canopy on every stream bank from lidar and aerial photos, finds the gaps, and turns the ones you choose into a planting plan.

The review screen. A map shows a stream through back yards with its buffer in red, next to a panel that reads 0% canopy and 3,700 sq ft plantable.
Screenshots from a real run: the Streets Run-Monongahela River watershed near Pittsburgh, with public lidar, aerial photos and stream lines.

How it works

From a watershed to a planting plan in four steps.

The stream buffers analysis answers three questions for every bank of every stream in your area.

  • GapsWhich stream banks have less than half tree canopy?
  • Room to plantHow much low vegetation is there to plant in each gap?
  • Second lookWhich detections should a person check before relying on them?
  1. Step 1 of 4

    Pick the area and the data

    Check the areas to include, pick watersheds on the map, or draw your own. Use public lidar, aerial photos and stream lines, or upload yours. You can mix them.

    The Stream buffers set-up page with the project's area checked, a button to pick watersheds on the map, and public lidar chosen.
  2. Step 2 of 4

    Run it

    The run log says what each step did, in plain words: the streams found, the lidar and photo dates, the canopy mapped and the buffers scored. This 54 square mile watershed took 4 minutes.

    The run log with all seven steps done, from Find streams to Save results.
  3. Step 3 of 4

    Review the gaps

    Each bank shows its canopy share, what covers the rest and any flags. Add it to the planting list, skip it, or mark the detection wrong. Cairn drafts; you decide.

    The review screen. A map shows a stream through back yards with its buffer in red, next to a panel that reads 0% canopy and 3,700 sq ft plantable.
  4. Step 4 of 4

    Take the plan into the field

    The work plan groups banks next to each other into sites, shows where they are, and gives each site a map and a table. Print it or save it as a PDF. The list also downloads as CSV or GeoJSON.

    A planting work plan: the number of sites and banks, the plantable area, a topographic map of the watershed with numbered sites, and a table of sites in order along the streams.
    Screenshots from a real run: the Streets Run-Monongahela River watershed near Pittsburgh, with public lidar, aerial photos and stream lines.

Stream buffers

Five layers, from stream lines to gaps in the trees.

The stream buffers analysis stacks public data to find banks without trees. This is a square about 1,000 ft across on Glass Run, near Pittsburgh, from a real run. Read the tutorial

  1. Layer 1 of 5

    Start with the stream lines

    Streams come from the USGS National Hydrography Dataset, or from your own file. Each one is cut into reaches about 100 ft long. This square has 15.

    A stream line winding from the top of the square to its right edge, cut into short reaches.
  2. Layer 2 of 5

    Measure height with lidar

    Lidar gives the height of whatever stands above the ground. Lighter is taller. This survey was flown from November 2019 to February 2020.

    Heights along the stream: dark, low ground at the top and a light, tall stand of trees lower down.
  3. Layer 3 of 5

    Check the photo for green

    Height can't tell a tree from a roof. An aerial photo with a near-infrared band shows which tall things are plants. This one was taken May 9, 2022.

    An aerial photo of the same square, with woods along the lower half of the stream.
  4. Layer 4 of 5

    Map the tree canopy

    Canopy is anything at least 10 ft tall that is also green. A building is tall but not green, so it doesn't count.

    Tree canopy mapped along the stream, thick along the lower half and thin at the top.
  5. Layer 5 of 5

    Score each bank

    Each bank of each reach gets a 35 ft buffer, scored by how much of it is under canopy. Of the 30 here, 14 are gaps: less than half canopy.

    • Under 25% canopy: 10 buffers
    • 25–50%: 4
    • 50–75%: 7
    • 75% or more: 9
    Buffers on both banks of the stream, colored by canopy: pink at the top where there is little, blue lower down where it is full.

What you get

Canopy, gaps and a list you can act on.

One run scores both banks of every stream reach in the area.

Canopy at three buffer widths
Every bank is scored at 35, 50 and 100 ft from the stream line. Switch widths and the numbers and the map follow.
Gaps, ranked by room to plant
A gap is a bank with less than 50% canopy. The list starts with the gaps that have the most low vegetation, such as lawn or meadow.
Flags for a second look
Close calls, thin lidar, tall things that aren't green, and buffers that are mostly water are marked for a person to check.
Files in open formats
Every buffer as GeoPackage, shapefile, GeoParquet and CSV. Canopy height and land cover as GeoTIFF. The planting list as CSV or GeoJSON.
The top of the results page: canopy in 35 ft buffers 47%, 2,002 gaps of 3,932 bank reaches, 42.3 acres plantable in gaps, and 901 flagged buffers, above the review map.
Screenshots from a real run: the Streets Run-Monongahela River watershed near Pittsburgh, with public lidar, aerial photos and stream lines.

The data

Public data, or your own.

Each of the three inputs can be public or yours, and you can mix them.

Public

Lidar
USGS 3DEP
Aerial photos
USDA NAIP, with near-infrared
Stream lines
USGS National Hydrography Dataset

Or your own

Lidar
LAS or LAZ
Orthophoto
GeoTIFF
Stream lines
GeoJSON, GeoPackage or shapefile

Limits

What to keep in mind.

Every run lists these next to its results.

Dates
Results show the ground as of the lidar and photo dates, not today. Each run names both.
Stream lines, not banks
Buffers are measured from the stream line. Wide rivers and lakes aren't scored.
Plantable is a starting point
It means low vegetation in the buffer. Ownership, slope and utilities aren't checked.
Check a sample
Before you rely on the totals, look at a few buffers you know on the ground.

Try it on one of your watersheds.

Start a project, pick a watershed or draw your own area, and run the analysis. The tutorial walks through a full run first if you'd rather read.