You can validate your data in the rules contained in the S-58 validation standard at any given time during the production process. You can use the Validate Sample S-57 tool to perform validation.
Functions of the Validate Sample S-57 tool
The functionality of the Validate Sample S-57 tool includes the following:
- Exports a sample S-57 file from the geodatabase
- Validates the contents and structure of the S-57 file using S-58 validation rules
- Writes the results to an ArcGIS Data Reviewer session in ArcMap so that you can review and resolve any S-58 errors found in the process
Validating data
The following steps can be used to validate data with the Validate Sample S-57 geoprocessing tool:
- Start ArcMap.
- If necessary, open the Catalog window by clicking Windows > Catalog on the main menu.
- Click Toolboxes > System Toolboxes > Nautical Tools > Validation.
-
Double-click Validate Sample S-57.
The Validate Sample S-57 dialog box appears.
- Click the browse button
next to Product Library and browse to the product library containing the S-57 product you want to validate.
If you are using an enterprise product library, choose the product library owner. A list of available products is enabled when the Product Library parameter is populated.
- Choose the product you want to validate from the Product drop-down arrow.
- Click the browse button
next to Data Reviewer Workspace and browse to the workspace.
- Click the browse button
next to Production Database and browse to the workspace containing the data to be validated.
- Click the browse button
next to Output Location and browse to the location where you want to store the outputs of the process.
- Click OK.
- Close the Validate Sample S-57 dialog box when the process completes.
Working with validation results
After exporting and validating your data, you can begin to examine the results and address any errors or warnings identified during the process. To perform this analysis, you will be working with Data Reviewer tools.
- Click Customize > Toolbars > Data Reviewer.
- Click the Reviewer Session Manager button
.
The Reviewer Session Manager dialog box appears.
- If Reviewer Workspace hasn't been defined, click Browse and browse to the location of the Data Reviewer workspace.
- Choose the appropriate session from the ID drop-down arrow.
- Click Start Session.
- Click Close.
- Click the Reviewer Table button
on the Data Reviewer toolbar.
The Reviewer table containing all the errors found during the validation process appears.
S-58 specific information in the Reviewer table
The Reviewer table contains many fields that help you understand, locate, and repair the errors found during the validation process. Many of the fields are standard Data Reviewer table fields. Some of the fields carry detailed information directly from the S-58 standard. Some information about these fields is provided below:
Field | Description |
---|---|
Check Title | Reference to the S-58 error number |
Check Notes | The S-58 error description |
Severity | 1 = Critical Error 2 = Error 3 = Warning |
Description | From S-58, the proposed solution to the S-58 validation error or warning |
Understanding validation geometries
When navigating to errors and warnings in the Reviewer table, it is important to understand the following differences between feature geometries and reviewer geometries:
- Feature geometries represent the feature that either contains an encoding or participates in a topology error.
- Reviewer geometries are created when there is a topological error, and they represent the extent of the topological error. For example, if a DEPARE and LNDARE overlaps, a Reviewer geometry defining the overlap extent is generated.
- When there is an encoding error, the feature geometry and the Reviewer geometry are the same.
If the status of a record is set to Mark As Exception and the error in the data is not changed, subsequent runs of the Validate Sample S-57 File process will be compared to the previous session to carry forward the exceptions so that they do not have to be reevaluated.