Export Geodatabase To VPF (Maritime)

Zusammenfassung

Exports hydrographic data from maritime geodatabases to Vector Product Format (VPF).

Verwendung

  • Source geodatabases must be within the same Region## and conform to one of the following naming patterns:

    • DNC—<Scale Category Designator><Region##><Designator>
    • Browse—Browse<Region##>
    • TOD—TOD<#><Region##><Designator>

  • The Notice to Mariners Date parameter value will populate the date as metadata in all libraries exported. Use the following format for each respective product:

    • DNC and TOD0—<2-digit week of year>/<2-digit year>
    • TOD2 and TOD4—<2-digit month of year>/<4-digit year>

  • The output location is a designated directory that creates the correct VPF file structure per Region.

  • The DNC## folder will be created containing the libraries and DHT and LAT files.

Parameter

BeschriftungErläuterungDatentyp
Source Geodatabase(s)

The source geodatabases that will be exported.

Workspace
Notice to Mariners Date

The Notice to Mariners date of the source geodatabases.

String
Output Location

The location where the export package will be written.

Folder

Abgeleitete Ausgabe

BeschriftungErläuterungDatentyp
Output VPF Library

The exported VPF folder root.

Folder

arcpy.maritime.ExportGeodatabaseToVPF(in_source_gdb, ntm_date, out_location)
NameErläuterungDatentyp
in_source_gdb
[in_source_gdb,...]

The source geodatabases that will be exported.

Workspace
ntm_date

The Notice to Mariners date of the source geodatabases.

String
out_location

The location where the export package will be written.

Folder

Abgeleitete Ausgabe

NameErläuterungDatentyp
out_vpf_folder

The exported VPF folder root.

Folder

Codebeispiel

ExportGeodatabaseToVPF example (stand-alone script)

The following stand-alone script demonstrates how to use the ExportGeodatabaseToVPF function.

# Import system modules
import arcpy

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

# Set local variables
in_source_gdb = r'C:\Data\a1234567.gdb'
ntm_date = r'15/21'
out_location = r'C:\Data'

# Call the ExportGeodatabaseToVPF tool to <export hydrographic data from maritime geodatabases to Vector Product Format (VPF)>
arcpy.maritime.ExportGeodatabaseToVPF(in_source_gdb, ntm_date, out_location)

# 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