Inverse Distance Weighted (IDW) Interpolation

Running programmatically

Uses Inverse Distance Weighted Interpolation (IDW) to interpolate a raster from the input features.

Inputs:

Outputs:

Examples:

Output raster - Power = 0.5.

Output raster - Power = 2.

Output raster - Power = 15.

Notes:

Running Programmatically

(Go to TOP)

Parameters

Expression Explanation
Function Name IDW
<input dataset> A String representing the input layer. Must be of Point or Polyline type.
<output raster> A String - the full name of the output raster.
<cell size> A Double representing the cell size of the output raster.
<value field> A String representing the name of the field which values are going to be used for interpolation.
<power> A Number - see main description above.
<number of sources> A Number - see main description above.
{cutoff distance} A Double representing the Cutoff distance.

Running the function

ETSPath used in the table below is the full path to ETSRun.exe (E.G. "C:\Program Files\ETSpatial Techniques\ETSurface\ETSRun.exe")

Language Syntax
Python subprocess.call([ETSPath, "IDW", "input dataset", "output raster", "cell size", "value field", "power", "number of sources", "cutoff distance"])
.NET using ETSRun.exe StartInfo.FileName = ETSPath
StartInfo.Arguments = "IDW" "input dataset" "output raster" "cell size" "value field" "power" "number of sources" "cutoff distance"
.NET using ETSOutX.dll IDW(input dataset, output raster, cell size, value field, power, number of sources, cutoff distance)
ArcPy arcpy.IDW("input dataset", "output raster", "cell size", "value field", "power", "number of sources", "cutoff distance")

Notes:

(Go to TOP)