Summary
Converts coverages to S-57 object files.
Usage
S-57 is a data standard developed by the International Hydrographic Organization (IHO) to be used for the exchange of digital hydrographic data.
The Output Log File will be created in the process and then holds the report of the export.
The Input Workspace in which the S-57 files are located must contain coverages or the directory cannot be selected.
Syntax
ArcS57_arc (in_workspace, log_file, {out_workspace})
Parameter | Explanation | Data Type |
in_workspace | The workspace containing the coverage to be converted (exported). | Folder |
log_file | Contains the report of the export process. | File |
out_workspace (Optional) | The folder that will contain the S-57 object files. | Folder |
Code Sample
ArcS57 example (stand-alone script)
The following stand-alone script demonstrates how to export a coverage to S-57 format.
# Name: ArcS57_Example.py
# Description: Export a coverage to S-57 format
# Requirements: ArcInfo Workstation
# Import system modules
import arcpy
from arcpy import env
import os
# Set environment settings
env.workspace = "C:/data"
# Set local variables
input = "tongass1"
logFile = "ArcS57_log.txt"
outWorkspace = "C:/output/tongass_s57"
# Execute ArcS57
arcpy.ArcS57_arc(input, logFile, outWorkspace)
Environments
Licensing Information
- ArcGIS for Desktop Basic: No
- ArcGIS for Desktop Standard: No
- ArcGIS for Desktop Advanced: Requires ArcInfo Workstation installed