Import VPF To Geodatabase (Maritime)

Disponible con licencia de ArcGIS Maritime.

Resumen

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.

Uso

  • 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.

Parámetros

EtiquetaExplicaciónTipo de datos
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

Salida derivada

EtiquetaExplicaciónTipo de datos
Output Geodatabase

The updated Target Workspace value.

Workspace

arcpy.maritime.ImportVPFToGeodatabase(in_vpf_features, target_workspace)
NombreExplicaciónTipo de datos
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

Salida derivada

NombreExplicaciónTipo de datos
output_workspace

The updated target_workspace value.

Workspace

Muestra de código

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')

Entornos

Esta herramienta no utiliza ningún entorno de geoprocesamiento.

Información de licenciamiento

  • Basic: No
  • Standard: Requiere ArcGIS Maritime
  • Advanced: Requiere ArcGIS Maritime

Temas relacionados