Create Smooth TLM Elevation Guide Bands From Raster (Defense Mapping)


Creates smooth band features for an Elevation Guide Box surround element. This element is frequently used on defense map products such as Topographic Line Maps (TLMs). Band features refer to elevation bands derived from a raster.



CreateSmoothTLMBandsfromRaster_defense (Input_Raster, Output_Feature_Class, Contour_Interval, Minimum_Feature_Area, Smoothing_Tolerance, {Input_Area_of_Interest_Features}, {Area_of_Interest_Field}, {Input_Hydro_Exclusion_Features})
ParameterExplanationData Type

The input raster layer.

Raster Layer

The output elevation guide band feature class.

Feature Class

Contour interval in meters. The interval must be either 10, 20, or 40.


Sets a minimum area for output polygons. Features smaller than this value will be removed. The default value is 0.00016 square decimal degrees.

If you are creating an output dataset with a projected coordinate system, this value should reflect the square units of that coordinate system (for example, square meters for a UTM dataset). Otherwise, the default value might result in an empty output dataset.


Sets a tolerance used by the Smooth Polygon tool. The larger the value, the more generalized the output band features.

Linear Unit

The features that will define the area to process.

Feature Layer

Field containing a unique identifier for each map sheet.


Feature layers or classes that define large water body areas to exclude from the elevation band area calculations.

Feature Layer

Code Sample

CreateSmoothTLMBandsfromRaster example (Python window)

This Python window code sample creates a raster layer from production mapping sample data. The script runs the CreateSmoothTLMBandsfromRaster function against the raster layer and writes the output to a file geodatabase in the c:\data folder. You need to have the Spatial Analyst and Production Mapping extensions enabled.

# Description: Creates smooth band features for an Elevation Guide Box surround element
# Author: ESRI
# Date: April 2011

# the raster is part of the production mapping sample data
terrain = "C:\\data\\dted\\w117\\n32.dt0"
raster_layer = "raster_layer"

# an output workspace
smoothTLMbands = "C:\\data\\work.gdb\\smoothTLMbands"

# import the production mapping toolbox
arcpy.ImportToolbox(r'C:\Program Files\ArcGIS\Desktop10.0\ArcToolbox\Toolboxes\Production Mapping Tools.tbx')

# Make a Raster Layer from the dted
arcpy.MakeRasterLayer_management(terrain, raster_layer, "", "-117.004166666667 31.9958333333333 -115.995833333333 33.0041666666667", "")

# Execute Create Generalized Bands - this will generate the smoothTLMbands output
arcpy.CreateSmoothTLMBandsfromRaster_defense(raster_layer, smoothTLMbands, "40", "0.00016", "0.02 DecimalDegrees", "", "", "")


Related Topics

Licensing Information

ArcView: No
ArcEditor: No
ArcInfo: Requires Defense Mapping and Spatial Analyst