Disponible con licencia de Aviation Charting.
Resumen
Generates airspace geometry for associated airspace features from an imported AIXM 5.1 message.
To derive geometry for airspace features with null geometry, run the Import AIXM 5.1 Message tool before running this tool. The Generate Derived Airspace Geometry tool will update the null geometry with a polygon derived from other airspace features in the AirspaceAssociation table.
The Airspace and AirspaceAssociation tables are populated by the Import AIXM 5.1 Message tool. As populated, the Airspace table features are related by the FIRSTMEMBER_ID and SECONDMEMBER_ID fields in the AirspaceAssociation table. The OPR_CODE field will relate one base airspace feature to one or more other airspace features having prescribed OPR_CODE values such as Union, Subtract, Intersect, or Same Extent. The tool will process the related airspaces based on the OPR_CODE value in the value order in the NUMSEQ_VAL field.
Uso
The Input Airspace Features parameter accepts a polygon feature class that must consist of at least three airspace features.
The Airspace Association Table parameter must contain two or more records for each null geometry airspace feature. Field values in those records must define the other airspace features that need to be topologically associated, and the means by which those associations are created, so this tool can assemble the constituent airspace features into a fully completed and usable airspace feature.
The Airspace and AirspaceAssociation tables are contained in the AIS Charting data model in the Aviation Charting Product files available from My Esri as an additional ArcGIS Pro download.
Only Airspace table features with DERIVED_CODE = 1 will be processed.
If a set of Airspace table features are selected, only those features will be processed.
Sintaxis
arcpy.aviation.GenerateDerivedAirspaceGeometry(in_airspace_features, airspace_association_table)
Parámetro | Explicación | Tipo de datos |
in_airspace_features | The input polygon feature class containing three or more airspace features, some or all of which will be used to derive more complex airspace features. The derived features will be updated in this target feature class. | Feature Layer |
airspace_association_table | The input table containing information about the geometric associations between two or more airspace features. The airspace relationship information stored in this table is populated through the AIXM import process. | Table View |
Salida derivada
Nombre | Explicación | Tipo de datos |
updated_airspace_features | The updated input airspace feature class. The tool combines existing geometries from the feature class to create new geometries. | Feature Layer |
Muestra de código
The following Python window script demonstrates how to use the GenerateDerivedAirspaceFeatures function.
import arcpy
arcpy.CheckOutExtension("Aeronautical")
# Input Airspace Feature Class
inAirspaceFeatures = arcpy.management.MakeFeatureLayer(r"C:\data\aeronautical.gdb\Airspace")
# Input Airspace Association Table
inAirspaceAssoc = arcpy.management.MakeTableView(r"C:\data\aeronautical.gdb\AirspaceAssociation")
# Processing GenerateDerivedAirspaceGeometry
arcpy.GenerateDerivedAirspaceGeometry_aviation(inAirspaceFeatures, inAirspaceAssoc)
The following demonstrates how to use the GenerateDerivedAirspaceFeatures function in a stand-alone Python script.
import arcpy
arcpy.CheckOutExtension("Aeronautical")
# Input Airspace Feature Class
inAirspaceFeatures = r"C:\data\aeronautical.gdb\Airspace"
# Input Airspace Association Table
inAirspaceAssoc = r"C:\data\aeronautical.gdb\AirspaceAssociation"
# Processing GenerateDerivedAirspaceGeometry
arcpy.GenerateDerivedAirspaceGeometry_aviation(inAirspaceFeatures, inAirspaceAssoc)
arcpy.CheckInExtension("Aeronautical")
Entornos
Información de licenciamiento
- Basic: No
- Standard: Requiere ArcGIS Aviation Charting
- Advanced: Requiere ArcGIS Aviation Charting