Last Updated:

Whether you want to estimate the amount of rainfall or elevation in specific areas, you will probably want to learn about the different interpolation methods like inverse distance weighted..

To do this, you start with known values, and you **estimate the unknown points through interpolation**.

**Inverse Distance Weighting (IDW) interpolation** is mathematical (deterministic) assuming closer values are more related than further values with its function.

While good if your data is dense and evenly-spaced, let’s look at how IDW works and where it works best.

### A Recap on Interpolation

When you are given known values, interpolation estimates unknown values.

To estimate the point in between, draw a dotted line to the x-axis and then to the y-axis. A good estimate of the blue point is 0.5 and 0.5. You just did a linear interpolation.

Interpolation in GIS works the same. Take known points. Create a surface by estimating unknown ones.

### Spatial Interpolation and IDW

Near points are more alike than far points:

- Noise is louder closer to a siren than further away.
- When it’s raining, it’s more likely to rain 1 meter away compared to 500 meters away.

These are examples of spatial autocorrelation. And spatial autocorrelation is the underlying assumption of Inverse Distance Weighting.

In the example below, the red points have known elevation values. The other points will be interpolated. If you wanted to measure the purple point, you can set up your interpolation so that it takes a fixed or variable number of points. In this example, it uses a fixed number of points of 3 and uses the three closest points.

You can see how IDW is a very flexible spatial interpolation methods. You can set up your IDW interpolation different ways.

Specify your search radius and your interpolation will only use the number of known points within your search radius.

Another reason why IDW interpolation is so flexible is because you can set up barriers. If there are ridges in an elevation profile, or noise barriers – then these are appropriate examples to use a barrier. This polyline barrier prevents it from searching for the input sample points .

### Results and Power Settings

Now, that you know how to set up search distances, selecting the number of points and using barriers, it’s time to learn about the power settings in IDW. This is best illustrated with an example.

Interpolated points are estimated based on their distance from known cell values. Points that are closer to known values will be more influenced than points that are farther away.

A **power of 1** smooths out the interpolated surface.

A **power of 2** increases the overall influence it has from the known values. You can see how the peaks and values are more localized and are not averaged out as much as a power of 1.

### Inverse Distance Weighting Math

There’s nothing to be afraid of with IDW math. Remember that the search distance or number of closest points determines how many points will be used.

We use the 3 closest points in this example:

Here’s what the table looks like for these 3 distances and values:

For a **power of 1**, that cell value is equal to:

((12/350) + (10/750) + (10/850)) / ((1/350) + (1/750) + (1/850)) = 11.1

For a **power of 2**, that cell value is equal to:

= ((12/350^{2}) + (10/750^{2}) + (10/850^{2})) / ((1/350^{2}) + (1/750^{2}) + (1/850^{2})) = 11.4

…And here’s the formula:

The sigma notation simply means that you are adding whatever number of points that will be interpolated. Here we are are simply summing the elevation values at each point with respect to distance.

A smaller number in the denominator (more distance) has less effect on the interpolated (x_{p}) value. You’re also never going to have values above or below your maximum and minimum known values… So you better hope you have your highest or lowest points in your sample points!

Try plugging in different values. The math really isn’t so bad!

### Try It Yourself

Given a set of known values such as elevation or noise, you now have the tools to estimate at points where you don’t know its value.

IDW uses spatial autocorrelation in its math. Closer values have more effect while farther away ones have less effect.

Specify the search distance or number of closest points. Set up a barrier. Choose a higher power settings for more localized peaks and troughs.

The Inverse Distance Weighting interpolation method is as flexible as they come.

Thanks, you have helped this poor lady