IDW Interpolation
A raster surface interpolated from point values, each cell a distance-weighted average of nearby points.
Pitfall. Engines differ on which points each cell uses (all of them, a search radius, or the nearest N), so surfaces differ away from the points.
Pitfall. IDW never goes above the highest or below the lowest input value, so it flattens peaks and pits.
| Also called | inverse distance weighted, IDW, inverse distance to a power, surface from points |
|---|---|
| Group | conversion/vector-to-raster |
| Checks | crs.present, raster.nodata |
| Pitfalls | 2 listed above |
| Columbus tool | Not stated |
| Notes | Not stated |
| Status | active |
| Broader | Not stated |
| Narrower | Not stated |
| Related |
Parameters
| Name | Type | Required | Default | Values | Note |
|---|---|---|---|---|---|
field | field | yes | Not stated | Not stated | The attribute holding the values to interpolate. |
resolution | number | yes | Not stated | Not stated | Cell size, in the layer's CRS units. |
power | number | no | 2 | Not stated | Higher powers give nearer points more weight. |
Inputs and outputs
| Direction | Name | Type | Geometry | Note |
|---|---|---|---|---|
| Input | layer | vector | point | Not stated |
| Output | output | raster | Not stated | Not stated |
In each engine
| Engine | Tool | Parameters | Differences |
|---|---|---|---|
gdal | gdal vector grid invdist |
|
|
grass | v.surf.idw |
|
|
qgis | gdal:gridinversedistance |
| None noted |
qgis | qgis:idwinterpolation |
| None noted |
terra | terra::interpIDW |
|
|
whiteboxtools | IdwInterpolation |
|
|
xarray-spatial | xrspatial.idw |
|
|