ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • 帮助
  • Sign Out
ArcGIS Desktop

ArcGIS Online

专为贵组织打造的制图平台

ArcGIS Desktop

全面的专业性 GIS

ArcGIS Enterprise

面向企业的 GIS

ArcGIS Developers

用于构建位置感知应用程序的工具

ArcGIS Solutions

适用于行业的免费模板地图和应用程序

ArcGIS Marketplace

获取适用于组织的应用程序和数据

  • 文档
  • 支持
Esri
  • 登录
user
  • 我的个人资料
  • 登出

ArcMap

  • 主页
  • 入门
  • 地图
  • 分析
  • 管理数据
  • 工具
  • 扩展模块

Import FAA 18B Shapefile To Airports Geodatabase

  • 描述
  • 使用方法
  • 语法
  • 代码示例
  • 环境
  • 许可信息

描述

Imports one or more FAA 18B-compliant shapefiles into a geodatabase that contains the ArcGIS Aviation Airports schema. Once the shapefiles are imported, you can validate the features against the requirements in Advisory Circular 150/5300-18B.

使用方法

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

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

语法

arcpy.aviationmanagement.ImportFAA18BShapefileToAirports(in_folder, airports_workspace, {in_features})
参数说明数据类型
in_folder

The directory containing the FAA 18B shapefiles to be imported into a geodatabase. By default, all the shapefiles in the folder will be imported. To specify shapefiles to be imported, list them in the in_features parameter.

Folder
airports_workspace

The geodatabase into which the shapefiles will be imported.

Workspace
in_features
[in_features,...]
(可选)

Paths to individual shapefiles that will be imported into the geodatabase. These shapefiles must be in the directory specified in the in_folder parameter.

Shapefile

代码示例

ImportFAA18BShapefileToAirports example (stand-alone script)

The following script imports three shapefiles into a geodatabase with the Airports schema.

# Name: ImportFAA18BShapefileToAirportsGeodatabase.py
# Description: Imports all the shapefiles in a directory into a geodatabase
#              that contains the ArcGIS for Airports schema
# Author: Esri
# Date: October 2013

# Import arcpy module
import arcpy

# Check out Production Mapping license
arcpy.CheckOutExtension("Aeronautical")

# Define inputs
folder = r'c:\sampledata\10.2\aviation\shapefiles'
airports_gdb = r'c:\sampledata\10.2\aviation\dbs\airports.gdb'
shapefile1 = r'c:\sampledata\10.2\aviation\Shapefiles\AircraftGateStand.shp'
shapefile2 = r'c:\sampledata\10.2\aviation\Shapefiles\AircraftNonMovementArea.shp'
shapefile3 = r'c:\sampledata\10.2\aviation\Shapefiles\AirOperationsArea.shp'

# Import the shapefiles
arcpy.ImportFAA18BShapefileToAirports_aviationmanagement(folder,airports_gdb,
                                                         [shapefile1,shapefile2,
                                                         shapefile3])

# Check in license
arcpy.CheckInExtension("Aeronautical")

环境

  • 当前工作空间

许可信息

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

相关主题

  • An overview of the FAA toolset

ArcGIS Desktop

  • 主页
  • 文档
  • 支持

ArcGIS

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS
  • ArcGIS Developer
  • ArcGIS Solutions
  • ArcGIS Marketplace

关于 Esri

  • 关于我们
  • 招贤纳士
  • Esri 博客
  • 用户大会
  • 开发者峰会
Esri
分享您的想法。
Copyright © 2021 Esri. | 隐私政策 | 法律声明