AIXM 4.5 Airspace Derived Geometry (Aeronautical Data Management)

License Level:BasicStandardAdvanced

Summary

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 tool updates the null geometry with a polygon derived from other airspace features.

Usage

Syntax

AIXM45_AirspaceDerivedGeometry_aeronauticalmanagement (in_workspace, workspace_version, {input_feature_sql})
ParameterExplanationData Type
in_workspace

The workspace that contains the AIXM data.

Workspace
workspace_version

The geodatabase version in which the geometry updates will occur.

String
input_feature_sql
(Optional)

An SQL expression used to select a subset of features. The syntax for the expression differs slightly depending on the data source. For example, if you're querying file or ArcSDE geodatabases, shapefiles, or coverages, enclose field names in double quotes:

"MY_FIELD"

If you're querying personal geodatabases, enclose fields in square brackets:

[MY_FIELD]

In Python, strings are enclosed in matching single or double quotes. To create a string that contains quotes (as is common with a WHERE clause in SQL expressions), you can escape the quotes (using a backslash) or triple quote the string. For example, if the intended WHERE clause is

"CITY_NAME" = 'Chicago'

you could enclose the entire string in double quotes, then escape the interior double quotes like this:

" \"CITY_NAME\" = 'Chicago' "

Or you could enclose the entire string in single quotes, then escape the interior single quotes like this:

' "CITY_NAME" = \'Chicago\' '

Or you could enclose the entire string in triple quotes without escaping:

""" "CITY_NAME" = 'Chicago' """

For more information on SQL syntax and how it differs between data sources, see the help topic SQL reference for query expressions used in ArcGIS.

SQL Expression

Code Sample

AIXM45_AirspaceDerivedGeometry example (Python window)

The following Python window script demonstrates how to use the AIXM_45_AirspaceDerivedGeometry tool.

# workspace containing the AIXM data
inWorkspace = "c:/data/aeronautical.sde"

# update features in the default version
inVersion = "DBO.DEFAULT"

# execute AIXM45_AirspaceDerivedGeometry
arcpy.AIXM45_AirspaceDerivedGeometry_aeronauticalmanagement(inWorkspace, inVersion)

Environments

Related Topics

Licensing Information

ArcGIS for Desktop Basic: No
ArcGIS for Desktop Standard: Requires Airports or Aeronautical
ArcGIS for Desktop Advanced: Requires Airports or Aeronautical
10/29/2012