Import AIXM 5.1 Message (Aviation)

Disponible avec une licence Aviation Charting.

Résumé

Imports Aeronautical Information Exchange Model (AIXM) version 5.1 data into an aviation geodatabase.

AIXM is a well-established information exchange format in the aviation domain, and importing data in this format is the first step in the creation of an ArcGIS Aviation Charting product.

Remarque :

The AIXM format is commonly referred to by its acronym in the aviation industry rather than the full name of Aviation Information Exchange Model. Consequently, the tool name reflects the common usage of the acronym.

Utilisation

  • An AIXM 5.1 file is commonly referred to as a message.

  • The optional Input Tables parameter will be populated by a list of existing tables and feature classes in the selected workspace for which an AIXM feature type exists. Selecting any of these will import only the selected feature types. Leaving all of them unselected will import the full message.

  • Optionally, a database can be updated using the Update Existing Features parameter.

    Remarque :

    This functionality will allow you to import an AIXM 5.1 message into your existing database and will use that message as a data update. This will match features between the new file and your database using the Clientkey_Id field (which corresponds with the gml:identifier field in the AIXM message). If a match occurs, the feature will be updated based on the new message.

Paramètres

ÉtiquetteExplicationType de données
Input AIXM 5.1 Message File

The input AIXM 5.1 message.

File
Target Geodatabase

The ArcGIS Aviation Charting schema workspace to import into.

Workspace
Input Tables
(Facultatif)

The names of tables used to restrict the feature types that will be imported.

String
Update Existing Features
(Facultatif)

Specifies whether existing features will be updated if they exist or new features will be inserted.

  • Checked—Existing features will be updated.
  • Unchecked—New features will be inserted. This is default.

Boolean

Sortie dérivée

ÉtiquetteExplicationType de données
Updated Geodatabase

The updated workspace.

Workspace

arcpy.aviation.ImportAIXM51Message(in_message_file, target_gdb, {in_tables}, {update_existing_features})
NomExplicationType de données
in_message_file

The input AIXM 5.1 message.

File
target_gdb

The ArcGIS Aviation Charting schema workspace to import into.

Workspace
in_tables
[in_tables,...]
(Facultatif)

The names of tables used to restrict the feature types that will be imported.

String
update_existing_features
(Facultatif)

Specifies whether existing features will be updated if they exist or new features will be inserted.

  • UPDATE_EXISTINGExisting features will be updated.
  • CREATE_NEWNew features will be inserted. This is default.
Boolean

Sortie dérivée

NomExplicationType de données
updated_gdb

The updated workspace.

Workspace

Exemple de code

ImportAIXM51Message example (Python window)

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

import arcpy

# set gp environment
arcpy.CheckOutExtension("Aeronautical")

# AIXM 5.1 message to import
message = r"C:\data\AIXM51message.xml"

# Target Aviation schema database to import data to
target_gdb = r"C:\data\MyData.gdb"

# Running tool
arcpy.ImportAIXM51Message_aviation(message, target_gdb)

arcpy.CheckInExtension("Aeronautical")

Environnements

Cet outil n’utilise pas d’environnement de géotraitement.

Informations de licence

  • Basic: Non
  • Standard: Nécessite ArcGIS Aviation Charting
  • Advanced: Non

Rubriques connexes