Contours To Raster

Running programmatically

Interpolates a raster surface from contour polylines.

Inputs:

Outputs:

Example:

Output raster (DEM).

Notes:

Running Programmatically

(Go to TOP)

Parameters

Expression Explanation
Function Name ContoursToRaster
<input dataset> A String representing the input layer. Must be of Polyline type.
<output raster> A String - the full name of the output raster.
<elevation field> A String representing the name of the field which values are going to be used for interpolation. Use "Shape" to use the feature Z values.
<cell size> A Double representing the cell size of the output raster.

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, "ContoursToRaster", "input dataset", "output raster", "elevation field", "cell size"])
.NET using ETSRun.exe StartInfo.FileName = ETSPath
StartInfo.Arguments = "ContoursToRaster" "input dataset" "output raster" "elevation field" "cell size"
.NET using ETSOutX.dll ContoursToRaster(input dataset, output raster, elevation field, cell size)
ArcPy arcpy.ContoursToRaster("input dataset", "output raster", "elevation field", "cell size")

Notes:

(Go to TOP)