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.

Синтаксис

arcpy.maritime.ExportS101Cell(in_feature_catalogue, in_s101_workspace, product, export_type, output_location)
ParameterОбъяснениеТип данных
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

Производные выходные данные

NameОбъяснениеТип данных
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

Связанные разделы