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

ImportAmxm

  • Summary
  • Discussion
  • Syntax
  • Code sample

Summary

Imports Aerodrome Mapping Exchange Model (AMXM) 2.0 schema data into an Airports geodatabase.

Note:

This ArcPyProduction function imports data into the Airports 18C schema.

License:

This function requires an ArcGIS Aviation license.

Discussion

AMXM data can be imported into an ArcGIS Aviation Airports geodatabase with the Airports schema. ImportAmxm decodes the features and relationships defined in an AMXM 2.0 XML message and loads them into the Airports data model. AMXM messages are XML documents that conform to the AMXM XML schema.

Syntax

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

The path to the connection file for the geodatabase to which the AMXM 2.0 data will be imported. The geodatabase must include the Airports data model.

String
message_path

The path to the AMXM 2.0 XML message that has the feature and relationships that will be imported into the Airports data model.

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 AMXM tables in the AIS datamodel that feature will be imported into. By default, all supported feature are imported.

String

Code sample

ImportAmxm example

This sample imports data from an AMXM 2.0 message file and imports it into a geodatabase.

# Name: ImportAmxm_example.py
# Description: Imports AMXM 2.0 data into a geodatabase
# Author: Esri
# Date: December 2016

# Import arcpyproduction and aviation modules
import arcpy
import arcpyproduction

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

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

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

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

Related topics

  • Introduction to arcpyproduction.aviation
  • Mapping information for AMXM and Airports datamodel

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