Disponible avec une licence Maritime Charting.
Résumé
Allows a mariner to view the Electronic Navigational Chart (ENC) datasets in an Electronic Chart Display and Information System (ECDIS) for shipboard navigation.
An exchange set is a package of files that contains one catalog file and at least one S-57 dataset file (New Edition [EN] and Revised Edition [ER]). Once you have exported and published your S-57 data, you need to package the S-57 dataset files into a valid S-57 exchange set.
Utilisation
Validate the S-57 product and clear it for publishing before creating the exchange set.
This tool packages external files referenced by features in the following formats:
- ENC: (*.txt, *.jpg, and *.tif)
- IENC: (*.txt, *.jpg, *.tif, and *.xml)
- AML: (*.txt, *.tif, *.pdf, *.html, *.htm, .jpeg, *.jpg, *.avi, .mpeg, and *.mpg)
- Additional file types can be configured for each product type in <install location>\Resources\Maritime\S57ISO8211.xml.
If an external file with the same name exists in multiple input folders, the one in the same folder as the S-57 product is given highest priority, followed by the order in which the folders appear in the input.
Syntaxe
arcpy.maritime.CreateS57ExchangeSet(in_directories, out_directory, layout_format, {updates_only})
Paramètre | Explication | Type de données |
in_directories [in_directories,...] | Folders that contain at least one S-57 base cell (*.000) and, optionally, any of the following:
| Folder |
out_directory | The location of an empty folder where the ENC_ROOT folder will be written. The folder must be empty for the tool to execute successfully. | Folder |
layout_format | Specifies the directory and folder structure of the exchange set.
| String |
updates_only (Facultatif) | Specifies how S-57 update datasets in the input folder will be processed.
| Boolean |
Sortie dérivée
Nom | Explication | Type de données |
derived_out_directory | The location of an empty folder where the ENC_ROOT folder will be written. | Folder |
Exemple de code
The following code example demonstrates how to use the CreateS57ExchangeSet tool.
# Import arcpy module
import arcpy
input_directories = [r"C:\data\AML\cells", r"C:\data\AML\external_files"]
output_directory = r"C:\output"
layout_format = "FLAT_LAYOUT"
updates_only = "INCLUDE_ALL"
# Process: Create S-57 Exchange Set
arcpy.maritime.CreateS57ExchangeSet(input_directories, output_directory, layout_format, updates_only)
Environnements
Informations de licence
- Basic: Non
- Standard: Requiert ArcGIS Maritime
- Advanced: Requiert ArcGIS Maritime
Rubriques connexes
Vous avez un commentaire à formuler concernant cette rubrique ?