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ètre | Explication | Type 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.
| 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
Informations de licence
- Basic: Requiert ArcGIS Maritime
- Standard: Requiert ArcGIS Maritime
- Advanced: Requiert ArcGIS Maritime