Summary
Converts a VPF table to an INFO table, or converts either an untiled VPF coverage or VPF tile to an ArcGIS coverage.
Usage
Full VPF pathnames must be specified in the Input VPF Coverage or Table parameter.
Pathnames are specified as vpfDatabase\vpfLibrary\vpfCoverage or vpfDatabase\vpfLibrary\vpfCoverage\vpfTile when using the Coverage option.
Pathnames are specified as vpfDatabase\vpfLibrary\vpfTable when using the Table option.
If the VPF coverage was created using the Export To VPF tool with the option to convert all tables selected, then the Output Coverage will be identical to the Input VPF Coverage.
VPF coverages with multiple linear feature classes will be translated into coverages with route subclasses. Multiple area feature classes will be converted to region subclasses. Text, connected node, and point feature classes will be translated into INFO tables that can be related to the appropriate coverage Feature Attribute Tables. Complex feature classes will also be converted to INFO tables.
Syntax
arcpy.arc.VPFImport(input_vpf, output, {tile_name}, {control_file}, {standard_vpf})
Parameter | Explanation | Data Type |
input_vpf | The name of the VPF table, untiled coverage, or tile to be converted. The full pathname must be specified. | VPF Coverage; VPF Table |
output | The output table or coverage to be created. | Data Element |
tile_name (Optional) | The input VPF tile, if one exists. | String |
control_file (Optional) | A file that can be used to ignore specific VPF feature classes or three-dimensional coordinates during translation. The name of this file is defined by the user. | File |
standard_vpf (Optional) | Specifies whether nonstandard VPF tables will be converted.
| Boolean |
Code sample
VPFImport example (stand-alone script)
The following stand-alone script demonstrates how to import a coverage from VPF format.
# Name: VPFImport_Example.py
# Description: Import coverages from a VPF tile
# Requirements: ArcInfo Workstation
# Import system modules
import arcpy
from arcpy import env
# Set environment settings
env.workspace = "C:/data"
# Set local variables
inputVpf = "vpfLibrary/lib_000:hydro"
output = "C:/output/coast1"
tileName = "E/J/B/D"
standardVpf = "NO_EXTRA"
# Execute VPFImport
arcpy.VPFImport_arc(inputVpf, output, tileName, "", standardVpf)
Environments
Licensing information
- Basic: No
- Standard: No
- Advanced: Requires ArcInfo Workstation installed