获得 Aviation Airports 许可后可用。
描述
Exports one or more FAA Advisory Circular 150/5300-18B compliant shapefiles from a geodatabase that contains the ArcGIS Aviation Airports schema.
使用方法
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.
语法
arcpy.aviation.ExportFAA18BShapefiles(in_workspace, target_folder, {in_features})
参数 | 说明 | 数据类型 |
in_workspace | The workspace that contains the airport data. | Workspace |
target_folder | The folder to which shapefiles are written. | Folder |
in_features [in_features,...] (可选) | 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 |
派生输出
名称 | 说明 | 数据类型 |
output_folder | The updated target folder. | Folder |
代码示例
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")
环境
许可信息
- Basic: 否
- Standard: 需要 Airports
- Advanced: 需要 Airports