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: Нет
  • Standard: Обязательно ArcGIS Maritime
  • Advanced: Обязательно ArcGIS Maritime

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