Export Geodatabase To VPF (Maritime)

サマリー

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

使用法

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

パラメーター

ラベル説明データ タイプ
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

派生した出力

ラベル説明データ タイプ
Output VPF Library

The exported VPF folder root.

Folder

arcpy.maritime.ExportGeodatabaseToVPF(in_source_gdb, ntm_date, out_location)
名前説明データ タイプ
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

派生した出力

名前説明データ タイプ
out_vpf_folder

The exported VPF folder root.

Folder

コードのサンプル

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

環境

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

ライセンス情報

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

関連トピック