描述
Creates geometry for derived features.
说明
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.
语法
DeriveAirspaceGeometry (production_database, {sql_query})
参数 | 说明 | 数据类型 |
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 |
代码示例
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")