Change Reporter (Aeronautical)
汇总
Finds changes made to individual feature classes or an entire geodatabase between specified dates. The changes that can be found include feature additions, modifications, and deletions.
Once found, these changes are automatically committed to a Reviewer table for further review.
用法
-
This tool only works with archive-enabled databases.
-
Archiving can only be enabled with enterprise databases.
-
A Reviewer session must be started to use this tool.
-
You have to be connected to the Default version.
-
For feature classes, modifications are attribute and geometry changes.
-
For tables, modifications are value changes.
-
Learn more about using this tool from the Aeronautical Data Management toolbar
语法
参数 | 说明 | 数据类型 |
input_Geodatabase |
The geodatabase in which you want to search for changes. This must be an enterprise database that has archiving enabled. | Workspace |
Beginning_Date |
The beginning date and time for the range you want to use to find additions, modifications, and deletions. | Date |
End_Date |
The end date and time for the range you want to use to find additions, modifications, and deletions. | Date |
Change_Type_Adds (可选) |
Indicates whether or not you want to report additions to feature classes and tables as changes.
| Boolean |
Change_Type_Modifications (可选) |
Indicates whether or not you want to report modifications to feature classes and tables as changes.
| Boolean |
Change_Type_Deletes (可选) |
Indicates whether or not you want to report deletions from feature classes and tables as changes.
| Boolean |
input_TablesList [input_TablesList,...] |
A list of all the feature classes and tables in the selected geodatabase. | String |
代码示例
The following Python window script shows an example of the ChangeReporter function.
# Load Toolbox arcpy.ImportToolbox(r'C:\Program Files\ArcGIS\Desktop10.0\ArcToolbox\Toolboxes\Aeronautical Tools.tbx') # Local variables Input_Database = "Database Connections\\EGDB_5201.sde" Input_StartDate = "3/1/2010" Input_EndDate = "4/1/2010" Input_Feature_Classes = "ADHP_C; ADHPSurfacePoint_C;" # Process: Change Reporter arcpy.ChangeReporter_Aeronautical(Input_Database, Input_StartDate, Input_EndDate, Input_Feature_Classes, Processing_Result,"TRUE", "TRUE", "TRUE")