Import From S57 (Coverage)

License Level:BasicStandardAdvanced

Summary

Converts data from S-57 format to one or more 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
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

# 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

ArcGIS for Desktop Basic: No
ArcGIS for Desktop Standard: No
ArcGIS for Desktop Advanced: Requires ArcInfo Workstation installed
6/18/2012