サーフェス コンター(Surface Contour) (3D Analyst)

サマリ

テレインまたは TIN サーフェスを使用して取得されるコンター ラインを作成します。

[サーフェス コンター(Surface Contour)](3D Analyst)の機能の詳細

TIN Contour illustration

使用法

構文

SurfaceContour_3d (in_surface, out_feature_class, interval, {base_contour}, {contour_field}, {contour_field_precision}, {index_interval}, {index_interval_field}, {z_factor}, {pyramid_level_resolution})
パラメータ説明データ タイプ
in_surface

入力 テレインまたは TIN データセット。

Terrain Layer; TIN Layer
out_feature_class

出力フィーチャクラス。

Feature Class
interval

コンターの間隔。

Double
base_contour
(オプション)

インデックス間隔とともに基準高度を使用して、生成するコンターを決定します。基準高度は、インデックス間隔を加算または減算する際の基準です。デフォルトでは、ベース コンターは 0.0 です。

Double
contour_field
(オプション)

出力フィーチャクラスの各ラインに関連付けられたコンター値を格納するフィールド。

String
contour_field_precision
(オプション)

コンター フィールドの精度。0 は整数を指定し、1 ~ 9 の数値はフィールドに含まれる小数点以下の桁数を表します。デフォルトでは、フィールドは整数(0)です。

Long
index_interval
(オプション)

インデックス コンター間の標高の差分を指定するオプションの値。この値は通常、コンター間隔の 5 倍です。このパラメータを使用して、[インデックス間隔フィールド] で定義された整数フィールドを出力フィーチャクラスの属性テーブルに追加します。ここでは 1 の値でインデックス コンターが定義されます。

Double
index_interval_field
(オプション)

等値線がインデックス コンターであるかどうかを指定するフィールドの名前。これは、[インデックス間隔] が定義されている場合のみ使用します。デフォルトでは、フィールド名は「インデックス」です。

String
z_factor
(オプション)

サーフェスの高さを乗算して、Z 単位を XY 単位に変換するための係数を指定します。[Z 係数] パラメータは、ラスタおよび TIN の結果にのみ影響し、テレイン データセットには影響しません。

Double
pyramid_level_resolution
(オプション)

The z-tolerance or window size resolution of the terrain pyramid level that will be used by this tool. The default is 0, or full resolution.

Double

コードのサンプル

SurfaceContour(サーフェス コンター)の例 1(Python ウィンドウ)

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.SurfaceContour_3d("sample.gdb/featuredataset/terrain", "contour.shp", 10)
SurfaceContour(サーフェス コンター)の例 2(スタンドアロン スクリプト)

The following sample demonstrates the use of this tool in a stand-alone Python script:

'''****************************************************************************
Name: SurfaceContour Example
Description: This script demonstrates how to use the 
             SurfaceContour 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
inSurface = "sample.gdb/featuredataset/terrain"
outContour = arcpy.CreateUniqueName("contour.shp")

#Execute SurfaceContour
arcpy.SurfaceContour_3d(inSurface, outContour, 10)

del inSurface, outContour, arcpy

環境

関連項目

ライセンス情報

ArcView: 必須 3D Analyst
ArcEditor: 必須 3D Analyst
ArcInfo: 必須 3D Analyst

7/10/2012