Create JOG Elevation Tint Bands (Defense Mapping)

汇总

Converts contour polylines into an elevation tint band polygon feature class that can be used to create elevation tint bands that represent different elevation levels on a Joint Operations Graphic (JOG).

用法

语法

CreateJOGElevationTintBands_defense ({AOI_Feature_Class}, Contour_Feature_Class, Contour_Elevation_Field, Contour_Elevation_Units, Output_Feature_Class, {Exclusion_Feature_Classes})
参数说明数据类型
AOI_Feature_Class
(可选)

The area of interest for the JOG. This feature is typically stored in an index feature class.

Feature Layer
Contour_Feature_Class

The feature layer that contains the contours. The information for the output bands will be derived from these features. This must be a polyline feature class.

Feature Layer
Contour_Elevation_Field

The field in the contour feature layer from which the elevation values will be derived.

Field
Contour_Elevation_Units

The unit of measurement that has been used to collect the contours and exclusion features.

  • METERSThe contours and exclusion features have been collected using meters. This is the default value.
  • FEETThe contours and exclusion features have been collected using feet.
String
Output_Feature_Class

The feature class that will contain the banding features.

Feature Class
Exclusion_Feature_Classes
[Exclusion_Feature_Classes,...]
(可选)

Feature layers that define areas for processing exclusion. Excluded areas will not be taken into account when calculating the percent area ratio for the output bands.

Feature Layer

代码示例

CreateJOGElevationTintBands example (stand-alone Python script)

In this stand-alone Python script, the elevation tint bands are generated for the 1501SNI1108 feature.

# CreateJOGElevationTintBands.py
# Description: Create banding features from a single JOG feature
# Author: ESRI
# Date: June 2010

# Import arcpy module
import arcpy

# Check out a DefenseMapping extension license
arcpy.CheckOutExtension("defense")

# Import the Defense Mapping toolbox - you may have to alter this path
arcpy.ImportToolbox(r'C:/Program Files/ArcGIS/Desktop10.0/ArcToolbox/Toolboxes/Defense Mapping Tools.tbx')

# Local variables:
in_layer = "C:/Data/Index.gdb/JOG"
contour_feature_class = "C:/Data/Defense/VMap1JOG.mdb/ContourL"
contour_elevation_field = "zv2"
contour_elevation_units = "Meters"
exclusion_feature_classes = "C:/Data/Defense/VMap1JOG.mdb/CoastA"
aoi_feature_class = "JOG"
output_feature_class = "C:/Data/Defense/VMap1JOG.mdb/JOG_CreateJOGElevationTintBands"

# Select JOG feature
arcpy.SelectLayerByAttribute_management(in_layer, "NEW_SELECTION", "\"MSNAME\" = '1501SNI1108'")

# Execute Create JOG Elevation Tint Bands process
arcpy.CreateJOGElevationTintBands_defense(aoi_feature_class, contour_feature_class, contour_elevation_field, contour_elevation_units, output_feature_class, exclusion_feature_classes)

# Check in the Defense Mapping extension
arcpy.CheckInExtension("defense")

环境

此工具不使用任何地理处理环境

许可信息

ArcView: 否
ArcEditor: 否
ArcInfo: 需要 Defense Mapping

9/30/2010