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).
使用法
-
It is recommended that you use contour lines that have been collected using meters.
The feature layers specified for the Contour Feature Class and Exclusion Feature Classes parameters must all contain the field listed in the Contour Elevation Field parameter.
The Elevation Units parameter value applies to all the feature layers specified for the Contour Feature Class and Exclusion Feature Classes parameters.
構文
パラメータ | 説明 | データ タイプ |
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.
| 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 |
コード サンプル
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")