Disponible con licencia de Production Mapping.
Resumen
Imports VPF data in VMap, TOD or DNC formats into a geodatabase. Sources that can be imported include Digital Nautical Chart (DNC), Vector Map (VMap 0, VMap 1, and VMap 2), Urban Vector Map (UVMap), Foundation Feature Data (FFD), Vector Interim Terrain Data (VITD), and Tactical Ocean Data (TOD0, TOD2, and TOD4).
Uso
VPF data can be imported into a blank or existing geodatabase with VPF data.
Data can be imported from a VPF workspace folder or library folder. A workspace folder is the directory containing the library attribute table (LAT) or the location in the Catalog tree where you can see the VPF coverages. The library folder is a child directory inside a VPF workspace containing a coverage attribute table (CAT).
If the schema doesn't exist, this tool creates a dataset based on each library that is imported and stores the individual feature classes in it.
Multiple VPF products can exist in the same geodatabase. For instance, both DNC and VMAP1 data can be stored in a single geodatabase.
Notes can be imported for DNC and FFD data.
If the annotation feature classes don't exist in the geodatabase, the tool will search the library and extract the symbol information and attempt to create the symbol collection so the symbology remains intact.
Sintaxis
VpfToGeodatabase(in_vpf_features, in_target_geodatabase, in_product, {import_notes})
Parámetro | Explicación | Tipo de datos |
in_vpf_features [in_vpf_features,...] | The VPF data to be imported into the geodatabase from specific layers or a folder that contains one or more libraries. Point, line, and polygon features can be imported. If a folder contains multiple libraries, all of them will be imported into the same geodatabase. | Feature Layer; Folder; VPF Coverage |
in_target_geodatabase | The geodatabase to which the VPF data will be imported. This can be a new or existing geodatabase. | Workspace |
in_product | The type of VPF product that will be imported into the geodatabase.
| String |
import_notes (Opcional) | Indicates whether notes are imported. Notes can only be imported with DNC and FFD data.
| Boolean |
Muestra de código
VPFToGeodatabase example (stand-alone script)
The following stand-alone sample script demonstrates VPFToGeodatabase.
# Name: VPFToGeodatabaseExample.py
# Description: Import VMap1 data into a new file geodatabase.
# Author: Esri
# Date: February 2014
# Import arcpy module
import arcpy
# Check out Production Mapping license
arcpy.CheckOutExtension("Foundation")
# Set environment
arcpy.env.workspace="c:/data/"
# Define variables
inVPF="C:/data/VPF/v1097/noamer/lib_097:bnd/barrierl;C:/data/VPF/v1097/noamer/lib_097:bnd/coastl;C:/data/VPF/v1097/noamer/lib_097:bnd/polbnda"
inTarget="VMap_data.gdb"
# Execute VPFToGeodatabase
arcpy.VpfToGeodatabase_production(inVPF, inTarget, "VMAP1", "NO_IMPORT_NOTES")
# Check in Production Mapping license
arcpy.CheckInExtension("Foundation")
Entornos
Información sobre licencias
- ArcGIS Desktop Basic: No
- ArcGIS Desktop Standard: Requiere Production Mapping
- ArcGIS Desktop Advanced: Requiere Production Mapping