Create JOG Elevation Tint Bands (Defense Mapping)

Résumé

Converts contour polylines into an elevation tint band polygon feature class that can be used to create elevation tint bands that represent different elevation levels on a Joint Operations Graphic (JOG).

Usage

Syntaxe

CreateJOGElevationTintBands_defense ({AOI_Feature_Class}, Contour_Feature_Class, Contour_Elevation_Field, Contour_Elevation_Units, Output_Feature_Class, {Exclusion_Feature_Classes})
ParamètreExplicationType de donnée
AOI_Feature_Class
(Facultatif)

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 value.
  • 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
Exclusion_Feature_Classes
[Exclusion_Feature_Classes,...]
(Facultatif)

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

Exemple de code

CreateJOGElevationTintBands example (stand-alone Python script)

In this stand-alone Python script, the elevation tint bands are generated for the 1501SNI1108 feature.

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

# Import arcpy module
import arcpy

# Check out a DefenseMapping extension license
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')

# Local variables:
in_layer = "C:/Data/Index.gdb/JOG"
contour_feature_class = "C:/Data/Defense/VMap1JOG.mdb/ContourL"
contour_elevation_field = "zv2"
contour_elevation_units = "Meters"
exclusion_feature_classes = "C:/Data/Defense/VMap1JOG.mdb/CoastA"
aoi_feature_class = "JOG"
output_feature_class = "C:/Data/Defense/VMap1JOG.mdb/JOG_CreateJOGElevationTintBands"

# Select JOG feature
arcpy.SelectLayerByAttribute_management(in_layer, "NEW_SELECTION", "\"MSNAME\" = '1501SNI1108'")

# Execute Create JOG Elevation Tint Bands process
arcpy.CreateJOGElevationTintBands_defense(aoi_feature_class, contour_feature_class, contour_elevation_field, contour_elevation_units, output_feature_class, exclusion_feature_classes)

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

Environnements

Cet outil ne fait appel à aucun environnement de traitement de données géographiques

Informations de licence

ArcView : Non
ArcEditor : Non
ArcInfo : RequiertDefense Mapping

10/2/2010