Decimate TIN Nodes (3D Analyst)

Summary

Creates a TIN using a subset of nodes from an input TIN.

Learn more about how Decimate TIN Nodes (3D Analyst) works

Illustration

DecimateTinNodes illustration

Usage

Syntax

DecimateTinNodes_3d (in_tin, out_tin, method, {copy_breaklines})
ParameterExplanationData 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.

  • ZTOLERANCE <z_tolerance_value> <max_node_value> Generalizes TIN within a specified vertical accuracy. An optional node limit can also be specified. This parameter is supplied as a string, so "ZTOLERANCE 0.5 5500" would represent a Z-tolerance value of 0.5 and a max node value of 5,500.
  • COUNT <max_node_value>Generalizes TIN by constraining its size to a specified node limit. This parameter is supplied as a string, so "COUNT 5500" would represent a maximum node count of 5,500.
Decimate
copy_breaklines
(Optional)

Indicates whether breaklines from the input TIN are copied over to the output.

  • BREAKLINESBreaklines will be copied.
  • NO_BREAKLINESBreaklines will not be copied. This is the default.
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