Export S-101 Cell (Maritime)

获得 Maritime Charting 许可后可用。

摘要

Exports S-101 hydrographic data from a geodatabase to an S-101 file.

使用情况

  • S-101 products are clipped and extracted based on the area or areas of interest (up to three), pursuant to the S-101 specification, in the ProductCoverage feature class.

  • The product name is in accordance with the DatasetName listed in the ProductDefinitions table.

  • The following criteria must exist to export an S-101 cell:

    • Product information populated in the ProductDefinitions table
    • At least one area of interest (AOI) in the ProductCoverage feature class with a relationship to the corresponding ProductDefinition

  • The tool builds geometry primitives.

参数

标注说明数据类型
S-100 Feature Catalogue

An S-100 feature catalogue document that describes the content of a data product and specification.

File
S-101 Workspace

The workspace that contains the product.

Workspace
S-101 Product

The name of the product to export.

This information must exist in the ProductCoverage feature class and ProductDefinition table before using this tool.

String
Export Type

The type of file created during export.

  • New editionA new edition of a dataset, including new information that has not been previously distributed by updates. This is the default.
String
Output Location

The location where the export package will be written.

Folder

派生输出

标注说明数据类型
Output File

The file to which output data will be written.

File

arcpy.maritime.ExportS101Cell(in_feature_catalogue, in_s101_workspace, product, export_type, output_location)
名称说明数据类型
in_feature_catalogue

An S-100 feature catalogue document that describes the content of a data product and specification.

File
in_s101_workspace

The workspace that contains the product.

Workspace
product

The name of the product to export.

This information must exist in the ProductCoverage feature class and ProductDefinition table before using this tool.

String
export_type

The type of file created during export.

  • NEW_EDITIONA new edition of a dataset, including new information that has not been previously distributed by updates. This is the default.
String
output_location

The location where the export package will be written.

Folder

派生输出

名称说明数据类型
out_output_file

The file to which output data will be written.

File

代码示例

ExportS101Cell example (stand-alone script)

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

#Set S-100 Feature Catalogue environment
arcpy.env.S100FeatureCatalogueFile = r'C:\Program Files\ArcGIS\Pro\Resources\Maritime\S-101_FC_0.8.9_VC.XML'
#Set workspace environment
arcpy.env.workspace = r"C:\Users\username\Documents\ArcGIS\Projects\ENC\AU.gdb"

#Variables
catalogue = arcpy.env.S100FeatureCatalogueFile
ws = arcpy.env.workspace

#Execute tool
arcpy.maritime.ExportS101Cell(catalogue,ws,'AU417139__.000', 'NEW_EDITION',r'C:\Users\username\Documents\ArcGIS\Projects\ENC')

许可信息

  • Basic: 否
  • Standard: 需要 ArcGIS Maritime
  • Advanced: 需要 ArcGIS Maritime

相关主题