Decimate TIN Nodes (3D Analyst)
Resumen
Creates a TIN using a subset of nodes from an input TIN.
Ilustración
Uso
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.
Sintaxis
DecimateTinNodes_3d (in_tin, out_tin, method, {copy_breaklines})
Parámetro | Explicación | Tipo de datos |
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 (Opcional) |
Indicates whether breaklines from the input TIN are copied over to the output.
| Boolean |
Ejemplo de código
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)
Entornos
Temas relacionados
Información de licencia
ArcView: Requiere 3D Analyst
ArcEditor: Requiere 3D Analyst
ArcInfo: Requiere 3D Analyst
7/10/2012