获得 Aviation Airports 许可后可用。
描述
Analyzes specified point features around an airfield to find and record information such as distance from a given runway centerline or the end of the nearest runway, and the designation for that nearest runway.
使用方法
The Input Features do not need to have any specific field schema. Only the geometry field and object ID field are required.
In the absence of shape z-values in the input airport features, when Shape Z is specified, a height of 0 will be assumed.
If Input Features contains a description field, the description field and values will be included in the output. The name of the description field can be one of the following:
- DESC
- DESCRIP
- DESCRIPTION
A five-nautical mile search radius will be used to filter searches made by the tool when it locates the nearest features to the Input Runway Features.
If Input Runway Features contains a runway designation field, runway designation values will be included in the output. The name of the runway designation field can be one of the following:
- RWYDESG
- DESIGNATOR_TXT
- RUNWAYDESIGNATORIDENTIFIER
If the input runway end-point or airport reference point features are not provided, the resulting output fields will be empty.
If Runway End Features contains a runway end designation field, runway end designation values will be included in the output. The name of the optional runway end designation field must be RUNWAYENDD.
语法
arcpy.aviation.AnalyzeAirportFeatures(in_features, in_runway_features, out_table, {in_features_height}, {in_features_height_unit}, {runway_end_features}, {airport_ref_point_features}, {ref_point_height}, {ref_point_height_unit})
参数 | 说明 | 数据类型 |
in_features | The input point features that will be analyzed and recorded, in terms of their physical relationships to features in the other inputs. | Feature Layer |
in_runway_features | The input runway polyline features, specifically their centerlines, that will be used in the analysis. | Feature Layer |
out_table | The output table, with a row for each input airport feature, containing the analytical results. | Table View |
in_features_height (可选) | The name of a field in the input airport features dataset. The specified field must contain numeric values. The values in this field will be used to identify the height of each input airport feature.
| String |
in_features_height_unit (可选) | Specifies the linear unit of measure that will be used when the Input Features Height parameter is specified.
| String |
runway_end_features (可选) | The input runway end point features associated with the runways in the Input Features Height Unit parameter that represent the thresholds of those runways. | Feature Layer |
airport_ref_point_features (可选) | The input airport reference point features that define the center point of an airport, located at the geometric center of all the usable runways and computed as a weighted average of the end of runway coordinates. | Feature Layer |
ref_point_height (可选) | The name of a field in the input airport reference point features dataset. The specified field must contain numeric values. The values in this field will be used to identify the height of each input airport reference point feature.
| String |
ref_point_height_unit (可选) | The linear unit of measure that will be used when the airport reference point height is specified.
| String |
代码示例
The following Python window script demonstrates how to use the AnalyzeAirportFeatures tool.
import arcpy
arcpy.CheckOutExtension("Airports")
# Input Airport Feature Class
inAirportFeatures = r"C:\data\airport.gdb\AirportFeatures"
# Input RunwayCenterline Feature Class
inRunwayFeatures = r"C:\data\airport.gdb\Airfield\RunwayCenterline"
# Input Runway End Point Feature Class
inRunwayEndFeatures= r"C:\data\airport.gdb\Airfield\RunwayEnd"
# Input Airport Reference Point Features
inARPFeatures = r"C:\data\airport.gdb\Geodetic\AirportControlPoint"
# Output Table
outTable = r"C:\data\airport.gdb\AirportFeatureTable"
# Processing AnalyzeAirportFeatures
arcpy.AnalyzeAirportFeatures_aviation(inAirportFeatures, inRunwayFeatures, outTable, "Shape_Z", runway_end_features=inRunwayEndFeatures, airport_ref_point_features=inARPFeatures)
arcpy.CheckInExtension("Airports")
环境
许可信息
- Basic: 否
- Standard: 需要 Airports
- Advanced: 需要 Airports