Convert S-57 to S-101 Cell (Maritime)

Доступно с лицензией ArcGIS Maritime.

Краткая информация

Converts the S-57 vector product for storing nautical charting data to the new vector S-101 format.

Использование

  • If you want to load updates and you do not have a catalog file, the updates must be in the same folder as the .000 file. This allows the updates to be automatically applied during the loading process.

  • Catalog files are supported as an input format.

  • Once the tool runs successfully, a log file will be written to the output location with warning and error messages.

    Примечание:

    These messages are expected in the log file, because S-57 features and attributes are no longer supported in S-101.

  • The S57to101Configuration.xml file in the resource folder allows you to customize configurable settings, such as dataset name, when converting to S-101.

    Примечание:

    Each section in the S57to101Configuration.xml file has information about the section and how to populate the value.

Параметры

ПодписьОписаниеТип данных
S-100 Feature Catalogue

An .xml file that follows the S-100 Feature Catalogue format as defined by the IHO. It describes the content of a data product and its specifications. The default file location for S-100 catalogue files is <installation location>\ArcGIS Maritime\Product Files\<version>\S-101\, provided the Maritime product files are installed.

File
Configuration File

The input .xml file that can be used to customize some aspects of the conversion process.

File
Input S-57 (File or Folder)

The input S-57 file with a .000 extension or a CATALOG.031 file that references a collection of S-57 files.

File; Folder
Output Location

The directory where the converted cell will be written.

Folder

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

ПодписьОписаниеТип данных
Output S-101 Data

The full path of the converted S-101 cell if the input is a single S-57 dataset, or the output location if the input is a catalog file.

File; Folder

arcpy.maritime.ConvertS57ToS101(in_feature_catalogue, in_config_file, input_s57, out_location)
ИмяОписаниеТип данных
in_feature_catalogue

An .xml file that follows the S-100 Feature Catalogue format as defined by the IHO. It describes the content of a data product and its specifications. The default file location for S-100 catalogue files is <installation location>\ArcGIS Maritime\Product Files\<version>\S-101\, provided the Maritime product files are installed.

File
in_config_file

The input .xml file that can be used to customize some aspects of the conversion process.

File
input_s57

The input S-57 file with a .000 extension or a CATALOG.031 file that references a collection of S-57 files.

File; Folder
out_location

The directory where the converted cell will be written.

Folder

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

ИмяОписаниеТип данных
out_s101

The full path of the converted S-101 cell if the input is a single S-57 dataset, or the output location if the input is a catalog file.

File; Folder

Пример кода

ConvertS57toS101Cell example (Python window)

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

import arcpy
arcpy.CheckOutExtension("Nautical")
# Input Feature Catalog
inFeatureCatalog = r'C:\ArcGIS Maritime\Product Files\3.2\S-101\S-101_FC_1.1.0.xml'
# Input Configuration File
in_config_file= r"C:\Program Files\ArcGIS\Pro\Resources\Maritime\S57to101Configuration.xml"
# Input S-57 file
inS57Cell = r"C:\test_data\converter\ENC_ROOT\US2MI01M\US2MI01M.000"
# Input output location
inOutputLocation = r"C:\test_data\converter\converted_cells"
arcpy.ConvertS57ToS101_maritime(inFeatureCatalog, in_config_file, inS57Cell, inOutputLocation)
arcpy.CheckInExtension("Nautical")

Информация о лицензиях

  • Basic: Нет
  • Standard: Обязательно ArcGIS Maritime
  • Advanced: Обязательно ArcGIS Maritime

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