Export AIS to AIXM (Aeronautical)
汇总
This tool creates an Aeronautical Information Exchange Model (AIXM) 4.5 XML message from your Aeronautical Information System (AIS) geodatabase. AIXM messages are XML documents that conform to the AIXM XML schema. The tool creates data based on the rules and relationships defined by the Aeronautical Information Conceptual Model (AICM) and AIXM 4.5 standards. This tool allows you to share your AIS data as XML.
用法
-
This tool requires the Data Interoperability extension. Activate the Data Interoperability extension through the ArcGIS Customize > Extensions dialog box.
You can customize this tool. Right-click the tool in the ArcToolbox window and click Edit. The tool will open in the Data Interoperability Workbench.
The tool uses the Attribute Schema Mapper parameter to map AIS attributes to AIXM elements. Attribute Schema Mapper are *.csv files that list the attribute mapping. You can use *.csv files provided with the ESRI Aeronautical Solution. These files are installed in the ESRIAeronautical\Desktop10.0\DataConversion\AIXM\SchemaMapper folder.
This tool requires an ArcSDE geodatabase with the AIS schema. Use this geodatabase name in the Source Enterprise Geodatabase parameter.
This tool always runs in foreground mode. If you run this tool with Background Processing checked on, the tool will automatically switch to foreground processing.
语法
参数 | 说明 | 数据类型 |
DestDataset_AIXM |
The file that will contain the AIXM 4.5 XML. | File |
AttributeSchemaMapper | The *.csv file that defines the mapping of AIS attributes to AIXM elements. If exporting from an Oracle geodatabase, use ESRItoAIXM_Oracle_Attribute.csv. If exporting from an SQL Server geodatabase, use ESRItoAIXM_SQLServer_Attribute.csv. | File |
SourceDataset_GEODATABASE_SDE |
The name of the source geodatabase that contains the AIS schema. | String |
_GEODBInServer_GEODATABASE_SDE |
The enterprise geodatabase server name. | String |
_GEODBInInstance_GEODATABASE_SDE |
The port or instance number for the geodatabase. | String |
_GEODBInUserName_GEODATABASE_SDE |
A valid database username. | String |
_GEODBInPassword_GEODATABASE_SDE |
A valid database password. | String |
_GEODBInVersion_GEODATABASE_SDE |
The geodatabase version name. | String |
代码示例
The following Python window script shows a use of the ExportAIStoAIXM function.
# Load Toolbox - you may have to alter this path arcpy.ImportToolbox(r'C:\Program Files\ArcGIS\Desktop10.0\ArcToolbox\Toolboxes\Aeronautical Tools.tbx') # Local variables for the output xml and input csv Destination_AIXM_Dataset = "C:\\Data\\Aero\\AIStoAIXM_Export.xml" AIXMtoESRI_Attribute_csv = "C:\\Program Files\\ESRIAeronautical\\Desktop10.0\\DataConversion\\AIXM\\SchemaMapper\\ESRItoAIXM_Oracle_Attribute.csv" # Exec Export AIS to AIXM arcpy.ExportAIStoAIXM_Aeronautical(Destination_AIXM_Dataset, AIXMtoESRI_Attribute_csv, "ASP_PL", "127.0.0.1", "sde:sqlserver:127.0.0.1\\sqlexpress", "username","password", "DBO.DataUpdates")