arcpy.3d.EditTin(in_tin, in_features, {constrained_delaunay})
|
名前
|
説明
|
データ タイプ
|
|
in_tin
|
処理対象の TIN データセット。
|
TIN Layer
|
|
in_features
[[in_features, height_field, tag_value, SF_type, use_z],...]
|
TIN への追加方法を定義する入力フィーチャおよびそれらに関連するプロパティ。
値テーブル列:
Input Features—The features that will be added to the TIN.
Height Field—The field from the input's attribute table that will provide the elevation for its features. The z- or m-values in the Shape field can be used along with any numeric field. Choosing the <None> option will result in the feature's elevation being interpolated from its surrounding 3D measurements.
Tag Field—A numeric attribute will be assigned to the TIN's data elements using values obtained from an integer field in the input feature's attribute table.
Type—The input feature's role in defining the TIN surface. The available options depend on the geometry of the input features. For line- and polygon-based surface feature types, the hard and soft designations for the surface feature type impact the way the line or polygon boundary is handled when interpolating a raster surface from the TIN dataset when using natural neighbor interpolation. A hard surface feature type represents a border with a sharp discontinuity in elevation, such as the edge of a cliff, a wall, or a curb on the side of the road. A soft surface feature type represents a border where the elevation is more smoothly defined.
Mass_Points—Elevation measurements will be incorporated as TIN nodes.
Hard_Line—Breakline features will define linear discontinuities in the TIN.
Soft_Line—Breakline features will define linear discontinuities in the TIN.
Hard_Clip—Polygon features will define the data area of the TIN surface.
Soft_Clip—Polygon features will define the data area of the TIN surface.
Hard_Erase—Polygon features will define interior voids in the data.
Soft_Erase—Polygon features will define interior voids in the data.
Hard_Replace—Polygon features will define areas of constant height.
Soft_Replace—Polygon features will define areas of constant height.
Hardvalue_Fill—Integer attributes will be assigned to nodes and triangle faces.
Softvalue_Fill—Integer attributes will be assigned to nodes and triangle faces.
Use Z—Specifies whether z- or m-values will be used when the SHAPE field is specified as the height source. Specifying True indicates that z-values will be used; specifying False indicates that m-values will be used.
|
Value Table
|
|
constrained_delaunay
(オプション)
|
TIN のブレークラインで使用される三角形分割法を指定します。
CONSTRAINED_DELAUNAY—The TIN will use constrained Delaunay triangulation, which will add each segment as a single edge. Delaunay triangulation rules are honored everywhere except along breaklines, which will not be densified.
DELAUNAY—The TIN will use Delaunay conforming triangulation, which may densify each segment of the breaklines to produce multiple triangle edges. This is the default.
|
Boolean
|
派生した出力
|
名前
|
説明
|
データ タイプ
|
|
derived_out_tin
|
更新された TIN。
|
TIN Layer
|
コードのサンプル
EditTin の例 1 (Python ウィンドウ)
次のサンプルは、Python ウィンドウでこのツールを使用する方法を示しています:
arcpy.env.workspace = "C:/data"
arcpy.ddd.EditTin("my_tin", "clip_polygon.shp <None> <None> hardclip false; "\
"new_points.shp Shape <None> masspoints true", "Delaunay")
EditTin の例 2 (スタンドアロン スクリプト)
次のサンプルは、スタンドアロン Python スクリプトでこのツールを使用する方法を示しています:
'''****************************************************************************
Name: EditTin Example
Description: This script demonstrates how to use the
EditTin tool to add features to a output of the CopyTin tool.
****************************************************************************'''
# Import system modules
import arcpy
# Set environment settings
arcpy.env.workspace = "C:/data/LAS"
# Set Local Variables
origTin = "elevation"
copyTin = "elev_copy"
inFCs = [["Clip_Polygon.shp", "<None>", "<None>", "hardclip", False],
["new_points.shp", "Shape", "<None>", "masspoints", True]]
# Run CopyTin
arcpy.ddd.CopyTin(origTin, copyTin, "CURRENT")
# Run EditTin
arcpy.ddd.EditTin(copyTin, inFCs, Delaunay)