Сводка
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.
Синтаксис
arcpy.defense.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')
Параметры среды
Информация о лицензиях
- Basic: Нет
- Standard: Требуется Defense Mapping
- Advanced: Требуется Defense Mapping