Rasterize TIN

The Rasterize TIN tool can be used to convert a vector triangular irregular network (TIN) to a raster grid using linear interpolation based on the planar equation for each triangular facet. The user must specify the name of the input vector TIN shapefile, which must be created using the Construct TIN tool. Additionally, the user must specify the name of the output raster file and either the grid resolution or the name of an existing raster file from which to derive the geographical extent and grid resolution. If a cell size (grid resolution) is specified, the output raster will derive its geographical extent from that of the input vector TIN.

See Also:

Scripting:

The following is an example of a Python script that uses this tool:

wd = pluginHost.getWorkingDirectory()
inputFile = wd + "TIN.shp"
outputFile = wd + "raster TIN.dep"
cellSize = "10.0"
baseFile = "not specified"
args = [inputFile, outputFile, cellSize, baseFile]
pluginHost.runPlugin("RasterizeTIN", args, False)

This is a Groovy script also using this tool:

def wd = pluginHost.getWorkingDirectory()
def nputFile = wd + "TIN.shp"
def outputFile = wd + "raster TIN.dep"
def cellSize = "not specified"
def baseFile = wd + "baseRaster.dep"
String[] args = [inputFile, outputFile, cellSize, baseFile]
pluginHost.runPlugin("RasterizeTIN", args, False)

Credits: