ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • Aide
  • Sign Out
ArcGIS Desktop

ArcGIS Online

La plateforme cartographique de votre organisation

ArcGIS Desktop

Un SIG professionnel complet

ArcGIS Enterprise

SIG dans votre entreprise

ArcGIS Developers

Outils de création d'applications de localisation

ArcGIS Solutions

Modèles d'applications et de cartes gratuits pour votre secteur d'activité

ArcGIS Marketplace

Téléchargez des applications et des données pour votre organisation.

  • Documentation
  • Support
Esri
  • Se connecter
user
  • Mon profil
  • Déconnexion

ArcMap

  • Accueil
  • Commencer
  • Carte
  • Analyser
  • Gérer les données
  • Outils
  • Extensions

Publish S-57 Product

  • Résumé
  • Utilisation
  • Syntaxe
  • Exemple de code
  • Environnements
  • Informations de licence

Résumé

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).

Utilisation

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

Syntaxe

arcpy.nautical.PublishS57Product(in_pl_workspace, in_product, in_publishdelete, {in_pl_owner})
ParamètreExplicationType de données
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
(Facultatif)

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

Exemple de code

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,"")

Environnements

  • Espace de travail courant

Informations de licence

  • Basic: Requiert ArcGIS Maritime
  • Standard: Requiert ArcGIS Maritime
  • Advanced: Requiert ArcGIS Maritime

Rubriques connexes

  • An overview of the Validation toolset

ArcGIS Desktop

  • Accueil
  • Documentation
  • Support

ArcGIS

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS
  • ArcGIS Developer
  • ArcGIS Solutions
  • ArcGIS Marketplace

A propos d'Esri

  • A propos de la société
  • Carrières
  • Blog d’Esri
  • Conférence des utilisateurs
  • Sommet des développeurs
Esri
Donnez-nous votre avis.
Copyright © 2021 Esri. | Confidentialité | Légal