Import FAA 18B Shapefiles (Aviation)

获得 Aviation Airports 许可后可用。

摘要

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

使用情况

  • The output workspace must contain the 18B data model.

  • If you do not have an aviation geodatabase with the FAA 18B schema applied, you can use the Create Airports Geodatabase tool in the ArcGIS Aviation Airports product data files located at <installation location>\ArcGIS Aviation Airports\Product Files\<version>\Utilities\ArcToolBox.

    注:

    The GettingStarted_Airports_ProductFiles.pdf in the product files provides information on how to populate and run the tool.

  • Imported shapefiles must contain the schema defined in Appendix D of AC 150/5300-18B and be z-enabled.

  • Duplicate features are reported as warnings. More detailed information on which features are duplicates can be found in the Results window.

  • The import process does not stop if errors, such as a missing field, are encountered. The tool stops the import process for the shapefile with an error and continues to import the rest of the shapefiles.

参数

标注说明数据类型
Input Shapefiles

The FAA 18B shapefiles that will be imported into a geodatabase.

Shapefile
Target Geodatabase

The geodatabase into which the shapefiles will be imported.

Workspace

派生输出

标注说明数据类型
Output Geodatabase

The updated feature class containing the FAA 18B shapefiles.

Workspace

arcpy.aviation.ImportFAA18BShapefiles(in_features, airports_workspace)
名称说明数据类型
in_features
[in_features,...]

The FAA 18B shapefiles that will be imported into a geodatabase.

Shapefile
airports_workspace

The geodatabase into which the shapefiles will be imported.

Workspace

派生输出

名称说明数据类型
out_workspace

The updated feature class containing the FAA 18B shapefiles.

Workspace

代码示例

ImportFAA18BShapefiles example (stand-alone script)

The following Python script demonstrates how to use the ImportFAA18BShapefiles function.

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

许可信息

  • Basic: 否
  • Standard: 需要 Airports
  • Advanced: 需要 Airports

相关主题