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

Aixm51ExportInfo

  • Summary
  • Discussion
  • Syntax
  • Properties
  • Code sample

Summary

The Aixm51ExportInfo object provides access to export settings used by the AIXM 5.1 exporter. This object contains a dictionary of tables and matching queries to export, as well as an export_type property determining the type of AIXM 5.1 message to export.

Discussion

The object is used by the ExportAixm51 function. Once created, the queries dictionary may be populated using the tables to export as keys and SQL where clauses as values. The type of export message can be accessed and modified via the export_type property.

Syntax

Aixm51ExportInfo (export_type)
ParameterExplanationData Type
export_type

The type of AIXM 5.1 message to export. Valid values are BASELINE, SNAPSHOT and PERMDELTA.

String

Properties

PropertyExplanationData Type
export_type
(Read and Write)

The type of AIXM 5.1 message to export. Valid values are BASELINE, SNAPSHOT, and PERMDELTA.

Note:

TEMPDELTA exports will be supported in a future update.

String
from_time
(Read and Write)

The starting time applied to the validTime\beginPosition and featureLifetime\beginPosition fields in the output BASELINE or PERMDELTA message types for any missing 'ValidFrom_Date' or 'FeatureFrom_Date' field values in the features to export. The value is converted to UTC by ExportAixm51. If this property is not given, the current system date and time, (converted to UTC), will be applied to the missing field values in the export message.

Note:

This property is not applicable to the SNAPSHOT export message type, which always uses the current system date and time converted to UTC.

DateTime
queries
(Read and Write)

A dictionary mapping table with names of SQL queries. Any table that is a dictionary key will be exported. If the query associated with the table is empty, the entire table will be exported. If no entries are added to the queries dictionary, the entire geodatabase will be exported.

Dictionary
to_time
(Read and Write)

The expiration time for a TEMPDELTA export.

Note:

This property is not currently used and will be supported in a future update.

DateTime
last_modified_time
(Read and Write)

The time stamp used to query a database for PERMDELTA export messages. If this property is set, only features with a LASTMOD_DATE or Editor tracking update or creation date equal to or more recent than this time stamp will be exported. This property only applies to PERMDELTA messages.

DateTime

Code sample

Aixm51ExportInfo

This sample creates an Aixm51ExportInfo object and accesses its properties.

# Name: Aixm51ExportInfo_example.py
# Description: Creates an AIXM 5.1 export settings object
# Author: Esri
# Date: November 2015

# Import arcpyproduction and aviation modules
import arcpy
import arcpyproduction
import datetime

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

# Create Aixm51ExportInfo object
export_settings = arcpyproduction.aviation.Aixm51ExportInfo("PERMDELTA")

# Set and access export_settings
export_settings.queries["ADHP"] = "TYPE_CODE = 'AH'"
export_settings.queries["Airspace"] = "TYPE_CODE = 'FIR'"
export_settings.queries["OrgAuth"] = "" # empty query will export everything

export_settings.from_time = datetime.datetime(2015, 11, 18) # set features valid starting from Nov. 18, 2015

# print export_type property
print "Export type: " + export_settings.export_type

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

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 © 2022 Esri. | Privacy | Legal