Import VPF To Geodatabase (Maritime)

Maritime Charting ライセンスで利用できます。

サマリー

Imports Vector Product Format (VPF) data in Digital Nautical Chart (DNC) and Tactical Ocean Data (TOD) formats into an ArcGIS Maritime geodatabase. Sources that can be imported include DNC and TOD0, TOD2, and TOD4.

使用法

  • VPF data can be imported into either an empty template geodatabase or an existing geodatabase with VPF data.

  • Data can be imported from a VPF workspace folder. A workspace folder is the directory containing the library attribute table (LAT).

  • Notes can be imported for DNC and TOD data.

パラメーター

ラベル説明データ タイプ
Input VPF Features

The VPF data to be imported into the geodatabase from a folder that contains one or more libraries. Point, line, polygon, and Ecrtext annotation features can be imported.

Folder
Target Workspace

The geodatabase to which the VPF data will be imported. This can be an empty template or existing geodatabase.

Workspace

派生した出力

ラベル説明データ タイプ
Output Geodatabase

The updated Target Workspace value.

The updated target_workspace value.

Workspace

arcpy.maritime.ImportVPFToGeodatabase(in_vpf_features, target_workspace)
名前説明データ タイプ
in_vpf_features
[in_vpf_features,...]

The VPF data to be imported into the geodatabase from a folder that contains one or more libraries. Point, line, polygon, and Ecrtext annotation features can be imported.

Folder
target_workspace

The geodatabase to which the VPF data will be imported. This can be an empty template or existing geodatabase.

Workspace

派生した出力

名前説明データ タイプ
output_workspace

The updated Target Workspace value.

The updated target_workspace value.

Workspace

コードのサンプル

ImportVPFToGeodatabase example (stand-alone script)

The following code sample demonstrates how to import VPF data.

# Import system modules
import arcpy

# Check out extensions
arcpy.CheckOutExtension('nautical')

# Set local variables
in_vpf_features = r'C:\Data\h1234567\dnc12'
target_workspace = r'C:\Data\Import\h1234567.gdb'

# Call the ImportVPFToGeodatabase tool to <import Vector Product Format (VPF) into a geodatabase>
arcpy.maritime.ImportVPFToGeodatabase(in_vpf_features, target_workspace)

# Get all messages, warnings, and errors and print the results
messages = arcpy.GetMessages(0)
warnings = arcpy.GetMessages(1)
errors = arcpy.GetMessages(2)
arcpy.AddMessage('Tool Messages: {}\nTool Warnings: {}\nTool Errors{}\n'\
                 .format(messages, warnings, errors))

# Check in extensions
arcpy.CheckInExtension('nautical')

環境

このツールは、ジオプロセシング環境を使用しません。

ライセンス情報

  • Basic: No
  • Standard: 次のものが必要 ArcGIS Maritime
  • Advanced: 次のものが必要 ArcGIS Maritime

関連トピック