ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • Aide
  • Sign Out
ArcGIS Desktop

ArcGIS Online

La plateforme cartographique de votre organisation

ArcGIS Desktop

Un SIG professionnel complet

ArcGIS Enterprise

SIG dans votre entreprise

ArcGIS Developers

Outils de création d'applications de localisation

ArcGIS Solutions

Modèles d'applications et de cartes gratuits pour votre secteur d'activité

ArcGIS Marketplace

Téléchargez des applications et des données pour votre organisation.

  • Documentation
  • Support
Esri
  • Se connecter
user
  • Mon profil
  • Déconnexion

ArcMap

  • Accueil
  • Commencer
  • Carte
  • Analyser
  • Gérer les données
  • Outils
  • Extensions

Create JOG Elevation Tint Bands from Features

  • Résumé
  • Utilisation
  • Syntaxe
  • Exemple de code
  • Environnements
  • Informations de licence

Résumé

Converts contour polylines into elevation tint band polygon features. The features can be used to represent different elevation levels on a Joint Operations Graphic (JOG).

Utilisation

  • Use contour lines that have been collected using meters.

  • The feature layers specified for the Contour Feature Class and Exclusion Feature Classes parameters must all contain the field listed in the Contour Elevation Field parameter.

  • The Elevation Units parameter value applies to all the feature layers specified for the Contour Feature Class and Exclusion Feature Classes parameters.

  • This tool may generate holes around the corners of AOI Feature Class features. Set a high AOI Buffer value to correct this. Do not use a negative value for this parameter.

Syntaxe

arcpy.defense.CreateJOGElevationTintBands(AOI_Feature_Class, AOI_Field, AOI_Buffer, Contour_Feature_Class, Contour_Elevation_Field, Contour_Elevation_Units, Output_Feature_Class, Output_Feature_Class_Units, {Exclusion_Feature_Classes})
ParamètreExplicationType de données
AOI_Feature_Class

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

Feature Layer
AOI_Field

Champ qui contient un identifiant unique pour chaque zone d'intérêt.

Field
AOI_Buffer

Zone tampon à appliquer aux entités en entrée d'une zone d'intérêt. La zone tampon développe la géométrie Classe d'entités AOI de façon à inclure les entités dans la classe d'entités des isolignes qui se trouvent au-delà de la limite d'une zone d'intérêt (AOI). Ceci peut améliorer la précision du calcul d'étirement qui est utilisé pour générer des polygones.

Linear unit
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.

  • METERS —The contours and exclusion features have been collected using meters. This is the default.
  • FEET —The contours and exclusion features have been collected using feet.
String
Output_Feature_Class

The feature class that will contain the banding features.

Feature Class
Output_Feature_Class_Units

Output band distance units.

  • METERS —Units in meters.
  • FEET —Units in feet.
String
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 script)

The following stand-alone script demonstrates how to use the CreateJOGElevationTintBands tool.

# Name: CreateJOGElevationTintBands_Example.py
# Description: Create banding features from a single JOG feature
# Requirements: ArcGIS Defense Mapping solution

# Import arcpy module
import arcpy

# Check out a DefenseMapping extension license
arcpy.CheckOutExtension("defense")
arcpy.CheckOutExtension("foundation")

# set the gp environment
arcpy.env.workspace = "c:\\data\\MapIndex.gdb"
arcpy.env.overwriteOutput = "true"

# create a feature layer for the AOI_Feature_Class parameter
aoiPath = "MapIndex\\JOG_Index"
arcpy.MakeFeatureLayer_management(aoiPath,"aoiFeatures")
print arcpy.GetMessages()

# create a feature layer for the Contour_Feature_Class parameter
contoursPath = "ContourL"
arcpy.MakeFeatureLayer_management(contoursPath,"contourFeatures")
print arcpy.GetMessages()

# create a where clause for select by layer
whereClause = "NRN='1501ANI1105'"

# select a single AOI feature from JOG
arcpy.SelectLayerByAttribute_management("aoiFeatures","NEW_SELECTION",whereClause)
print arcpy.GetMessages()

# Variables for the tool
aoiField = "NRN"
aoiBuffer = "100 meters"
contourElevField = "elevation"
outputFeatureClass = "jogElevTintBands"

# execute the Create JOG Elevation Tint Bands tool - output is written arcpy.env.workspace
arcpy.CreateJOGElevationTintBands_defense("aoiFeatures", aoiField, aoiBuffer, "contourFeatures", contourElevField, "Meters", outputFeatureClass, "Meters","")
print arcpy.GetMessages()

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

Environnements

  • Espace de travail courant

Informations de licence

  • Basic: Non
  • Standard: Non
  • Advanced: Requiert Defense Mapping

Rubriques connexes

  • An overview of the Banding toolset

ArcGIS Desktop

  • Accueil
  • Documentation
  • Support

ArcGIS

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

A propos d'Esri

  • A propos de la société
  • Carrières
  • Blog d’Esri
  • Conférence des utilisateurs
  • Sommet des développeurs
Esri
Donnez-nous votre avis.
Copyright © 2021 Esri. | Confidentialité | Légal