Create TLM Elevation Guide Bands (Defense Mapping)
概要
Creates banding features that can be used to generate the Elevation Guide Box element for a Topographic Line Map (TLM).
使用法
-
It is recommended that you use contour lines that have been collected using meters.
The feature layers specified for the Contour Features and Additional Elevation Features parameters must all contain the field listed in the Elevation Field parameter.
The Elevation Units parameter value applies to all the feature layers specified for the Contour Features and Additional Elevation Features parameters.
The inclusion of additional elevation features allows the tool to fine-tune the output bands beyond what it can accomplish using contour lines alone.
When using exclusion feature classes, ensure that the exclusion feature class includes the proper elevation field and an elevation value of zero for each exclusion feature.
構文
パラメータ | 説明 | データ タイプ |
AOI_Feature_Class |
The area of interest for the TLM. This feature is typically stored in an index feature class. | Feature Layer |
Contour_Features |
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_Interval |
The range in elevation (distance) between contour features. This must be 10, 20, 40, or 80. The default value is 20. | Long |
Elevation_Field_Name |
The field within the contour feature layer from which the elevation values will be derived. The default value for this is ZV2. | String |
Elevation_Units | The unit of measurement that has been used to collect the contours and additional elevation features.
| String |
Output_Feature_Class |
The feature class that will contain the banding features. The default name is TLM<scale>_CreateTLMElevationGuide. | Feature Class |
Additional_Elevation_Features (オプション) |
Feature layers that contain additional elevation information that can be used during band creation. | Feature Layer |
Exclusion_Feature_Classes [Exclusion_Feature_Classes,...] (オプション) |
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. When excluding open water areas for coastal sheets, it is necessary to include these features as additional elevation features as well. | Feature Layer |
コード サンプル
In this Python example, elevation bands are created over the V695X2549 feature in the TLM index.
# CreateTLMElevationGuideBands.py # Description: Create banding features from a single TLM 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') # Variables for Select Layer By Attribute TLM100 = "C:/Data/Index.gdb/TLM100" # Select the TLM feature arcpy.SelectLayerByAttribute_management(TLM100, "NEW_SELECTION", "\"MSNAME\" = 'V695X2549'") # Variables for Create TLM Elevation Guide Bands AOI_Feature_Class = "TLM100" ContourL = "C:/Data/10.0/Defense/VMap2TLM.mdb/ContourL" Contour_Interval = "40" Elevation_Field_Name = "ZV2" Elevation_Units = "Meters" Additional_Elevation_Features = "C:/Data/Defense/VMap2TLM.mdb/ElevP;C:/Data/10.0/Defense/VMap2TLM.mdb/CoastA" Exclusion_Features = "C:/Data/Defense/VMap2TLM.mdb/CoastA" TLMElevationGuideBands = "C:/Data/Defense/VMap2TLM.mdb/TLMElevationGuideBands" # Execute Create TLM Elevation Guide Bands process arcpy.CreateTLMElevationGuideBands_defense(AOI_Feature_Class, contour_features, "20", "ZV2", "Meters", TLMElevationGuideBands, "CoastA", "CoastA") # Check in the Defense Mapping extension arcpy.CheckInExtension("defense")