Uses Inverse Distance Weighted Interpolation (IDW) to interpolate a raster from the input features.
Output raster - Power = 0.5.

Output raster - Power = 2.

Output raster - Power = 15.

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. |
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:
<> - required parameter
{} - optional parameter
The argument separator for StartInfo.Arguments is space. If a string might contain a space, you need to double quote it.