Create Spot Heights (Defense Mapping)

许可等级:BasicStandardAdvanced

摘要

Esri Defense Mapping cartographic production tool that creates elevation point features based on contour tops and depressions. Elevation points are created in each top and depression. Point height values are populated based on a digital elevation model.

用法

语法

CreateSpotHeights_defense (in_contour_features, contour_height_field, in_point_features, subtype, spot_height_field, in_raster)
参数说明数据类型
in_contour_features

Contours from which spot heights are computed.

Feature Layer
contour_height_field

Field in input contours that contains elevation values. Field type must be numeric.

Field
in_point_features

Existing points feature layer in which spot heights are created.

Feature Layer
subtype

Subtype from Spot Heights Layer in which spot height features are created.

String
spot_height_field

Field in the Spot Heights layer to which elevation values are written.

Field
in_raster
[in_raster,...]

Rasters used to derive highest or lowest elevations within contour tops or depressions.

Raster Layer

代码实例

CreateSpotHeights example (Python window)

The following code sample demonstrates how to execute the CreateSpotHeights tool.

# set gp environment
arcpy.env.workspace="c:/data"
arcpy.env.addOutputsToMap = True

# variables for the CreateSpotHeights tool
# Contour.gdb is located in c:/data
contourFeatures="Contour.gdb/MGCP/ContourL50K"
contourHeightField="ZVH"
# defense.gdb is located in c:/data
points="defense.gdb/Features/ElevP"
subtype="SpotElevationPoint"
spotHeightField="zv2"
# raster N35.DT2 is located in c:/data/W121
raster="W121/N35.DT2"

# execute the CreateSpotHeights tool
arcpy.CreateSpotHeights_defense(contourFeatures, contourHeightField, points, subtype, spotHeightField, raster)

环境

相关主题

许可信息

ArcGIS for Desktop Basic: 否
ArcGIS for Desktop Standard: 需要 Defense Mapping
ArcGIS for Desktop Advanced: 需要 Defense Mapping
4/27/2014