TIN Contour (3D Analyst)
摘要
Creates a feature class containing a set of contours generated from a functional surface.
The output feature class is 2D and contains an attribute with contour values.
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 Surface Contour tool.
插图
用法
-
Use the interval and base contour options to tailor the extent and resolution of the output feature class.
-
Use the out contour field data to convert the feature class to 3D.
-
In certain instances the last valid contour line may not be produced when creating contours using TIN surfaces. This is an algorithmic limitation common to computer contouring software. To ensure that all valid contours are generated, add a very small negative value to the base contour field to slightly shift the data.
语法
参数 | 说明 | 数据类型 |
in_tin |
The surface from which the contours will be interpolated. | Tin Layer |
out_feature_class |
The output feature class. | Feature Class |
interval |
The interval between the contours. | Double |
base_contour (可选) |
Along with the index interval, the base height is used to determine what contours are produced. The base height is a starting point from which the index interval is either added or subtracted. By default, the base contour is 0.0. | Double |
contour_field (可选) |
The field containing contour values. | String |
contour_field_precision (可选) |
The precision of the contour field. Zero specifies an integer, and the numbers 1–9 indicate how many decimal places the field will contain. By default, the field will be an integer (0). | Long |
index_interval (可选) |
The difference, in Z units, between index contours. The value specified should be evenly divisible by the contour interval. Typically, it’s five times greater. Use of this parameter adds an attribute field to the output feature class that’s used to differentiate index contours from regular contours. | Double |
index_interval_field (可选) |
The name of the field used to record whether a contour is a regular or an index contour. By default, the value is ‘Index’. | String |
z_factor (可选) |
Specifies a factor by which to multiply the surface heights. Used to convert z units to x and y units. | Double |
代码示例
The following Python Window script demonstrates how to use the TIN Contour function in immediate mode.
Missing source code file