S-58 Log File To Reviewer Table (Nautical)
Récapitulatif
Imports S-58 errors and warnings from log files generated by third-party validation software into a Data Reviewer workspace.
Utilisation
-
Supports log files generated by dKart Inspector 6.x and ENC Analyzer 3.x.
Remarque :Support for dKart Inspector log files is limited to Log File format (*.log). The Verification XML report format (*.xml) is not supported.
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.
Browse Features, Zoom to Reviewer Geometry, and Pan to Reviewer Geometry right-click context menu options 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.
Syntaxe
Paramètre | Explication | Type de données |
Validation_Log_File |
The log file that contains validation errors generated by the third-party validation software. | File |
ENC_File |
The ENC associated with the error log that will be imported into Data Reviewer. | File |
Production_Database |
The geodatabase used to generate the ENC run through third-party validation. The Production Database is used to link errors in the log file to feature geometries. Valid production databases include NIS or ENC data models. | Workspace |
Data_Reviewer_Workspace |
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. | Workspace |
Exemple de code
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)