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

Create S-57 Product

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

Summary

Creates an AML, IENC, or ENC chart product in the ArcGIS Maritime product library using an S-57 cell descriptive record and geometry objects.

Usage

  • For use with the ArcGIS Maritime preconfigured product library.

  • At least one series must exist under the product class you want to edit. See adding a new series to a product class for more information.

  • Creates S-57-derived products in the product library for AML, IENC, or ENC. The New Nautical Product wizard must be used to create paper chart products.

  • Area of Interest (AOI) geometry is obtained from the M_COVR object and written to the product library.

  • Creates the product, instance, and AOI levels in the Product Library tree view.

  • Writes the metadata entries to the Nautical Metadata table, which is obtained from the S-57 dataset descriptive records.

  • Creates the product extraction queries. See setting extraction queries for product classes for more information.

Syntax

arcpy.nautical.CreateS57Product(in_s57_cell, in_pl_workspace, in_pl_series, {in_pl_owner})
ParameterExplanationData Type
in_s57_cell

Base file in the S-57 format and the product you want to create in the product library.

File
in_pl_workspace

Product library workspace you want to edit.

Workspace
in_pl_series

The products supported are ENC, AML, and IENC electronic navigational products. This is specified as Solution Name::Product Class Name::Series Name::Product.

String
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

CreateS57Product example (Python window)

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

# Import arcpy module
import arcpy

# Check for Nautical extension
if arcpy.CheckExtension("Nautical") == "Available":
    arcpy.CheckOutExtension("Nautical")
else:
    raise ex("Maritime: Charting license is unavailable.")
	
 # Check for Production Mapping extension
if arcpy.CheckExtension("Foundation") == "Available":
	arcpy.CheckOutExtension("Foundation")
else:
	raise ex("Production Mapping license is unavailable.")

# Local variables:
ENC = "C:\Data\ENCs\US4CA68M\ENC_ROOT\US4CA68M\US4CA68M.000"
PRODUCT_LIBRARY_gdb = "C:\Data\CreateProductPython\PRODUCT_LIBRARY.gdb"


# Process: Create S-57 Product
print "Creating product"
arcpy.CreateS57Product_nautical(ENC, PRODUCT_LIBRARY_gdb, "", "Nautical::ENC::NewSeries","",)

print "Complete"

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
  • Import S-57 To Geodatabase
  • Export Geodatabase To S-57

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