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

ExportAixm51

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

Résumé

Exports data from an Aeronautical Information System (AIS) geodatabase to an Aeronautical Information Exchange Model (AIXM) 5.1 message.

Remarque :

This ArcPyProduction function exports data from an AIS schema.

Remarque :

This function requires an ArcGIS Aviation license.

Discussion

AIXM 5.1 data can be exported from an ArcGIS Aviation Charting enterprise geodatabase with the AIS schema. This function retrieves the data and relationships from an AIS schema geodatabase and generates an AIXM 5.1 XML message representing that data. AIXM messages are XML documents that conform to the AIXM 5.1 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 from which the tool will export data.

Syntaxe

ExportAixm51 (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 AIXM 5.1 data is going to be exported. This geodatabase must have the AIS data model.

String
message_path

The path of the AIXM 5.1 XML message that will be created.

String
export_properties

The Aixm51ExportInfo 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

ExportAixm51 example

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

# Name: ExportAixm51_example.py
# Description: Exports AIXM 5.1 data from a geodatabase
# Author: Esri
# Date: November 2015

# 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\AIS.sde'
message = r'c:\data\10.3\Aviation\export.xml'
log = r'c:\data\10.3\Aviation\log.txt'

export_settings = arcpyproduction.aviation.Aixm51ExportInfo("BASELINE")
export_settings.queries["ADHP"] = "TYPE_CODE = 'AH'"
export_settings.queries["Airspace"] = "TYPE_CODE = 'FIR'"
export_settings.queries["OrgAuth"] = "" # empty query will export everything

# Execute ExportAixm51
arcpyproduction.aviation.ExportAixm51(workspace, message, export_settings, log)

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

Rubriques connexes

  • Introduction to arcpyproduction.aviation
  • AIXM 5.1 features supported by the arcpyproduction.aviation.ExportAixm51 function

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