Skip To Content

Export FAA 18B Shapefiles

Summary

Exports one or more FAA Advisory Circular 150/5300-18B compliant shapefiles from a geodatabase that contains the ArcGIS for Aviation: Airports schema.

Usage

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

Syntax

ExportFAA18BShapefiles_aviation (in_workspace, target_folder, {in_features})
ParameterExplanationData Type
in_workspace

The workspace that contains the airport data.

Workspace
target_folder

The folder to which shapefiles are written.

Folder
in_features
[in_features,...]
(Optional)

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

Derived Output

NameExplanationData Type
output_folder

The updated target folder.

Folder

Code sample

ExportFAA18BShapefiles example (stand-alone script)

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

Environments

Licensing information

  • Basic: No
  • Standard: Requires Aviation Airports
  • Advanced: Requires Aviation Airports

Related topics