ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • Hilfe
  • Sign Out
ArcGIS Desktop

ArcGIS Online

Die Mapping-Plattform für Ihre Organisation

ArcGIS Desktop

Ein vollständiges professionelles GIS

ArcGIS Enterprise

GIS in Ihrem Unternehmen

ArcGIS Developers

Werkzeuge zum Erstellen standortbezogener Apps

ArcGIS Solutions

Kostenlose Karten- und App-Vorlagen für Ihre Branche

ArcGIS Marketplace

Rufen Sie Apps und Daten für Ihre Organisation ab.

  • Dokumentation
  • Support
Esri
  • Anmelden
user
  • Eigenes Profil
  • Abmelden

ArcMap

  • Startseite
  • Erste Schritte
  • Karte
  • Analysieren
  • Verwalten von Daten
  • Werkzeuge
  • Erweiterungen

ImportAixm51

  • Zusammenfassung
  • Auswertung
  • Syntax
  • Codebeispiel

Zusammenfassung

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

Hinweis:

This ArcPyProduction function imports data into the AIS schema.

Auswertung

AIXM 5.1 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 5.1 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.

Import AIXM 5.1 Message expects input AIXM geometry to be expressed in either EPSG:4326 or OGC:CRS84 coordinate reference systems. The spatial reference of the Target AIS geodatabase should be GCS_WGS_1984 WKID: 4326 Authority: EPSG.

Hinweis:

Optionally, a database can be updated using the AIXM 5.1 run_as_update argument.

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.

Syntax

ImportAixm51 (workspace_path, message_path, {log_path}, {table_list}, {run_as_update})
ParameterErklärungDatentyp
workspace_path

The path to the connection file for the geodatabase where the AIXM 5.1 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 errors that have occurred during import.

String
table_list
[table_list,...]

The list of AIXM tables in the AIS data model into which the feature will be imported. By default, all supported features are imported.

String
run_as_update

Overrides default AIXM 5.1 import behavior and updates the database instead of inserting new records.

(Der Standardwert ist False)

Boolean

Codebeispiel

ImportAixm51 example 1 (stand-alone script)

This sample imports data from an AIXM 5.1 message file into an enterprise geodatabase.

# Name: ImportAixm51_example.py
# Description: Imports AIXM 5.1 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 ImportAixm51
arcpyproduction.aviation.ImportAixm51(workspace, message, log)

# Check in Aviation license
arcpy.CheckInExtension("Aeronautical")
ImportAixm51 example 2 (stand-alone script)

This sample imports only the tables indicated from an AIXM 5.1 message file into an enterprise geodatabase.

# Name: ImportAixm51TableList_example.py
# Description: Imports AIXM 5.1 data into a geodatabase with table filter

# 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'
tables = [ "ADHP", "NavaidSystem", "NavaidComponent" ]

# Execute ImportAixm51
arcpyproduction.aviation.ImportAixm51(workspace, message, log, tables)

# Check in Aviation license
arcpy.CheckInExtension("Aeronautical")
ImportAixm51 example 3 (stand-alone script)

This sample imports data from an AIXM 5.1 message file into an enterprise geodatabase as an update to existing features.

# Name: ImportAixm51Update_example.py
# Description: Imports AIXM 5.1 data into a geodatabase as an update rather than a new import

# 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'

# Execute ImportAixm51
arcpyproduction.aviation.ImportAixm51(workspace, message, run_as_update=True)

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

Verwandte Themen

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

ArcGIS Desktop

  • Startseite
  • Dokumentation
  • Support

ArcGIS

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

Über Esri

  • Über uns
  • Karriere
  • Esri Blog
  • User Conference
  • Developer Summit
Esri
Wir sind an Ihrer Meinung interessiert.
Copyright © 2022 Esri. | Datenschutz | Rechtliches