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

Export Geodatabase To S-57

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

Summary

Exports hydrographic data from a maritime geodatabase to an S-57 file.

The following processes will execute automatically.

  • Extract data
  • Clip data
  • Group soundings
  • Generate FE Name
  • Generate or update primitives
  • Calculate SCAMIN

Usage

  • The export package is a versioned ZIP file that is stored and managed by the product library.

  • Once the S-57 product has been exported to the supported file format, you will need to publish the product's edition and update the record to move to the next edition or update the number.

Syntax

arcpy.nautical.ExportGeodatabaseToS57(in_pl_workspace, in_product, in_export_type, in_clip_data_option, in_output_location, {in_source_gdb}, {in_pl_owner})
ParameterExplanationData Type
in_pl_workspace

Product library workspace that contains the product.

Workspace
in_product

Name of the product you want to export. This must exist in the specified product library before using this tool. The products supported are ENC, AML, and IENC electronic navigational products. Paper charts must be exported using the Export Nautical Product command. This is specified as Solution Name::Product Class Name::Series Name::Product.

String
in_export_type

Type of file created during export.

  • NEW_EDITION — A new edition of a dataset, including new information that has not been previously distributed by updates.
  • UPDATE — Changes some information in a dataset.
  • REISSUE — A reissue of a dataset, including all the updates applied to the original dataset up to the date of reissue. A reissue does not contain any new information that has not been previously issued by updates.
  • NEW_DATASET — A new dataset where no ENC data has previously been produced for this area and for the same navigational purpose.
  • CANCEL — To delete a dataset, an update cell file is created containing only the Dataset General Information record with the Dataset Identifier (DSID) field. The Edition Number (EDTN) subfield must be set to 0.
String
in_clip_data_option

Indicates if the export process should clip data that crosses an M_CSCL feature.

  • CLIP_AT_M_CSCL —If features in the source database cross the boundary of an M_CSCL feature they will be clipped to the boundary in the exported file.
  • DO_NOT_CLIP_AT_M_CSCL —If features in the source database cross the boundary of an M_CSCL feature they will not be clipped to the boundary in the exported file. This will result in the features remaining intact in the output.
String
in_output_location

The location where you want to write the export package.

Folder
in_source_gdb
(Optional)

The NIS is the default geodatabase to export products. This option is to specify a geodatabase to export from other than the NIS set in the product library nautical properties. An example is a checkout replica from the NIS. Product library metadata will not be updated.

Workspace
in_pl_owner
(Optional)

Product library schema owner name. Set this parameter if the user account specified in the product library workspace is not the schema owner. This applies only to product libraries stored in enterprise geodatabases.

String

Code sample

ExportGeodatabaseToS57 example (stand-alone script)

The following code sample demonstrates how to export to an S-57 file.

# Import arcpy module
import arcpy

# Check for Nautical extension 
print "Checking out Maritime extension" 
arcpy.AddMessage("Checking out Maritime extension") 
if arcpy.CheckExtension("Nautical") == "Available": 
    arcpy.CheckOutExtension("Nautical") 
else: 
    arcpy.AddError("Maritime: Charting license is unavailable.")

# Tool variables
pl = r'C:\Data\Connection Files\nsbisdb4_pacific_pl@pleditor.sde'
product = 'Nautical::ENC::NewSchema::US5M3978'
output_location = r'C:\Data'
exportType = 'NEW_EDITION'
clipOption = 'DO_NOT_CLIP_AT_M_CSCL'
owner = 'PL'

# Execute the tool
arcpy.ExportGeodatabaseToS57_nautical(pl, product, exportType, clipOption, output_location,'',owner)

Environments

  • Current Workspace

Licensing information

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

Related topics

  • An overview of the S-57 Tools toolset
  • Exporting an S-57 product

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