Create JOG Elevation Tint Bands from features (Defense Mapping)

Summary

Converts contour polylines into elevation tint band polygon features. The features can be used to represent different elevation levels on a Joint Operations Graphic (JOG).

Usage

Syntax

CreateJOGElevationTintBands_defense ({AOI_Feature_Class}, Contour_Feature_Class, Contour_Elevation_Field, Contour_Elevation_Units, Output_Feature_Class, Output_Feature_Class_Units, {Exclusion_Feature_Classes})
ParameterExplanationData Type
AOI_Feature_Class
(Optional)

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.
  • 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
Output_Feature_Class_Units

Output band distance units.

  • METERS
  • FEET
String
Exclusion_Feature_Classes
[Exclusion_Feature_Classes,...]
(Optional)

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

Code Sample

CreateJOGElevationTintBands example (stand-alone Python script)

This stand-alone Python script generates elevation tint bands for a TLM feature.

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

# Import arcpy module
import arcpy

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

# 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')

# set the gp environment 
arcpy.env.workspace = r'c:\data\work.gdb'
arcpy.env.overwriteOutput = "true"

# create 2 feature layers for processing
arcpy.MakeFeatureLayer_management(r'C:\data\MapIndex.gdb\MapIndex\JOG_Index','JOG')
arcpy.MakeFeatureLayer_management(r'C:\data\work.gdb\contours','contours_lyr')

# select a single AOI feature from JOG
arcpy.SelectLayerByAttribute_management('JOG',"NEW_SELECTION","NRN='1501ANI1105'")

# execute the Create JOG Elevation Tint Bands tool - output is written to the gp workspace
arcpy.CreateJOGElevationTintBands_defense('JOG','contours_lyr',"zv2","Meters",'JOGElevTintBands',"Meters","")

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

Environments

Related Topics

Licensing Information

ArcView: No
ArcEditor: Requires Defense Mapping
ArcInfo: Requires Defense Mapping

12/20/2012