3D Analyst のライセンスで利用可能。
サマリ
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.
使用法
Use a smaller sampling distance to increase the accuracy of the surface length calculations.
Use {out_length_field} to give the length field a custom name.
Only polyline and polygon feature classes are valid inputs for this 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 (オプション) | このツールが使用するテレイン ピラミッド レベルの Z 許容値またはウィンドウサイズの解像度。デフォルト値は 0 (最大解像度) です。 | 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