Create TLM Elevation Guide Bands from Features (Defense Mapping)

Summary

Creates banding features that can be used to generate the Elevation Guide Box element for a Topographic Line Map (TLM).

Usage

Syntax

CreateTLMElevationGuideBands_defense (AOI_Feature_Class, Contour_Features, Contour_Interval, Elevation_Field_Name, Elevation_Units, Output_Feature_Class, {Additional_Elevation_Features}, {Exclusion_Features})
ParameterExplanationData Type
AOI_Feature_Class

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

Feature Layer
Contour_Features

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_Interval

The range in elevation (distance) between contour features. This must be 10, 20, 40, or 80. The default value is 20.

Long
Elevation_Field_Name

The field within the contour feature layer from which the elevation values will be derived. The default value for this is ZV2.

String
Elevation_Units

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

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

The feature class that will contain the banding features. The default name is TLM<scale>_CreateTLMElevationGuide.

Feature Class
Additional_Elevation_Features
(Optional)

Feature layers that contain additional elevation information that can be used during band creation.

Feature Layer
Exclusion_Features
[Exclusion_Features,...]
(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. When excluding open water areas for coastal sheets, it is necessary to include these features as additional elevation features as well.

Feature Layer

Code Sample

CreateTLMElevationGuideBands example (stand-alone Python script)

This Python example create elevation bands over a feature in the TLM index.

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

# Import arcpy module
import arcpy

# Check out a DefenseMapping extension license
arcpy.CheckOutExtension("foundation")
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')

# set the Gp workspace environment 
arcpy.env.workspace = r'c:\data\work.gdb'

#Create 2 feature layers for processing
arcpy.MakeFeatureLayer_management(r'C:\data\MapIndex.gdb\MapIndex\TLM100_Index','tlm_layer')
arcpy.MakeFeatureLayer_management(r'C:\data\work.gdb\contours','contours_layer')

# Select a single TLM feature
arcpy.SelectLayerByAttribute_management('tlm_layer',"NEW_SELECTION","NRN='V695X2453'")

# execute the tool - output will be written to the gp workspace 
arcpy.CreateTLMElevationGuideBands_defense('tlm_layer','contours_layer',"20","zv2","Meters",'TlmGuideBands')

# Check in the extensions
arcpy.CheckInExtension("foundation")
arcpy.CheckInExtension("defense")

Environments

Related Topics

Licensing Information

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

12/20/2012