# Name: ImportFAA18BShapefile.py
# Description: Imports shapefiles into a geodatabase
# that contains the ArcGIS Aviation Airports schema
# Author: Esri
# Date: August 2018
# Import arcpy module
import arcpy
# Check out Aviation license
arcpy.CheckOutExtension("Airports")
# Define inputs
airports_gdb = r'c:\data\airports.gdb'
shapefile1 = r'c:\data\AircraftGateStand.shp'
shapefile2 = r'c:\data\AircraftNonMovementArea.shp'
shapefile3 = r'c:\data\AirOperationsArea.shp'
# Import the shapefiles
arcpy.ImportFAA18BShapefile_aviation([shapefile1, shapefile2, shapefile3], airports_gdb)
# Check in license
arcpy.CheckInExtension("Airports")