Disponible con licencia de Aviation Airports.
Resumen
Exports one or more FAA Advisory Circular 150/5300-18B compliant shapefiles from a geodatabase that contains the ArcGIS Aviation Airports schema.
Uso
The output workspace must contain the 18B data model.
Export shapefiles will contain the schema defined in Appendix D of AC 150/5300-18B.
Duplicate features are reported as warnings. More detailed information on which features are duplicates can be found in the Results window.
Sintaxis
arcpy.aviation.ExportFAA18BShapefiles(in_workspace, target_folder, {in_features})
Parámetro | Explicación | Tipo de datos |
in_workspace | The workspace that contains the airport data. | Workspace |
target_folder | The folder to which shapefiles are written. | Folder |
in_features [in_features,...] (Opcional) | A list of feature classes to export to shapefiles. If this parameter is not set, all feature classes in the input workspace are exported to shapefiles. | String |
Salida derivada
Nombre | Explicación | Tipo de datos |
output_folder | The updated target folder. | Folder |
Muestra de código
The following Python window script demonstrates how to use the ExportFAA18BShapefiles tool.
# Name: ExportFAA18BShapefiles.py
# Description: Exports 3 Airports feature classes to shapefiles.
# Author: Esri
# Date: August 2018
import arcpy
arcpy.CheckOutExtension("Airports")
# local variables for workspace and output parameters
airports_gdb = "C:/data/airports.gdb"
outLocation = "C:/data"
# option to create a list of the input features to export
inFeatures = ["Obstacle", "ObstructionArea", "LandmarkSegment"]
# export to FAA 18B shapefile format
arcpy.ExportFAA18BShapefiles_aviation(airports_gdb, outLocation, inFeatures)
arcpy.CheckInExtension("Airports")
Entornos
Información de licenciamiento
- Basic: No
- Standard: Requiere Airports
- Advanced: Requiere Airports