Disponible avec une licence Maritime Charting.
Résumé
Exports hydrographic data from a maritime charting 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 exported cell is compressed (ZIP format) and stored as a BLOB in the ProductExports table in the NIS if Sample Export is unchecked.
Syntaxe
arcpy.maritime.ExportGeodatabaseToS57(in_source_gdb, product, export_type, out_location, {in_product_config}, {clip_data_option}, {sample_export})
Paramètre | Explication | Type de données |
in_source_gdb | The database from which the product will be exported. | Workspace |
product | The name of the product to export. This product metadata entry must exist in the ProductDefinition table, and the related extents must be present in the ProductCoverage feature class in the workspace. | String |
export_type | Specifies the type of file to be created during the export.
| String |
out_location | The location containing the output export package. | Folder |
in_product_config (Facultatif) | The configuration file to use to export the product. | File |
clip_data_option (Facultatif) | Specifies whether the export process will clip data that crosses an M_CSCL feature.
| Boolean |
sample_export (Facultatif) | Specifies whether the product will be exported as a sample.
| Boolean |
Sortie dérivée
Nom | Explication | Type de données |
out_file | The exported S-57 cell. | File |
Exemple de code
The following code sample demonstrates how to use the ExportGeodatabaseToS57 function to export to an S-57 file.
# Import arcpy module
import arcpy
# Tool variables
src_gdb = r'C:\Data\Connection Files\nsbisdb4_pacific_pl@editor.sde'
product = 'US5M3978'
output_path = r'C:\Data'
export_type = 'NEW_EDITION'
product_config = r'C:\Data\NIS_Product_custom.xml'
clip_option = 'DO_NOT_CLIP'
sample = 'SAMPLE_EXPORT'
# Execute the tool
arcpy.maritime.ExportGeodatabaseToS57(src_gdb, product, export_type, output_path, product_config, clip_option, sample)
Environnements
Informations de licence
- Basic: Non
- Standard: Requiert ArcGIS Maritime
- Advanced: Requiert ArcGIS Maritime
Rubriques connexes
Vous avez un commentaire à formuler concernant cette rubrique ?