标注 | 说明 | 数据类型 |
Input Aviation Workspace | The Aeronautical Information System (AIS) schema workspace. | Workspace |
Output Message File | The exported AIXM 5.1 message as an .xml file. | File |
Export Type | Specifies the AIXM temporality type the message represents.
| String |
Last Modified Time (可选) | The date that will be used to filter the output to only features modified after that date. | Date |
Input Filter Layers (可选) | The layers that will filter output to a smaller spatial subset. | Feature Layer |
From Time (可选) | The starting time that will be applied to the validTime\beginPosition and featureLifetime\beginPosition fields in the output message types for any missing ValidFrom_Date or FeatureFrom_Date field values in the features to export. The tool converts the value to UTC. If the parameter is not specified, the current system date and time in UTC will be applied to the missing field values in the output message. This parameter will be used differently depending on the Export Type parameter value.
| Date |
To Time (可选) | The ending time that will be applied to the validTime\endPosition and featureLifetime\endPosition fields in the output message types for any missing ValidTo_Date or FeatureTo_Date field values in the features to export. The tool converts the value to UTC. If the parameter is not specified, the current system date and time in UTC will be applied to the missing field values in the output message. This parameter is only valid when the Export Type parameter is set to Temporary Delta. | Date |
Validate Output (可选) | Specifies whether XML validation will be performed on the exported message.
| Boolean |
Output Validation Log (可选) | The output XML validation log file. | File |
获得 Aviation Charting 许可后可用。
摘要
Exports aeronautical data to an AIXM 5.1 message.
An AIXM message is a standard data exchange format for aeronautical data. AIXM is a well-established information exchange format in the aviation domain, and using aeronautical data in this format is an important step in the creation of an ArcGIS Aviation Charting product. This tool allows you to export data from an Aeronautical Information System (AIS) schema geodatabase as an AIXM message.
使用情况
The Input Aviation Workspace parameter value must be a valid AIS schema geodatabase.
This tool exports data to an AIXM 5.1 message that is saved as an .xml file.
If you validate the output AIXM 5.1 message, you can store all validation messages in the Output Validation Log parameter value. This may be a benefit if you have a large amount of messages to store.
参数
arcpy.aviation.ExportAIXM51Message(in_aviation_workspace, out_message_file, export_type, {last_modified_time}, {in_filter_layers}, {from_time}, {to_time}, {validate_output}, {out_validation_log})
名称 | 说明 | 数据类型 |
in_aviation_workspace | The Aeronautical Information System (AIS) schema workspace. | Workspace |
out_message_file | The exported AIXM 5.1 message as an .xml file. | File |
export_type | Specifies the AIXM temporality type the message represents.
| String |
last_modified_time (可选) | The date that will be used to filter the output to only features modified after that date. | Date |
in_filter_layers [in_filter_layers,...] (可选) | The layers that will filter output to a smaller spatial subset. | Feature Layer |
from_time (可选) | The starting time that will be applied to the validTime\beginPosition and featureLifetime\beginPosition fields in the output message types for any missing ValidFrom_Date or FeatureFrom_Date field values in the features to export. The tool converts the value to UTC. If the parameter is not specified, the current system date and time in UTC will be applied to the missing field values in the output message. This parameter will be used differently depending on the export_type parameter value.
| Date |
to_time (可选) | The ending time that will be applied to the validTime\endPosition and featureLifetime\endPosition fields in the output Baseline or Permanent Delta message types for any missing ValidTo_Date or FeatureTo_Date field values in the features to export. The tool converts the value to UTC. If the parameter is not specified, the current system date and time in UTC will be applied to the missing field values in the output message. This parameter is only valid when the export_type parameter is set to TEMP_DELTA. | Date |
validate_output (可选) | Specifies whether XML validation will be run on the exported message.
| Boolean |
out_validation_log (可选) | The output XML validation log file. | File |
代码示例
The following code sample demonstrates how to use the ExportAIXM51Message function.
# Name: ExportAIXM51Message_example
# Description: Exports aeronautical data to an AIXM 5.1 message.
import arcpy
# Check out Aviation license
arcpy.CheckOutExtension("Aeronautical")
# Set variables
in_aviation_workspace = "D:\\data\\AIS.gdb"
out_message_file = "C:\\Users\\user1\\Documents\\My AIXM Message.xml"
export_type = "TEMP_DELTA"
last_modified_time = "1/1/2001 12:01:00 AM"
in_filter_layers = None
from_time = "1/1/2000 12:01:00 AM"
to_time = "1/1/2002 12:01:00 AM"
validate_output = "VALIDATE"
out_validation_log = "C:\\Users\\user1\\Documents\\Output Validation Log.txt"
# Execute ExportAIXM51Message
arcpy.aviation.ExportAIXM51Message(in_aviation_workspace, out_message_file, export_type, last_modified_time, in_filter_layers,
from_time, to_time, validate_output, out_validation_log)
# Check in Aviation license
arcpy.CheckInExtension("Aeronautical")
环境
许可信息
- Basic: 否
- Standard: 需要 ArcGIS Aviation Charting
- Advanced: 否