Surface Length (3D Analyst)

Nivel de licencia:BasicStandardAdvanced

Resumen

Calculates the surface length for each polyline or polygon feature based on a raster, triangulated irregular network (TIN), or terrain dataset surface.

The surface length information is stored as an attribute of the input feature class.

HerenciaHerencia:

This is a deprecated tool. To learn more about how this tool works click here to view archived documentation. This functionality has been added to the Add Surface Information tool.

Uso

Sintaxis

SurfaceLength_3d (in_surface, in_feature_class, {out_length_field}, {sample_distance}, {z_factor}, {method}, {pyramid_level_resolution})
ParámetroExplicaciónTipo de datos
in_surface

The input raster, TIN, or terrain dataset whose values will be used for interpolation.

TIN layer; raster layer; terrain lLayer
in_feature_class

The input polygon or polyline feature class.

Feature layer
out_length_field
(Opcional)

The name of the attribute field to contain the surface length.

String
sample_distance
(Opcional)

The surface spacing at which the length is calculated. By default, the sampling distance is the natural densification of a TIN or the cell size of a raster.

Double
z_factor
(Opcional)

The factor multiplied by input surface values to store new values in the length field. The Z factor is used to convert z-units to match x,y units.

Double
method
(Opcional)

The interpolation method. For raster surfaces, the only option is BILINEAR. Select LINEAR or NATURAL_NEIGHBORS.

String
pyramid_level_resolution
(Opcional)

La tolerancia Z o la resolución del tamaño de la ventana del nivel de pirámide de terreno que utilizará esta herramienta. El valor predeterminado es 0, o resolución completa.

Double

Ejemplo de código

SurfaceLength example 1 (Python window)

El siguiente ejemplo muestra cómo usar de esta herramienta en la ventana Python:

import arcgisscripting
gp = arcgisscripting.create()

gp.CheckOutExtension("3D")
gp.workspace = "C:/data"
gp.SurfaceLength_3d("elevation_tin", "lines.shp", "Length3D")

Entornos

Información sobre licencias

ArcGIS for Desktop Basic: Requiere 3D Analyst
ArcGIS for Desktop Standard: Requiere 3D Analyst
ArcGIS for Desktop Advanced: Requiere 3D Analyst
5/9/2014