Creates a new TIN using subset of the nodes of the input TIN. The algorithm uses a Z Tolerance to generalize the input TIN and maintain the accuracy
Input TIN.
Output TIN.
Parameters
| Expression | Explanation |
|---|---|
| Function Name | DecimateTin |
| <input tin> | A String representing the input TIN dataset. |
| <output tin> | A String - the full name of the output tin. |
| <Z Tolerance> | A Double representing the Z Tolerance. |
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, "DecimateTin", "input tin", "output tin", "Z Tolerance"]) |
| .NET using ETSRun.exe | StartInfo.FileName = ETSPath StartInfo.Arguments = "DecimateTin" "input tin" "output tin" "Z Tolerance" |
| .NET using ETSOutX.dll | DecimateTin(input tin, output tin, Z Tolerance) |
| ArcPy | arcpy.DecimateTin("input tin", "output tin", "Z Tolerance") |
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.