Import S-57 To Geodatabase (Maritime)

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

Сводка

Imports an S-57 file into a maritime charting geodatabase. Sources that can be imported include Electronic Navigational Chart (ENC), Additional Military layers (AML), and Inland Electronic Navigational Chart (IENC).

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

  • A New Edition (EN) base file can be imported.

  • Multiple Revision files (ER), also known as updates, must be imported at the same time as the base file. Individual ERs cannot be imported at a later time.

  • The Target Workspace must contain a Maritime Charting schema.

  • It is recommended that you import to an edit version when using an enterprise geodatabase.

Синтаксис

ImportS57ToGeodatabase(in_base_cell, target_workspace, {in_update_cells}, {in_product_config})
ParameterОбъяснениеТип данных
in_base_cell

The base cell (*.000) file.

File
target_workspace

The workspace where all the objects will be written.

Workspace
in_update_cells
[in_update_cells,...]
(Дополнительный)

Updates cell (*.001 - *.999) files.

File
in_product_config
(Дополнительный)

The product configuration file to use for the import.

File

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

NameОбъяснениеТип данных
output_workspace

This is similar to the Target Workspace.

Workspace

Пример кода

ImportS57ToGeodatabase example (stand-alone script)

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

# Import arcpy module
import arcpy

# Tool variables
base_cell = r"C:\Data\Import\US1AK90M\US1AK90M.000"
target_workspace = r"C:\Data\Import\NIS_1.gdb"
update_cells = [r"C:\Data\Import\US1AK90M\US1AK90M.001", r"C:\Data\Import\US1AK90M\US1AK90M.002"]
product_config = r"C:\Data\Import\NIS_Product_custom.xml"

# Execute the tool
arcpy.maritime.ImportS57ToGeodatabase(base_cell, target_workspace, update_cells, product_config)

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

  • Basic: Нет
  • Standard: Требуется ArcGIS Maritime
  • Advanced: Требуется ArcGIS Maritime

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