Interpolates contours from a TIN. The contours can be created as PolylineZs with constant Z values representing the elevation.
Parameters
| Expression | Explanation |
|---|---|
| Function Name | InterplolateContoursTin |
| <input tin> | A String representing the input TIN dataset. |
| <output dataset> | A String - the full name of the output polyline dataset. |
| <base contour> | A Double representing the elevation of the contour from which to begin generation of contours. |
| <contour interval> | A Double representing the contour interval. |
| {3D contours} | A Boolean indicating whether the output to be Polyline or PolylineZ feature class. |
| {smoothness} | An Integer cpecifying that the output contours will be smoother using the parameter value. |
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, "InterplolateContoursTin", "input tin", "output dataset", "base contour", "contour interval", "3D contours", "smoothness"]) |
| .NET using ETSRun.exe | StartInfo.FileName = ETSPath StartInfo.Arguments = "InterplolateContoursTin" "input tin" "output dataset" "base contour" "contour interval" "3D contours" "smoothness" |
| .NET using ETSOutX.dll | InterplolateContoursTin(input tin, output dataset, base contour, contour interval, 3D contours, smoothness) |
| ArcPy | arcpy.InterplolateContoursTin("input tin", "output dataset", "base contour", "contour interval", "3D contours", "smoothness") |
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.