Surface Length (3D Analyst)

许可等级:BasicStandardAdvanced

摘要

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.

法律声明法律声明:

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.

用法

语法

SurfaceLength_3d (in_surface, in_feature_class, {out_length_field}, {sample_distance}, {z_factor}, {method}, {pyramid_level_resolution})
参数说明数据类型
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
(可选)

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

String
sample_distance
(可选)

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
(可选)

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
(可选)

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

String
pyramid_level_resolution
(可选)

此工具将使用 terrain 金字塔等级的 z 容差或窗口大小分辨率。默认值为 0(z 容差),或全分辨率(窗口大小)。

Double

代码实例

SurfaceLength example 1 (Python window)

下面的示例演示了如何在 Python 窗口中使用此工具:

import arcgisscripting
gp = arcgisscripting.create()

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

环境

许可信息

ArcGIS for Desktop Basic: 需要 3D Analyst
ArcGIS for Desktop Standard: 需要 3D Analyst
ArcGIS for Desktop Advanced: 需要 3D Analyst
5/10/2014