Copy S-57 Features (Maritime)

获得 Maritime Charting 许可后可用。

摘要

Copies features from a layer or multiple layers to a target geodatabase.

This tool also finds S-57 structure-equipment and collection relationships from the source layers and copies them to the target workspace. The compilation scale attribute can be either preserved or overridden with a custom value.

使用情况

  • This tool copies related structure-equipment and collections records.

  • The Input Features and Target Workspace values cannot reference the same database and version.

  • The Input Features and Target Workspace values must be Maritime schemas.

    提示:

    Choose one of the Maritime workspace .xml files to create your Maritime database: NAUTICAL_ENC_TEMPLATE_GX_EXTCLSID.xml or NAUTICAL_NIS_TEMPLATE_GX_EXTCLSID.xml. These files are located in the <install location>\Resources\Maritime folder. The NAUTICAL_ENC_TEMPLATE_GX_EXTCLSID.xml file contains the geodatabase topology.

参数

标注说明数据类型
Input Features

The input features that will be copied to the Target Workspace parameter value.

Feature Layer
Target Workspace

The geodatabase to which the output data will be written.

Workspace
Compilation Scale

The compilation scale attribute value that will be applied to the copied features.

Long

派生输出

标注说明数据类型
Updated Workspace

The updated workspace.

Output

arcpy.maritime.CopyS57Features(in_features, target_workspace, compilation_scale)
名称说明数据类型
in_features
[in_features,...]

The input features that will be copied to the target_workspace parameter value.

Feature Layer
target_workspace

The geodatabase to which the output data will be written.

Workspace
compilation_scale

The compilation scale attribute value that will be applied to the copied features.

Long

派生输出

名称说明数据类型
updated_workspace

The updated workspace.

Output

代码示例

CopyS57Features example (Python window)

The following code sample demonstrates how to use the CopyS57Features function with a database with the Nautical Chart schema.

# Import arcpy module
import arcpy

# Tool variables
in_features = [r"C:\Data\Import\NIS.gdb\AidsToNavigationP", r"C:\Data\Import\NIS.gdb\OffshoreInstallationsP"]
target_workspace = r"C:\Data\Import\NIS.gdb"
compilation_scale = 20000

#Execute the tool
S57BatchCopyPaste_maritime (in_features, target_workspace, compilation_scale)

环境

此工具不使用任何地理处理环境。

许可信息

  • Basic: 否
  • Standard: 需要 ArcGIS Maritime
  • Advanced: 需要 ArcGIS Maritime

相关主题