ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • Help
  • Sign Out
ArcGIS Desktop

ArcGIS Online

The mapping platform for your organization

ArcGIS Desktop

A complete professional GIS

ArcGIS Enterprise

GIS in your enterprise

ArcGIS Developers

Tools to build location-aware apps

ArcGIS Solutions

Free template maps and apps for your industry

ArcGIS Marketplace

Get apps and data for your organization

  • Documentation
  • Support
Esri
  • Sign In
user
  • My Profile
  • Sign Out

ArcMap

  • Home
  • Get Started
  • Map
  • Analyze
  • Manage Data
  • Tools
  • Extensions

Create Elevation Guide Data

  • Summary
  • Usage
  • Syntax
  • Code sample
  • Environments
  • Licensing information

Summary

ArcGIS Defense Mapping cartographic production tool that creates data required for an Elevation Guide Box in defense-specific map templates. This tool uses banding and thinning tools to create elevation bands, spot heights, and hydro features for the guide box.

Usage

  • If the Hydro Exclusion Feature Class parameter is not set, Product Type is used to locate exclusion hydro features in Input Geodatabase. For MTM* product types, the tool searches for a CoastA feature class in an MGCP feature dataset. For TM* product types, the tool searches for a HydrographySrf feature class in a TDS feature dataset.

  • Product Type sets the contour interval. For products TM25, TM50, and MTM50, the contour interval is set to 20. For products TM100 and MTM100, the contour interval is set to 40.

  • If Spot Height Features is not set, Product Type and Version are used to locate spot height features in Input Geodatabase. For MTM* product types, the tool uses TRD_3 or TRD_4, TRD_4_1, TRD_4_2, TRD_4_3, TRD_4_4, TRD_4_5, TRD_4_5_1, or TRD_4_6 data model dataset naming conventions. For TM* product types, the tool searches for a HypsographyPnt feature class in a TDS feature dataset.

  • If the Hydro Line Features parameter is not set, Product Type is used to locate hydro line features. For MTM* product types, the tool searches for a WatrcrsL feature class in an MGCP feature dataset. For TM* product types, it searches for a HydrographyCrv in a TDS feature dataset.

  • If the Hydro Area Features parameter is not set, Product Type is used to locate hydro area features. For MTM* product types, the tool searches for a WatrcrsA feature class in an MGCP feature dataset. For TM* product types, it searches for a HydrographySrf in a TDS feature dataset.

Syntax

arcpy.defense.CreateElevationGuideData(input_geodatabase, input_area_of_interest, product_type, data_model_version, input_rasters, {input_hydro_exclusion_features}, {minimum_feature_area}, {smoothing_tolerance}, {input_spot_height_features}, {input_hydro_lines}, {input_hydro_areas}, {minimum_hydro_order}, {minimum_feature_size}, {in_number_of_bands}, {in_contour_interval})
ParameterExplanationData Type
input_geodatabase

The geodatabase that contains the CARTO feature dataset and EGB* feature classes. Data created for the Elevation Guide Box is appended to the feature classes in this geodatabase.

Workspace
input_area_of_interest

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.

Layer
product_type

Specifies the type of Defense Mapping cartographic product that will include an Elevation Guide Box. The product_type parameter is used with the data_model_version parameter to refine input hydro exclusion, line, and area features, and input spot height features.

  • MTM50 —An Elevation Guide Box for an MTM50 product will be used.
  • MTM100 —An Elevation Guide Box for an MTM100 product will be used.
  • TM25 —An Elevation Guide Box for a TM25 product will be used.
  • TM50 —An Elevation Guide Box for a TM50 product will be used.
  • TM100 —An Elevation Guide Box for a TM100 product will be used.
String
data_model_version

Specifies the Defense Mapping data model version. This parameter is used with the product_type parameter to refine input hydro exclusion, line, and area features, and input spot height features.

  • TDS_6_1 —The data model for TM* & JOG* product types will be used.
  • TDS_7 —The data model for TM* & JOG* product types will be used.
  • TDS_7_1 —The data model for TM* & JOG* product types will be used.
  • TRD_4_2 —The data model for MTM* product types will be used.
  • TRD_4_3 —The data model for MTM* product types will be used.
  • TRD_4_4 —The data model for MTM* product types will be used.
  • TRD_4_5 — The data model for MTM* product types will be used.
  • TRD_4_5_1 —The data model for MTM* product types will be used.
  • TRD_4_6 —The data model for MTM* product types will be used.
