Summary
Adds HGT and ZVH fields and calculates ZVH fields in Vertical Obstruction feature classes. This tool's elevation values are derived from a DEM.
Usage
-
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.
Syntax
arcpy.defense.CalculateVerticalObstructionElevations(Input_Geodatabase, Geodatabase_Type, Input_DEM)
Parameter | Explanation | Data Type |
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 |
Derived Output
Name | Explanation | Data Type |
Output_Geodatabase | Workspace |
Code sample
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')
Environments
Licensing information
- Basic: No
- Standard: Requires Defense Mapping
- Advanced: Requires Defense Mapping