Imports S-58 errors and warnings from log files generated by third-party validation software into a Data Reviewer workspace.
Supports log files generated by dKart Inspector 6.x and ENC Analyzer 3.x.
Errors and warnings in any log file that refer to cell header information should be ignored.
Errors and warnings in any log file that refer to primitive features (that is, Vector Edges) are excluded from the records that are written to the Reviewer table.
Information in the validation log file is imported into the REVTABLEMAIN table in the Data Reviewer workspace.
The right-click context menu options Browse Features, Zoom to Reviewer Geometry, and Pan to Reviewer Geometry on the Data Reviewer Table dialog box are not supported for features that are imported into the Data Reviewer workspace using this tool.
Tool performance is greatly enhanced if the feature classes from the Nautical feature dataset of the production database are loaded into the ArcMap document when the tool is run.
A new Reviewer session is created each time the tool is run. The Reviewer session is named using the name of the ENC cell followed by an underscore, then the date and time, for example, GB4X0000_20130801154808.
The name of the ENC cell referenced in the ENC File parameter must match the name of the ENC cell referenced in the validation log file.
The path to the ENC file must not contain ASCII characters greater than 127.
S58LogToReviewerTable(Validation_Log_File, ENC_File, Production_Database, Data_Reviewer_Workspace)
The log file that contains validation errors generated by the third-party validation software.
The ENC associated with the error log that will be imported into Data Reviewer.
The geodatabase used to generate the ENC run through third-party validation. Production Database is used to link errors in the log file to feature geometries. Valid production databases include NIS or ENC data models.
An existing geodatabase that will be used to store the imported validation errors. The Data Reviewer schema will be created if it does not already exist in the geodatabase. This workspace must be a file geodatabase.
S58LogToReviewerTable example (Python window)
The following code sample demonstrates how to use the S58LogToReviewerTable tool.
# Input ENC enc = "C:/Data/US4MD82M.000" # Input dKart validation log log = "C:/Data/US4MD82M.log" # Reviewer and Production workspaces reviewer = "C:/Data/Validation.gdb" production = "Database Connections/NauticalInformationSystem.sde" # Execute the S-58 Log To Reviewer Table tool arcpy.S58LogToReviewerTable_nautical(enc, log, reviewer, production)
- ArcGIS Desktop Basic: No
- ArcGIS Desktop Standard: No
- ArcGIS Desktop Advanced: Requires Maritime Charting