概要
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).
使用法
This tool is designed to be used with S-57 products in the product library for ENC, AML, and IENC.
構文
arcpy.nautical.PublishS57Product(in_pl_workspace, in_product, in_publishdelete, {in_pl_owner})
パラメーター | 説明 | データ タイプ |
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 (オプション) | 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 |
コードのサンプル
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,"")
環境
ライセンス情報
- Basic: 次のものが必要 ArcGIS Maritime
- Standard: 次のものが必要 ArcGIS Maritime
- Advanced: 次のものが必要 ArcGIS Maritime