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

Publish S-57 Product

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

Summary

Publishes or deletes S-57 export data. Products that can have their exports either published or deleted with this tool include Electronic Navigational Charts (ENC), Additional Military Layers (AML), and Inland Electronic Navigational Charts (IENC).

Usage

  • This tool is designed to be used with S-57 products in the product library for ENC, AML, and IENC.

Syntax

arcpy.nautical.PublishS57Product(in_pl_workspace, in_product, in_publishdelete, {in_pl_owner})
ParameterExplanationData Type
in_pl_workspace

The product library workspace containing the exports to be published or deleted.

Workspace
in_product

The product that has an export with a pending publish or delete decision.

String
in_publishdelete

A parameter that determines if the product has been exported and the user has a decision pending to either publish or delete the export.

  • Publish —Publishes the export.
  • Delete —Deletes the export.
String
in_pl_owner
(Optional)

Product Library schema owner name. If the user account specified in the product library workspace is not the schema owner, this parameter needs to be set. This applies only to product libraries stored in an enterprise geodatabase.

String

Code sample

PublishS57Product example (Python window)

The following Python window script demonstrates how to use the PublishS57Product 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.")
	
#Tool variables
in_pl_workspace = r"C:\Data\PL.gdb"
in_product = 'Nautical::ENC::CGD11::US5OR34M' 
in_pl_publishdelete = "PUBLISH"

# Execute the tool
arcpy.PublishS57Product_nautical(in_pl_workspace, in_product, in_pl_publishdelete,"")

Environments

  • Current Workspace

Licensing information

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

Related topics

  • An overview of the Validation toolset

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