Change Reporter (Aeronautical)

License Level:BasicStandardAdvanced

Summary

Finds changes made to individual feature classes or an entire geodatabase between specified dates. The changes that can be found include feature inserts, updates, and deletes.

Once found, these changes are automatically committed to an ArcGIS Data Reviewer for Desktop extension Reviewer table for further review.

Usage

Syntax

ChangeReporter_aeronautical (in_reviewer_workspace, session_id, in_workspace, beginning_date_index, end_date_index, tables_index, change_adds_index, change_modifications_index, change_deletes_index)
ParameterExplanationData Type
in_reviewer_workspace

The ArcGIS Data Reviewer for Desktop extension reviewer workspace to which results are written.

Workspace
session_id

The identifier and name for a Reviewer session. The session must exist in the Reviewer Workspace.

String
in_workspace

The geodatabase in which you want to search for changes. This must be an enterprise database that has archiving enabled.

Workspace
beginning_date_index

The beginning date and time for the range you want to use to find additions, modifications, and deletions.

Date
end_date_index

The end date and time for the range you want to use to find additions, modifications, and deletions.

Date
tables_index
[tables_index,...]

A list of all the feature classes and tables in the selected geodatabase (in_workspace) that you want to compare.

String
change_adds_index

Indicates whether or not you want to report additions to feature classes and tables as changes.

  • CHANGE_ADDSFeatures and table records that have been added to feature classes and tables in the selected geodatabase are reported. This is the default.
  • NO_CHANGE_ADDSFeatures and table records that have been added to feature classes and tables in the selected geodatabase are not reported.
Boolean
change_modifications_index

Indicates whether or not you want to report modifications to feature classes and tables as changes.

  • CHANGE_MODIFICATIONSFeatures and table records that have been modified in the selected geodatabase are reported. This is the default.
  • NO_CHANGE_MODIFICATIONSFeatures or table records that have been modified are not reported.
Boolean
change_deletes_index

Indicates whether or not you want to report deletions from feature classes and tables as changes.

  • CHANGE_DELETESFeatures and table records that have been deleted within the selected geodatabase are reported. This is the default.
  • NO_CHANGE_DELETESFeatures or table records that have been deleted are not reported.
Boolean

Code Sample

ChangeReporter example (Python window)

The following Python window script demonstrates how to use the ChangeReporter tool.

# Reviewer workspace and session
reviewerWorkspace = r'c:\data\reviewer.gdb'
sessionId = "Session 1 : Session 1"

# enterprise geodatabase to scan for changes
inWorkspace = "Database Connections\\EGDB_5201.sde"

# date range
inStartDate = "3/1/2010"
inEndDate = "4/1/2010"

# list of feature classes to scan for changes
inFeatures = "ADHP_C; ADHPSurfacePoint_C;"

# change types
adds = "CHANGE_ADDS"
mods = "CHANGE_MODIFICATIONS"
deletes = "CHANGE_DELETES"

# Execute ChangeReporter tool
arcpy.ChangeReporter_aeronautical(reviewerWorkspace, sessionId, inWorkspace, inStartDate, inEndDate, inFeatures, adds, mods, deletes)

Environments

Related Topics

Licensing Information

ArcGIS for Desktop Basic: No
ArcGIS for Desktop Standard: No
ArcGIS for Desktop Advanced: Requires Aeronautical
5/31/2013