ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • Aide
  • Sign Out
ArcGIS Desktop

ArcGIS Online

La plateforme cartographique de votre organisation

ArcGIS Desktop

Un SIG professionnel complet

ArcGIS Enterprise

SIG dans votre entreprise

ArcGIS Developers

Outils de création d'applications de localisation

ArcGIS Solutions

Modèles d'applications et de cartes gratuits pour votre secteur d'activité

ArcGIS Marketplace

Téléchargez des applications et des données pour votre organisation.

  • Documentation
  • Support
Esri
  • Se connecter
user
  • Mon profil
  • Déconnexion

ArcMap

  • Accueil
  • Commencer
  • Carte
  • Analyser
  • Gérer les données
  • Outils
  • Extensions

ExportAmxm

  • Résumé
  • Discussion
  • Syntaxe
  • Exemple de code

Résumé

Exports data from an Airports geodatabase to an Aerodrome Mapping Exchange Model (AMXM) 2.0 schema data message.

Remarque :

This ArcPyProduction function exports data from the Airports 18C schema.

Licence :

This function requires an ArcGIS Aviation license.

Discussion

AMXM data can be exported from an ArcGIS Aviation Airports enterprise geodatabase with the Airports (18C) schema. This feature retrieves the data and relationships from an Airports schema geodatabase and generates an AMXM XML message representing that data. AMXM messages are XML documents that conform to the AMXM 2.0 XML schema and DO-272D standard.

This tool requires an enterprise geodatabase with the Airports schema. Use this geodatabase as the workspace. This is the name of the geodatabase from which the tool will export data.

Syntaxe

ExportAmxm (workspace_path, message_path, export_properties, {log_path})
ParamètreExplicationType de données
workspace_path

The path to the connection file for the geodatabase from which the AMXM data is going to be exported. This geodatabase must have the AIS data model.

String
message_path

The path of the AMXM XML message that will be created.

String
export_properties

The AmxmExportInfo object containing the tables to be exported along with SQL queries for those tables and the type of message to export.

Object
log_path

The directory that will store the full path for the log file.

String

Exemple de code

ExportAmxm example

This sample exports data from an enterprise geodatabase to an AMXM message file.

# Name: ExportAmxm_example.py
# Description: Exports data from an Airports database to an AMXM message
# Author: Esri
# Date: November 2016

# Import arcpyproduction and aviation modules
import arcpy
import arcpyproduction

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

# Create AmxmExportInfo object
export_settings = arcpyproduction.aviation.AmxmExportInfo()

# Set and access export_settings
export_settings.queries["TAXIWAYELEMENT"] = "OPERATIONALSTATUSCODE = 'ACTIVE'"
export_settings.queries["RUNWAYELEMENT"] = "IDARPT = 'KHPN'"
export_settings.queries["STRUCTUREPOLYGON"] = "" # empty query will export everything

gdb = "/Examples/Airports.gdb"
message = "/Examples/AMXM_export.xml"

# export data
arcpyproduction.aviation.ExportAmxm(gdb, message, export_settings)

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

Rubriques connexes

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

ArcGIS Desktop

  • Accueil
  • Documentation
  • Support

ArcGIS

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

A propos d'Esri

  • A propos de la société
  • Carrières
  • Blog d’Esri
  • Conférence des utilisateurs
  • Sommet des développeurs
Esri
Donnez-nous votre avis.
Copyright © 2021 Esri. | Confidentialité | Légal