Inverse Distance Weighting (IDW) interpolation estimates unknown values with specifying search distance, closest points, power setting & barriers.

1How Inverse Distance Weighting (IDW) interpolation works

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.

2First, 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.

3Spatial 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 or Tobler’s First Law of Geography. 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 .


4Tweaking the results with 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.

power of 1 smooths out the interpolated surface.


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.


5The math behind Inverse Distance Weighting

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:

Distance            Value

350m                12

750m                10

850m                10

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/3502) + (10/7502) + (10/8502)) / ((1/3502) + (1/7502) + (1/8502)) = 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 (xp) 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!

发表评论

邮箱地址不会被公开。 必填项已用*标注