ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • Help
  • Sign Out
ArcGIS Desktop

ArcGIS Online

The mapping platform for your organization

ArcGIS Desktop

A complete professional GIS

ArcGIS Enterprise

GIS in your enterprise

ArcGIS Developers

Tools to build location-aware apps

ArcGIS Solutions

Free template maps and apps for your industry

ArcGIS Marketplace

Get apps and data for your organization

  • Documentation
  • Support
Esri
  • Sign In
user
  • My Profile
  • Sign Out

ArcMap

  • Home
  • Get Started
  • Map
  • Analyze
  • Manage Data
  • Tools
  • Extensions

Parse S-58 Log File

  • Summary
  • Usage
  • Syntax
  • Code sample
  • Environments
  • Licensing information

Summary

Parses log files produced by the Validate S-57 File tool and third-party validation software against S-58 (recommended ENC validation checks). Critical errors and warnings are imported as records in a Data Reviewer table.

Usage

  • Validation log files generated by Esri .S58 files, 7Cs version 3.4 and higher (.ANL and .vld files), and dKart version 6.3.2 (.log files) are parsed.

  • The coordinate system of the Data Reviewer workspace feature dataset should match the coordinate system of the production database.

  • A new Data Reviewer session is created each time the tool is run.

  • The Data Reviewer workspace must contain the reviewer schema. This can be created using the Enable Data Reviewer geoprocessing tool or the Reviewer Session Manager.

  • If the Data Reviewer workspace already has sessions, the previous session will be compared to the session being created by the tool. Records marked as exceptions in the previous reviewer session will be carried into the current reviewer session as exceptions.

  • This geoprocessing tool uses one S-57 product per Data Reviewer workspace.

Syntax

arcpy.nautical.ParseS58LogFile(in_s58_log_file, in_s57_file, in_production_database_workspace, in_reviewer_workspace, reviewer_session, {in_update_cells})
ParameterExplanationData Type
in_s58_log_file

The S-58 log file that contains validation errors.

File
in_s57_file

The base file in S-57 format and its validated product. The name of the ENC cell referenced in this parameter must match the name of the ENC cell referenced in the validation log file.

File
in_production_database_workspace

The workspace to validate and correct. This workspace contains the data used to generate the S-57 format file.

Workspace
in_reviewer_workspace

The path to the Data Reviewer workspace where the features or table records will be written. A Data Reviewer workspace must be created for each ENC product.

Workspace
reviewer_session

An existing Data Reviewer session.

String
in_update_cells
[in_update_cells,...]
(Optional)

The base file cells in S-57 format that will be updated.

File

Derived Output

NameExplanationData Type
parse_count

The total number of error and warning messages written to the Data Reviewer session.

Long

Code sample

ParseS58LogFile example (Python window)

The following Python window script demonstrates how to use the ParseS58LogFile tool.

# Import arcpy module
import arcpy
#Variables
US4CN22M_S58 = "C:\\Data\\checks\\test_data\\US4CN22M\\US4CN22M.S58"
US4CN22M_000 = "C:\\Data\\checks\\test_data\\US4CN22M\\US4CN22M.000"
NIS = "C:\\Data\\checks\\test_data\\NIS_test.gdb"
Reviewer = "C:\\Data\\checks\\test_data\\Reviewer.gdb"
# Process: Parse S-58 Log File
arcpy.ParseS58LogFile_nautical(US4CN22M_S58, US4CN22M_000, NIS, Reviewer, "")

Environments

  • Current Workspace

Licensing information

  • Basic: Requires ArcGIS Maritime
  • Standard: Requires ArcGIS Maritime
  • Advanced: Requires ArcGIS Maritime

Related topics

  • Import S-57 To Geodatabase
  • Export Geodatabase To S-57
  • Validate S-57 File

ArcGIS Desktop

  • Home
  • Documentation
  • Support

ArcGIS

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS
  • ArcGIS Developer
  • ArcGIS Solutions
  • ArcGIS Marketplace

About Esri

  • About Us
  • Careers
  • Esri Blog
  • User Conference
  • Developer Summit
Esri
Tell us what you think.
Copyright © 2021 Esri. | Privacy | Legal