Decimate TIN Nodes (3D Analyst)
Summary
Creates a TIN using a subset of nodes from an input TIN.
Illustration
Usage
The following decimation options are available:
- Z-Tolerance—Generates the output TIN that is within a known vertical accuracy of the input TIN.
- Count—Generates the output TIN by limiting the number of nodes that are retained from the input TIN.
-
When using the Z Tolerance option, the vertical tolerance should be given in the Z units of the input TIN.
Syntax
DecimateTinNodes_3d (in_tin, out_tin, method, {copy_breaklines})
Parameter | Explanation | Data Type |
in_tin |
The input TIN. | TIN Layer |
out_tin |
The output TIN dataset. | TIN |
method "ZTOLERANCE <z_tolerance_value> <max_node_value>" or "COUNT <max_node_value>" |
Specifies the decimation method for selecting a subset of nodes from the input TIN.
| Decimate |
copy_breaklines (Optional) |
Indicates whether breaklines from the input TIN are copied over to the output.
| Boolean |
Code Sample
DecimateTINNodes example 1 (Python window)
The following sample demonstrates the use of this tool in the Python window:
import arcpy from arcpy import env arcpy.CheckOutExtension("3D") env.workspace = "C:/data" arcpy.DecimateTinNodes_3d("tin", "tin_simple", "COUNT 5000" "BREAKLINES")
DecimateTINNodes example 2 (stand-alone script)
The following sample demonstrates the use of this tool in a stand-alone Python script:
'''**************************************************************************** Name: DecimateTinNodes Example Description: This script demonstrates how to use the DecimateTinNodes tool. ****************************************************************************''' # Import system modules import arcpy from arcpy import env # Obtain a license for the ArcGIS 3D Analyst extension arcpy.CheckOutExtension("3D") # Set environment settings env.workspace = "C:/data" # Set Local Variables inTin = "elevation" method = "COUNT 5000" copyBrk = "BREAKLINES" # Ensure output name is unique outTin = arcpy.CreateUniqueName("simple_elev") #Execute DecimateTinNodes arcpy.DecimateTinNodes_3d(inTin, outTin, method, copyBrk)
Environments
Related Topics
Licensing Information
ArcView: Requires 3D Analyst
ArcEditor: Requires 3D Analyst
ArcInfo: Requires 3D Analyst
6/10/2013