Résumé
Imports a Digital Obstacle File (DOF) containing obstacle data pursuant to Federal Aviation Administration (FAA) specification into an Aeronautical Information System (AIS) geodatabase.
Discussion
A DOF contains obstruction data for man-made objects that affect domestic aeronautical charting products. The DOF does not purport to indicate the presence of all obstructions that may be encountered. The tool adds, deletes, and updates the obstacle features found in the DOF. The tool is required to use only the DOF.dat file containing digital obstacle data within all of the FAA regions in addition to some areas of Canada, Mexico, the Caribbean, the Bahamas, and the Pacific.
This function requires an Obstacle point feature class. The tool works with the format specified in the entire DOF.dat.
Syntaxe
ImportDOF (workspace_path, dof_file_path, {log_path})
Paramètre | Explication | Type de données |
workspace_path | The path to the geodatabase where the DOF data will be imported. The geodatabase must already have a point Obstacle feature class. | String |
dof_file_path | The path to the DOF file to be imported into the Obstacle feature class. | String |
log_path | The output log file. | String |
Exemple de code
ImportDOF example
This example creates an ImportDOF file.
# Name: ImportDOF_example.py
# Description: Imports Digital Obstacle File(DOF) data into a geodatabase
# Author: Esri
# Date: May 2017
# Import arcpyproduction and aviation modules
import arcpy
import arcpyproduction
# Check out Aviation license
arcpy.CheckOutExtension("Aeronautical")
# Set variables
workspace = r'c:\data\AIS.sde'
dofFile = r'c:\data\DOF.dat'
log = r'c:\data\log.txt'
# Execute ImportDOF
arcpyproduction.aviation.ImportDOF(workspace, dofFile, log)
# Check in Aviation license
arcpy.CheckInExtension("Aeronautical")