Import S-57 To Geodatabase (Maritime)

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

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

Imports an S-57 file into an ArcGIS Maritime geodatabase.

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

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

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

  • The Target Workspace parameter value must contain a Maritime schema.

    Подсказка:

    Choose the Maritime workspace .xml file to create a Maritime database based on the S-57 product you want to use. For example, NAUTICAL_ENC_TEMPLATE_GX_EXTCLSID.xml provides the schema for an ENC product. The default file location is <installation_location>\ArcGIS Maritime\Product Files\<version>\S-57, provided the Maritime product files are installed.

  • It is recommended that you import to an edit version when using an многопользовательская база геоданных.

  • The default file for the Product Configuration File parameter is the .xml file that corresponds to the product database to which you are importing. The file is located at <installation_location>\ArcGIS\Pro\Resources\Maritime\.

  • This tool does not reproject data. Verify that the projection of the of the input base cell matches that of the target workspace.

Параметры

ПодписьОписаниеТип данных
Input Base S-57 Cell

The base cell file (*.000).

File
Target Workspace

The workspace where all the objects will be written.

Workspace
Update Cells
(Дополнительный)

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

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

The product configuration file that will be imported.

File

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

ПодписьОписаниеТип данных
Output Workspace

The updated target workspace.

Workspace

arcpy.maritime.ImportS57ToGeodatabase(in_base_cell, target_workspace, {in_update_cells}, {in_product_config})
ИмяОписаниеТип данных
in_base_cell

The base cell file (*.000).

File
target_workspace

The workspace where all the objects will be written.

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

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

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

The product configuration file that will be imported.

File

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

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

The updated 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\ENC_Product_custom.xml"

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

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

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

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