摘要
Adds HGT and ZVH fields and calculates ZVH fields in Vertical Obstruction feature classes. This tool's elevation values are derived from a DEM.
用法
-
This tool is designed to work with Multinational Geospatial Co-production Program (MGCP) and Topographic Data Store (TDS) Vertical Obstruction feature classes.
If the feature has a valid HGT field, the tool will calculate the ZVH field by adding the HGT field value to the base elevation derived from the DEM.
If the tool adds ZVH, and the feature has a valid HGT, the tool will calculate ZVH by adding the HGT to the base elevation derived from the DEM.
Some features, like the DB150 in MGCP, will have ZVH calculated using only the base elevation from the DEM.
This tool supports the following MGCP feature classes: AgristrA, AgristrP, AquedctA, AquedctL, BarrierL, BridgeL, BuildA, BuildP, CommP, DamA, DamL, DamP, DangerP, DisposeA, EmbankA, EmbankL, FortA, FortP, IndL, LockL, LandmrkA, LandmrkL, LandmrkP, MiscaeroP, MiscL, MiscP, MtnP, ObstrP, PipeL, PowerL, RigwellP, RunwayL, StorageA, StorageP, TeleL, TowerP, and UtilP.
This tool supports the following TDS feature classes: StructurePnt, StructureCrv, StructureSrf, TransportationGroundCrv, TransportationGroundSrf, TransportationGroundPnt, RecreationSrf, RecreationCrv, RecreationPnt, IndustrySrf, IndustryPnt, UtilityInfrastructurePnt, and AeronauticPnt.
语法
CalculateVerticalObstructionElevations(Input_Geodatabase, Geodatabase_Type, Input_DEM)
参数 | 说明 | 数据类型 |
Input_Geodatabase | Input geodatabase with vertical obstruction features. | Workspace |
Geodatabase_Type | Schema of the geodatabase.
| String |
Input_DEM | Input raster from which the elevation for the vertical obstruction features is derived. | Raster Layer |
派生输出
名称 | 说明 | 数据类型 |
Output_Geodatabase | Workspace |
代码示例
CalculateVerticalObstructionElevations example (stand-alone script)
The following code example demonstrates how to execute the CalculateVerticalObstructionElevations tool.
# Importing necessary modules
from arcpy import defense, CheckOutExtension, CheckInExtension
# Checking out Defense Mapping extension
CheckOutextension('defense')
# Setting parameters
input_geodatabase = r'C:\data\MGCP_TRD_4_2.gdb'
input_raster = r'C:\data\Monterey.DT2'
# Calling Unpack Product Files tool
defense.CalculateVerticalObstructionElevations(input_geodatabase, "MGCP", input_raster)
# Checking in Defense Mapping extension
CheckInExtension('defense')
环境
许可信息
- ArcGIS Desktop Basic: 否
- ArcGIS Desktop Standard: 需要 Defense Mapping
- ArcGIS Desktop Advanced: 需要 Defense Mapping