Import VPF To Geodatabase (Maritime)

Mit der ArcGIS Maritime-Lizenz verfügbar.

Zusammenfassung

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.

Verwendung

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

Parameter

BeschriftungErläuterungDatentyp
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

Abgeleitete Ausgabe

BeschriftungErläuterungDatentyp
Output Geodatabase

The updated Target Workspace value.

Workspace

arcpy.maritime.ImportVPFToGeodatabase(in_vpf_features, target_workspace)
NameErläuterungDatentyp
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

Abgeleitete Ausgabe

NameErläuterungDatentyp
output_workspace

The updated target_workspace value.

Workspace

Codebeispiel

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

Umgebungen

Dieses Werkzeug verwendet keine Geoverarbeitungsumgebungen.

Lizenzinformationen

  • Basic: Nein
  • Standard: Erfordert ArcGIS Maritime
  • Advanced: Erfordert ArcGIS Maritime

Verwandte Themen