Export S-101 Cell (Maritime)

Disponible avec une licence ArcGIS Maritime.

Synthèse

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

Utilisation

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

  • This tool does not reproject data. Verify that the projection field of the product metadata matches that of the source geodatabase.

Paramètres

ÉtiquetteExplicationType de données
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

Sortie obtenue

ÉtiquetteExplicationType de données
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)
NomExplicationType de données
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

Sortie obtenue

NomExplicationType de données
out_output_file

The file to which output data will be written.

File

Exemple de code

ExportS101Cell example (stand-alone script)

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

# 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

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

Informations de licence

  • Basic: Non
  • Standard: Nécessite ArcGIS Maritime
  • Advanced: Nécessite ArcGIS Maritime

Rubriques connexes