需要 3D Analyst 许可。
描述
Calculates the volumetric and surface area between polygons of an input feature class and a TIN surface.
使用方法
The input polygons and TIN need to overlap in horizontal extent in order for surface area or volume to be calculated.
语法
arcpy.ddd.TinPolygonVolume(in_tin, in_feature_class, in_height_field, {reference_plane}, {out_volume_field}, {surface_area_field})
参数 | 说明 | 数据类型 |
in_tin | The input TIN. | TIN Layer |
in_feature_class | The input polygon feature class. | Feature Layer |
in_height_field | The name of the field containing polygon reference plane heights. | String |
reference_plane (可选) | The keyword used to indicate whether volume and surface area are calculated ABOVE the reference plane height of the polygons, or BELOW. The default is BELOW. | String |
out_volume_field (可选) | The name of the output field used to store the volume result. The default is Volume. | String |
surface_area_field (可选) | The name of the output field used to store the surface area result. The default is SArea. | String |
派生输出
名称 | 说明 | 数据类型 |
output_feature_class | Feature Layer |
代码示例
TINPolygonVolume example (Python window)
The following Python window script demonstrates how to use the TINPolygonVolume function in immediate mode.
import arcgisscripting
gp = arcgisscripting.create()
gp.CheckOutExtension("3D")
gp.workspace = "C:/data"
gp.TinPolygonVolume_3d("tin","PolyVol.shp", "Height", "ABOVE", "Volume", "S_Area")
环境
许可信息
- Basic: 需要 3D Analyst
- Standard: 需要 3D Analyst
- Advanced: 需要 3D Analyst