Detect Layout Changes (Aeronautical)
Summary
Identifies chart elements that may need updates due to changes to the underlying data that those elements reference. Use with the Change Reporter tool to identify charts that may need maintenance as a result of edits that have occurred to the production database. The Change Reporter tool discovers changes made to underlying data. This tool finds which elements on specific charts were affected by those changes.
Usage
-
The Change Reporter tool must be run to record updates to the data stored in the geodatabase. These changed records are then used as the input for this tool.
-
You need to ensure that elements, for which you want to detect changes, have been registered in the production database's Element Catalog. See Workflow: Detecting chart changes for information on how to register your elements using the scripting utilities.
-
You must use an enterprise geodatabase and have archiving enabled so that the Change Reporter tool can generate its output.
-
Unless using the scripting utility that allows you to specify a MapID, you will need to have the correct product instance set in your data frame properties for elements to be properly registered. This is also true for the elements that register automatically. If the instance is not set in the data frame properties, the tool will not be able to register the element since it will not be able to define which chart the element belongs to.
Syntax
Parameter | Explanation | Data 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_product_library_workspace |
Path to the product library workspace. | Workspace |
in_production_database_workspace |
The workspace that contains the data used for production tasks or display on maps and charts. | Workspace |
input_mapids [input_mapids,...] |
List of the instances in which you want to search for changes. | String |
Code Sample
The following Python window script demonstrates how to use the DetectLayoutChanges tool.
# Reviewer workspace and session
reviewerWorkspace = r'c:\data\reviewer.gdb'
sessionId = "Session 1 : Session 1"
# product library
productLibraryWork = "Database Connections\\productLibrary.sde"
# production database
productionDb = "Database Connections\\productionDb.sde"
# input map ids
inMapIds = "Aeronautical::Enroute::Lower::SANFRAN"
# Execute Detect Layout Changes
arcpy.DetectLayoutChange_aeronautical(reviewerWorkspace, sessionId, productLibraryWork, productionDb, inMapIds)