Skip To Content

Generate Elevation Guide Features


Creates data required for an elevation guide diagram surround element as required by various supported map product specifications. This tool leverages existing banding and thinning tools to generate output elevation band features, spot height features, and hydrology features.


  • The tool will create, at a minimum, the following feature classes in the target feature dataset:


    If input hydrology line or input hydrology area features are provided, the tool will create the EGB_HYDRO_A and EGB_HYDRO_L feature classes as required with a selection of thinned hydro features as determined by the Minimum Hydro Length and Minimum Hydro Area parameters.

    If input spot height features are provided, the tool will also create the EGB_SPOTS_P feature class and will populate this feature class with a selection of thinned spot heights based on the provided search distance.

    These feature classes will manage elevations bands and coastlines in a common format that can be used by product templates to preconfigure layers and required symbology for the elevation guide diagram.

  • The symbology for the elevation band features is intended to be separated between the band areas and lines to better support elevation band line masking requirements for overlapping spot height annotation.

  • The coastline features will only be generated if a set of hydro exclusion features are available when processing the elevation bands. Without these features, no hydro features will be created by the banding tools to identify the coastline as the AOI will be assumed to be 100 percent land.


GenerateElevationGuideFeatures_topographic (in_feature_dataset, area_of_interest, in_rasters, {hydro_exclusion_features}, {spot_height_features}, {hydro_line_features}, {hydro_area_features}, {contour_interval}, {bands_minarea}, {smooth_tolerance}, {number_of_bands}, {height_field}, {search_distance}, {hydroline_minlength}, {hydroline_minspacing}, {hydroarea_minlength}, {hydroarea_minwidth})

An existing feature dataset that will contain the EGB* feature classes. Data created for the elevation guide box is maintained in these feature classes in this feature dataset.

Feature Dataset

A feature layer with a single selected feature that defines a processing extent for banding operations and a clipping extent for spot heights, input hydro areas, and lines.


One or more rasters used to create elevation bands and supply elevation values to features created by the tool. If more than one raster is specified, all must have the same bit depth and number of bands.

Raster Layer

A feature layer that defines a large water body area to exclude from the elevation band area computation.

Feature Layer

Feature layer or class that contains spot heights.

Feature Layer

Hydrology line features used to generate the thinned hydrology dataset. These features are generalized through a thinning process.

Feature Layer

Hydrology area features used to generate the thinned hydrology dataset. These features are generalized through a thinning process.

Feature Layer

The contour interval used to determine the closest available contour when calculating the elevation band area. Elevation bands are created with their limits aligned to the chosen contour interval, except low and high values, which will represent their actual calculated values.

  • 10A contour interval of 10.
  • 20A contour interval of 20. This is the default.
  • 40A contour interval of 40.
  • 80A contour interval of 80.

The minimum area for output polygons. Features smaller than this value will be removed. The default 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 may result in an empty output dataset.


The tolerance used by the smoothing algorithm. The larger the value, the more generalized the output band features. The default is 0.002 decimal degrees.

Linear Unit

The number of elevation bands generated by the tool.

  • 1One elevation band will be generated.
  • 2Two elevation bands will be generated.
  • 3Three elevation bands will be generated.
  • 4Four elevation bands will be generated.

The field that identifies the elevation values of the spot height features. It is these values that will be evaluated during the thinning process.


The minimum distance between spot heights. The default is 0 Meters.

Linear Unit

The minimum length used to eliminate hydrographic features. The tool will thin hydro features that have a length less than this number. This value is used when generalizing Input Hydro Lines and Areas.

Linear Unit

Indicates the shortest distance between a hydrographic segment that is sensible to display at the output scale. If the spacing between two parallel trending features is smaller than this value, one of the features will be set as invisible. It defines a sense of the density of the resulting thinned hydrography. It should correspond to the distance between two parallel trending features that is visually significant to include at the final scale. When the density of features is too high (that is, the features are too closely spaced), at least one feature will be hidden. This can result in important features or features longer than the hydroline_minlength being hidden.

Linear Unit

The length used to split and classify hydrographic polygons as short or long. Polygons will be split at any location where the edge-to-edge distance is equal to the hydroarea_minlength.

Linear Unit

The width used to split and classify hydrographic polygons as narrow or wide. Polygons will be split at any location where the edge-to-edge distance is equal to the hydroarea_minwidth.

Linear Unit

Abgeleitete Ausgabe


The feature dataset with updated EGB* feature classes.

Feature Dataset


GenerateElevationGuideFeatures example (stand-alone script)

This Python stand-alone sample creates a dataset in a file geodatabase and also creates the Elevation Guide Data features in the dataset.

# Name:
# Description: Creating a dataset in a file geodatabase, and creating the Elevation Guide Data features in that dataset

# Import System Modules
import arcpy

# Check Out Extensions

# Setting the environment
arcpy.env.overwriteOutput = True

# Setting Local Variables
input_database = r'C:\ProProjects\Random\ElevationGuideData.gdb'
aoi = r'C:\Data\MapIndex.gdb\MapIndex\TLM50_Index'
raster = r'C:\Data\Rasters\Monterey.dt2'
hydro_exclusion = r'C:\Data\MGCP_TRD_4_4.gdb\MGCP\CoastA'
spot_features = r'C:\Data\MGCP_TRD_4_4.gdb\MGCP_Delta\ElevP'
hydro_lines = r'C:\Data\MGCP_TRD_4_4.gdb\MGCP\WatrcrsL'
hydro_areas = r'C:\Data\MGCP_TRD_4_4.gdb\MGCP\WatrcrsA'

# Getting spatial reference from spot features database
desc = arcpy.Describe(spot_features)
sr = desc.spatialReference

# Creating a dataset in the input database
input_dataset =, 'CARTO', sr).getOutput(0)

# Making a feature layer from the Area of Interest features, and selecting a single feature based on the NRN field, 'AOI_Index')'AOI_Index', 'NEW_SELECTION', "NRN = 'V795X16573'")

# Creating feature layers for spot and hydro features MakeFeatureLayer(hydro_exclusion, 'CoastA'), 'ElevP'), 'WatrcrsL'), 'WatrcrsA')

# Calling the Generate Elevation Guide Features tool to create the elevation guide data over Monterey
arcpy.topographic.GenerateElevationGuideFeatures(input_dataset, 'AOI_Index', raster, 'CoastA', 'ElevP', 'WatrcrsL',
                                                 'WatrcrsA', '20', '#', '#', '#', 'zvh', '600 METERS',
                                                 '50 METERS', '50 METERS', '50 METERS', '50 METERS')

# Check In Extensions


Dieses Werkzeug verwendet keine Geoverarbeitungsumgebungen.


  • Basic: Nein
  • Standard: Nein
  • Advanced: Erfordert Defense Mapping

Verwandte Themen