Converts a TIN to a raster dataset.
Parameters
| Expression | Explanation |
|---|---|
| Function Name | TinToRaster |
| <input tin> | A String representing the input TIN dataset. |
| <output raster> | A String - the full name of the output raster. |
| <cell size> | A Double representing the cell size of the output raster. |
ETGWPath used in the table below is the full path to ETGWRun.exe (E.G. "C:\Program Files\ETSpatial Techniques\ETSurface\ETSRun.exe")
| Language | Syntax |
|---|---|
| Python | subprocess.call([ETSPath, "TinToRaster", "input tin", "output raster", "cell size"]) |
| .NET using ETSRun.exe | StartInfo.FileName = ETSPath StartInfo.Arguments = "TinToRaster" "input tin" "output raster" "cell size" |
| .NET using ETSOutX.dll | TinToRaster(input tin, output raster, cell size) |
| ArcPy | arcpy.TinToRaster("input tin", "output raster", "cell size") |
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.