Import From S57 (Coverage)

Summary

Converts data from S-57 format to Arc/Iinfo coverages.

Usage

Syntax

S57Arc_arc (in_s57_file, out_workspace, {clean})
ParameterExplanationData Type
in_s57_file

The data catalog filename or base cell filename in the S-57 exchange set. If a catalog filename is specified, all base cell files listed in the catalog file will be converted. If a base cell filename is specified, only that base cell file will be converted.

File
out_workspace

The workspace where all output coverages will be written.

Folder; Workspace
clean
(Optional)

Specifies whether to run the Clean command.

  • CLEANCleans the newly created coverages. This is the default.
  • NO_CLEANDoes not clean the newly created coverages.
Boolean

Code Sample

S57Arc example (stand-alone script)

The following stand-alone script demonstrates how to import a coverage from S-57 format.

# Name: S57Arc_Example.py
# Description: Imports from S-57 format to coverage
# Requirements: ArcInfo Workstation
# Author: ESRI

# Import system modules
import arcpy
from arcpy import env

# Set environment settings
env.workspace = "C:/data"

# Set local variables
inS57File = "US5MI82M.000"
outWorkspace = "C:/output/holland_harb"
clean = "NO_CLEAN"

# Execute S57Arc
arcpy.S57Arc_arc(inS57File, outWorkspace, clean)

Environments

Related Topics

Licensing Information

ArcView: No
ArcEditor: No
ArcInfo: Requires ArcInfo Workstation installed

Published 6/8/2010