ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • Aide
  • Sign Out
ArcGIS Desktop

ArcGIS Online

La plateforme cartographique de votre organisation

ArcGIS Desktop

Un SIG professionnel complet

ArcGIS Enterprise

SIG dans votre entreprise

ArcGIS Developers

Outils de création d'applications de localisation

ArcGIS Solutions

Modèles d'applications et de cartes gratuits pour votre secteur d'activité

ArcGIS Marketplace

Téléchargez des applications et des données pour votre organisation.

  • Documentation
  • Support
Esri
  • Se connecter
user
  • Mon profil
  • Déconnexion

ArcMap

  • Accueil
  • Commencer
  • Carte
  • Analyser
  • Gérer les données
  • Outils
  • Extensions

Export Geodatabase To S-57

  • Résumé
  • Utilisation
  • Syntaxe
  • Exemple de code
  • Environnements
  • Informations de licence

Résumé

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

The following processes will execute automatically.

  • Extract data
  • Clip data
  • Group soundings
  • Generate FE Name
  • Generate or update primitives
  • Calculate SCAMIN

Utilisation

  • The export package is a versioned ZIP file that is stored and managed by the product library.

  • Once the S-57 product has been exported to the supported file format, you will need to publish the product's edition and update the record to move to the next edition or update the number.

Syntaxe

arcpy.nautical.ExportGeodatabaseToS57(in_pl_workspace, in_product, in_export_type, in_clip_data_option, in_output_location, {in_source_gdb}, {in_pl_owner})
ParamètreExplicationType de données
in_pl_workspace

Product library workspace that contains the product.

Workspace
in_product

Name of the product you want to export. This must exist in the specified product library before using this tool. The products supported are ENC, AML, and IENC electronic navigational products. Paper charts must be exported using the Export Nautical Product command. This is specified as Solution Name::Product Class Name::Series Name::Product.

String
in_export_type

Type of file created during export.

  • NEW_EDITION — A new edition of a dataset, including new information that has not been previously distributed by updates.
  • UPDATE — Changes some information in a dataset.
  • REISSUE — A reissue of a dataset, including all the updates applied to the original dataset up to the date of reissue. A reissue does not contain any new information that has not been previously issued by updates.
  • NEW_DATASET — A new dataset where no ENC data has previously been produced for this area and for the same navigational purpose.
  • CANCEL — To delete a dataset, an update cell file is created containing only the Dataset General Information record with the Dataset Identifier (DSID) field. The Edition Number (EDTN) subfield must be set to 0.
String
in_clip_data_option

Indicates if the export process should clip data that crosses an M_CSCL feature.

  • CLIP_AT_M_CSCL —If features in the source database cross the boundary of an M_CSCL feature they will be clipped to the boundary in the exported file.
  • DO_NOT_CLIP_AT_M_CSCL —If features in the source database cross the boundary of an M_CSCL feature they will not be clipped to the boundary in the exported file. This will result in the features remaining intact in the output.
String
in_output_location

The location where you want to write the export package.

Folder
in_source_gdb
(Facultatif)

The NIS is the default geodatabase to export products. This option is to specify a geodatabase to export from other than the NIS set in the product library nautical properties. An example is a checkout replica from the NIS. Product library metadata will not be updated.

Workspace
in_pl_owner
(Facultatif)

Product library schema owner name. Set this parameter if the user account specified in the product library workspace is not the schema owner. This applies only to product libraries stored in enterprise geodatabases.

String

Exemple de code

ExportGeodatabaseToS57 example (stand-alone script)

The following code sample demonstrates how to export to an S-57 file.

# Import arcpy module
import arcpy

# Check for Nautical extension 
print "Checking out Maritime extension" 
arcpy.AddMessage("Checking out Maritime extension") 
if arcpy.CheckExtension("Nautical") == "Available": 
    arcpy.CheckOutExtension("Nautical") 
else: 
    arcpy.AddError("Maritime: Charting license is unavailable.")

# Tool variables
pl = r'C:\Data\Connection Files\nsbisdb4_pacific_pl@pleditor.sde'
product = 'Nautical::ENC::NewSchema::US5M3978'
output_location = r'C:\Data'
exportType = 'NEW_EDITION'
clipOption = 'DO_NOT_CLIP_AT_M_CSCL'
owner = 'PL'

# Execute the tool
arcpy.ExportGeodatabaseToS57_nautical(pl, product, exportType, clipOption, output_location,'',owner)

Environnements

  • Espace de travail courant

Informations de licence

  • Basic: Requiert ArcGIS Maritime
  • Standard: Requiert ArcGIS Maritime
  • Advanced: Requiert ArcGIS Maritime

Rubriques connexes

  • An overview of the S-57 Tools toolset
  • Exporting an S-57 product

ArcGIS Desktop

  • Accueil
  • Documentation
  • Support

ArcGIS

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS
  • ArcGIS Developer
  • ArcGIS Solutions
  • ArcGIS Marketplace

A propos d'Esri

  • A propos de la société
  • Carrières
  • Blog d’Esri
  • Conférence des utilisateurs
  • Sommet des développeurs
Esri
Donnez-nous votre avis.
Copyright © 2021 Esri. | Confidentialité | Légal