Report Aviation Chart Changes (Aviation)

Available with Aviation Charting license.

Summary

Compares feature classes in two enterprise geodatabase versions and returns the differences in a report. You can filter the reported changes to determine which charts are affected by these differing data sources. You can set filters based on areas of interest (AOI), definition queries, and Report Chart Changes preferences.

Once generated, the report will be written to the ChartChanges feature class in the ArcGIS Aviation Charting AIS geodatabase schema. You can name the report and reference it through the SessionID unique report identifier. You can use the Chart Changes tool to view the report..

Usage

  • The Aviation Workspace parameter value must be a versioned enterprise geodatabase. File geodatabases are not supported by this tool.

  • You must populate the workspace preference table with Report Chart Changes preferences before running this tool. These preferences will define which feature classes and attributes will be included in the report. After a preference is created, you can update the attributes as necessary. You can also create multiple preferences by assigning unique names to each preference in the table.

    Learn more about creating preferences

  • The Area of Interest Features polygon feature class is used to set a boundary within which features will be processed. Features that wholly or partially overlap the AOI will be processed.

  • The generated report must have a unique name. You cannot have two reports with the same name in the ChartChanges table.

Syntax

arcpy.aviation.ReportAviationChartChanges(aviation_workspace, base_version, comparison_version, report_preference, report_name, {aoi_features})
ParameterExplanationData Type
aviation_workspace

The versioned enterprise ArcGIS Aviation Charting AIS geodatabase.

The workspace cannot be a file geodatabase.

Workspace
base_version

The version of the ArcGIS Aviation Charting AIS geodatabase to compare to.

String
comparison_version

The version of the ArcGIS Aviation Charting AIS geodatabase to compare to the base_version parameter value.

String
report_preference

The Report Chart Changes preference setting from the preference table.

This preference will define which feature classes will be included in your report.

String
report_name

The unique name of the report, containing changes between the geodatabase versions.

String
aoi_features
(Optional)

The boundary within which features will be processed.

Feature Layer

Derived Output

NameExplanationData Type
report_id

The SessionID of the report from the ChartChanges feature class.

String

Code sample

ReportAviationChartChanges example (stand-alone script)

The following code sample demonstrates how to use the ReportAviationChartChanges function.

# Name: ReportAviationChartChanges_example.py
# Description: Creates a report containing differences between feature classes in two enterprise geodatabase version.

import arcpy

# Check out Aviation license

arcpy.CheckOutExtension("Aeronautical")

# Set variables

aviation_workspace = r'D:\Data\Database.sde'

base_version = "Base"

comparison_version = "Branch"

report_preference = "MyPreference"

report_name = "MyReport"

aoi_features = "AOI"

# Execute ReportAviationChartChanges

arcpy.aviation.ReportAviationChartChanges(aviation_workspace, base_version, comparison_version, report_preference, report_name, aoi_features)

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

Environments

This tool does not use any geoprocessing environments.

Licensing information

  • Basic: No
  • Standard: Requires ArcGIS Aviation Charting
  • Advanced: Requires ArcGIS Aviation Charting

Related topics