Zusammenfassung
Creates geometry for derived features.
Auswertung
The Import AIXM 4.5 to AIS tool will create a null geometry for an airspace feature if AIXM messages contain instructions to generate derived airspace geometries. This function updates the null geometry with a polygon derived from other airspace features.
Syntax
DeriveAirspaceGeometry (production_database, {sql_query})
Parameter | Erklärung | Datentyp |
production_database | Path to the workspace containing the data used for production tasks or is referenced by maps and charts. | String |
sql_query | An SQL expression used to select a subset of features. For more information on SQL syntax, see SQL reference for query expressions used in ArcGIS. | String |
Codebeispiel
DeriveAirspaceGeometry example
This script creates geometry for derived features.
# Name: DeriveAirspaceGeometryExample.py
# Description: Updates null geometry with a polygon derived from other airspace features
# Author: Esri
# Date: March 2015
# Import arcpyproduction and aviation modules
import arcpy
import arcpyproduction
# Check out Aviation license
arcpy.CheckOutExtension("Aeronautical")
# Set variable
production_database = "c:/data/aeronautical.sde"
# Update null geometry
arcpyproduction.aviation.charting.DeriveAirspaceGeometry(production_database)
# Check in Aviation license
arcpy.CheckInExtension("Aeronautical")