GIS Methods

A Practical Guide to Zonal Statistics in Remote Sensing

5 min read · Spatial Research Suite

A satellite image is a grid of pixel values covering an area that rarely matches the boundary you actually care about — a district, a farm plot, a protected area. Zonal statistics is the operation that bridges the two: summarizing every pixel that falls within a given polygon into a small set of representative numbers.

Raster grid + vector boundary overlay
Placeholder — to be replaced with a real boundary-over-raster overlay generated in Spatial Research Suite.

Beyond the Mean

The mean is the most commonly reported zonal statistic, but on its own it can hide a lot. A district with a mean NDVI of 0.4 could be uniformly moderate vegetation everywhere, or it could be half dense forest and half bare urban core averaging out to the same number. That's what the other statistics are for:

A Common Mistake: Ignoring Scale

Zonal statistics computed at too coarse a resolution can average away exactly the variation you're trying to measure — a small but genuinely hot industrial zone can disappear into a much larger district-level mean if the pixel size is large relative to the feature [2]. Matching the raster's native resolution and the size of your zones is worth checking before drawing conclusions from a single mean value.

This is part of why Statistics by Land Cover Class exists in Spatial Research Suite: computing zonal statistics separately for each land-cover class within a boundary, rather than one blended average for the whole area, recovers exactly the kind of internal heterogeneity a single zone-wide mean would otherwise hide.

Batch Processing Multiple Zones

When comparing many boundaries at once (all districts in a state, for instance), it also becomes possible to ask a relative question: is this particular zone's mean unusually high or low compared to the others in the same batch — which is the logic behind relative metrics like UHI Intensity, distinct from each zone's raw statistics considered in isolation.

References

  1. Cressie, N. (1993). Statistics for Spatial Data (Revised ed.). John Wiley & Sons.
  2. Openshaw, S. (1984). The Modifiable Areal Unit Problem. CATMOG 38, GeoBooks, Norwich.

Run batch zonal statistics across dozens of boundaries at once

Compute mean, standard deviation, min/max, and per-land-cover-class statistics across every district in a state in a single server-side call — no code required.

Try it now →
Advertisement