ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • Help
  • Sign Out
ArcGIS Desktop

ArcGIS Online

The mapping platform for your organization

ArcGIS Desktop

A complete professional GIS

ArcGIS Enterprise

GIS in your enterprise

ArcGIS Developers

Tools to build location-aware apps

ArcGIS Solutions

Free template maps and apps for your industry

ArcGIS Marketplace

Get apps and data for your organization

  • Documentation
  • Support
Esri
  • Sign In
user
  • My Profile
  • Sign Out

ArcMap

  • Home
  • Get Started
  • Map
  • Analyze
  • Manage Data
  • Tools
  • Extensions

ImportAixm45

Available with Production Mapping license.

  • Summary
  • Discussion
  • Syntax
  • Code sample

Summary

Imports Aeronautical Information Exchange Model (AIXM) 4.5 schema data into an Aeronautical Information System (AIS) geodatabase.

Note:

This ArcPyProduction function imports data into the AIS schema.

License:

This function requires an ArcGIS Aviation license.

Discussion

AIXM 4.5 data can be imported into an ArcGIS Aviation Charting enterprise geodatabase with the AIS schema. This function decodes the rules and relationships defined in an AIXM 4.5 XML message and re-creates them in the AIS data model. AIXM messages are XML documents that conform to the AIXM XML schema.

This tool requires an enterprise geodatabase with the AIS schema. Use this geodatabase as the workspace. This is the name of the geodatabase where the tool will create data.

Syntax

ImportAixm45 (workspace_path, message_path, {log_path}, {table_list})
ParameterExplanationData Type
workspace_path

The path to the connection file for the geodatabase where the AIXM 4.5 data will be imported. This geodatabase must have the AIS data model.

String
message_path

The path to the AIXM XML message to be imported into the AIS database.

String
log_path

The directory that will store the log file that reports any errors that have occurred during import.

String
table_list
[table_list,...]

The list of AIXM tables in the AIS datamodel that feature will be imported into. By default, all supported feature are imported.

String

Code sample

ImportAixm45 example

This sample imports data from an AIXM 4.5 message file and imports it into an enterprise geodatabase.

# Name: ImportAixm45_example.py
# Description: Imports AIXM 4.5 data into a geodatabase
# Author: Esri
# Date: September 2014

# Import arcpyproduction and aviation modules
import arcpy
import arcpyproduction

# Check out Aviation license
arcpy.CheckOutExtension("Aeronautical")

# Set variables
workspace = r'c:\data\10.3\Aviation\AIXM_Import.sde'
message = r'c:\data\10.3\Aviation\BD_2010-04-08.xml'
log = r'c:\data\10.3\Aviation\log.txt'

# Execute ImportAixm45
arcpyproduction.aviation.ImportAixm45(workspace, message, log)

# Check in Aviation license
arcpy.CheckInExtension("Aeronautical")

Related topics

  • Introduction to arcpyproduction.aviation
  • AIXM 4.5 features supported by the arcpyproduction.aviation.ImportAixm45 function

ArcGIS Desktop

  • Home
  • Documentation
  • Support

ArcGIS

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS
  • ArcGIS Developer
  • ArcGIS Solutions
  • ArcGIS Marketplace

About Esri

  • About Us
  • Careers
  • Esri Blog
  • User Conference
  • Developer Summit
Esri
Tell us what you think.
Copyright © 2021 Esri. | Privacy | Legal