Configuring the DNC database for validation (Maritime Charting)
Maintaining quality data is of utmost importance to any hydrographic organization or agency. ArcGIS for Maritime:Charting offers a variety of ways to run quality-control checks on your data while stored in the geodatabase.
During your data collection efforts, the attribute values you enter for a specific feature can be checked through the runtime validation functionality. When you use the Data Reviewer checks, the existing data is validated via the check configuration stored within the batch job file. However, when you create or modify a feature within the nautical geodatabase using Feature Manager, a series of runtime checks is performed based on the attribute values entered within the Create and Update tabs. These runtime checks are stored in Reviewer batch jobs. This requires that you have a product library with a data model defined.
Defining the DNC product library
The product libraries included with 海事制表 include attribute validation checks. You can use these checks to validate attribute values during edit sessions.
-
Copy and unzip the template DNC Product Library (NAUTICAL_DNC_PRODUCT_LIBRARY_10.2.gdb.zip) to your working folder.
注:
The location of the template DNC product library is different depending on your operating system:
- On Windows XP—<Installation location>\Documents and Settings\All Users\Application Data\Esri\Production10.2.2\Desktop\ProductLibraryFiles
- On Windows Vista, Windows 7, and Windows Server 2008—<Installation location\ProgramData\Esri\Production10.2.2\Desktop\ProductLibraryFiles
- Start ArcMap.
- If necessary, set up the DNC production environment.
-
If necessary, open the Product Library window by clicking Customize > Production > Product Library on the main menu.
A tree view of the product library appears.
-
Right-click Product Library and
click Select Product Library.
The Choose Product Library Workspace dialog box appears.
-
Navigate to the product library database.
注:
ArcGIS for Maritime:Charting provides a preconfigured product library as a workspace XML file on the Resource Center.
-
Click Open.
The Upgrade Product Library Workspace dialog box appears if the geodatabase needs to be upgraded.
If an error occurs during the upgrade process, the workspace may need to be compacted or compressed to restore its integrity. Compacting applies to personal and file geodatabases, and compressing applies to enterprise geodatabases.
- If necessary, perform the following steps to upgrade the geodatabase you want to use as the product library.
- Click the drop-down arrow in the Select Configuration Keyword area and choose an option.
Options vary based on whether the geodatabase is a personal, file, or ArcSDE geodatabase.
- Click OK.
If an error occurs during the upgrade process, the workspace may need to be compacted or compressed to restore its integrity. Compacting applies to personal and file geodatabases, and compressing applies to enterprise geodatabases.
- Click the drop-down arrow in the Select Configuration Keyword area and choose an option.
- Click OK when the process completes.
Enabling runtime validation
Runtime validation verifies attribute values during edits. When runtime validation executes, Reviewer batch jobs execute and check edited values. These batch jobs are located in a product library.
For runtime validation to be initiated, a populated production database—the DNC<scale> template you are working with—must include certain tables.
The tables cannot be added while you are editing data.
- If necessary, load data in the map.
- In the Product Library window, expand Production Data and navigate to the database that you just added.
-
Right-click the database and click Create Production Database.
The Select Extensions dialog box appears if you have at least one of the Esri 制图和制表解决方案 installed. If you don't, the Create Production Database Workspace dialog box appears and you can skip to step 5.
- Click the Maritime Charting extension and click OK.
- 单击确定。
- If necessary, click OK when the process completes.
-
Right-click the production database and click Choose Data Model Versions.
The Choose Data Model Versions dialog box appears.
- Check the check boxes next to the data model versions you want to associate with this production database.
- 单击确定。