Skip to content

A package to determine used airports, runways, taxiways and stands based on available flight coordinates.

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md
Notifications You must be signed in to change notification settings

euctrl-pru/HexAeroR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HexAeroR logo

HexAero for R [under construction]

HexAeroR is a EUROCONTROL R package designed for aviation professionals and data analysts. It allows for the determination of used airports, runways, taxiways, and stands based on available (ADS-B) flight trajectory coordinates. This tool aims to enhance aviation data analysis, facilitating the extraction of milestones for performance analysis.

Features

  • Airport Detection: Identifies airports involved in a flight's trajectory.
  • Runway Utilization: Determines which runways are used during takeoff and landing.

Installation

You can install the development version of HexAeroR from GitHub with:

# install.packages("devtools")
devtools::install_github("euctrl-pru/HexAeroR")

Example

This is a basic example which shows you how to solve a common problem:

library(HexAeroR)
## basic example code

This will prompt you to download the geospatial metadata from Zenodo necessary to run the package. It will only cache once. The parquet datasets are available here: https://zenodo.org/records/10651018.

# Load trajectory data
df <- load_dataset(name = "trajectories.parquet", datatype = "test_data")

# Create unique ID for each trajectory
df$id <- paste(df$icao24, df$callsign, as.Date(df$time), sep = "-")

# Identify runways

list(scored_rwy_detections_df, rwy_detections_df) <- identify_runways(df)

Usage

Visualizing Methodology

# Load approach hex dataset for an airport (e.g., EGLL)
egll <- load_dataset(name = "EGLL.parquet", datatype = "runway_hex")

# Visualize approach cones using leaflet for interactive maps
library(leaflet)

map_viz <- leaflet(egll) %>%
  addTiles() %>%
  addPolygons(color = ~border_color, fillOpacity = .7, fillColor = ~color_map_name) %>%
  setView(lng = mean(df$lon), lat = mean(df$lat), zoom = 13) %>%
  addPopups(~lon, ~lat, ~tooltip_columns)

# Print the map
print(map_viz)

Runway detection

Download the HTML here: egll_departure.html

Development Roadmap

  • [pending implementation] Taxiway Analysis: Analyzes taxi routes for efficiency and optimization.
  • [pending implementation] Stand Identification: Identifies aircraft stands, enhancing ground operation analysis.

Contributing

We welcome contributions to HexAeroR! Feel free to submit pull requests, report issues, or request features.

License

HexAeroPy is licensed under the MIT License - see the LICENSE file for details.

Credits and Acknowledgments

Special thanks to EUROCONTROL and the Performance Review Commission (PRC).

Contact Information

For support or queries, please contact us at pru-support@eurocontrol.int.

About

A package to determine used airports, runways, taxiways and stands based on available flight coordinates.

Topics

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Releases

No releases published