String
input_rasters
[input_rasters,...]

The raster or rasters that will be used to create elevation bands and supply elevation values to Elevation Guide Box data. If you specify more than one raster, all rasters must have the same bit depth and number of bands.

Raster Layer
input_hydro_exclusion_features
(Optional)

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

Feature Layer
minimum_feature_area
(Optional)

The minimum area that will be used for output polygons created during the elevation banding process. The default is 0.00016 square decimal degrees.

Double
smoothing_tolerance
(Optional)

The smoothing tolerance that will be used by the Smooth Polygon tool during elevation banding processing. Smoothing adds vertices to sharp angles. Larger values create more generalized elevation bands. The default is 0.02 decimal degrees.

Linear Unit
input_spot_height_features
(Optional)

The feature layer or class that will contain spot heights. If this parameter is not set, the Product Type and Version (product_type and data_model_version in Python) parameters will control which feature class is used from the Input Geodatabase (input_geodatabase in Python) parameter.

Feature Layer
input_hydro_lines
(Optional)

The hydro line features that will be used in the Elevation Guide Box data. These features are generalized through a thinning process. If this parameter is not set, the Product Type parameter will control which feature class is used from the Input Geodatabase parameter.

Feature Layer
input_hydro_areas
(Optional)

The hydro area features that will be used in the Elevation Guide Box data. These features are generalized through a thinning process. If this parameter is not set, the Product Type parameter will control which feature class is used from the Input Geodatabase parameter.

Feature Layer
minimum_hydro_order
(Optional)

The minimum hydro order value that will be used to eliminate features. Hydro features that have a stream order value less than this value will be thinned. This value is used when generalizing input hydro lines and areas. The default value is 20.

Long
minimum_feature_size
(Optional)

The minimum area that will be used to eliminate small, nonmain hydro polygons. This value is used when generalizing input hydro areas. The default value is 0.

Double
in_number_of_bands
(Optional)

Specifies the number of guide bands that will be generated.

  • 1 —One guide band will be generated. This is the default.
  • 3 —Three guide bands will be generated.
  • 4 —Four guide bands will be generated.
Long
in_contour_interval
(Optional)

Specifies the contour interval that will be used to determine the closest contour available when calculating the band area. Bands are created with their limits aligned to the set contour interval, except low and high values, which will represent their actual calculated values.

  • 10 —A contour interval of 10 will be used.
  • 20 —A contour interval of 20 will be used. This is the default.
  • 40 —A contour interval of 40 will be used.
  • 80 —A contour interval of 80 will be used.
String

Code sample

CreateElevationGuideData example (Python window)

The following script demonstrates how to use the CreateElevationGuideData function.

# Importing necessary modules
from arcpy import management, defense, CheckOutExtension
from os import path

# Setting variables for tool input
index = r'C:\Program Files (x86)\ArcGIS\EsriDefenseMapping\Desktop10.5\ReferenceData\MapIndex.gdb\MapIndex\TLM50_Index'
selstring = "NRN = 'V795X16573'"
input_database = r'C:\Sample\MGCP_TRD_4_3.gdb'
raster = r'C:\Sample\Monterey.dt2'
hydroex = path.join(input_database, 'MGCP\CoastA')
spots = path.join(input_database, 'MGCP_Delta\ElevP')

# Creating an AOI feature layer and selecting single AOI
management.MakeFeatureLayer(index, 'AOI')
management.SelectLayerByAttribute('AOI', 'NEW_SELECTION', selstring)

# Running Create Elevation Guide Data tool
defense.CreateElevationGuideData(input_database, 'AOI', raster, 'MTM50', 'TRD_4_2', hydroex, spots, '#', '#', '#', '#', '#')

Environments

  • Current Workspace

Licensing information

  • Basic: No
  • Standard: No
  • Advanced: Requires Defense Mapping and Spatial Analyst and 3D Analyst

Related topics

  • An overview of the Utilities toolset

ArcGIS Desktop

  • Home
  • Documentation
  • Support

ArcGIS

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS
  • ArcGIS Developer
  • ArcGIS Solutions
  • ArcGIS Marketplace

About Esri

  • About Us
  • Careers
  • Esri Blog
  • User Conference
  • Developer Summit
Esri
Tell us what you think.
Copyright © 2021 Esri. | Privacy | Legal