parse_airspace_prisme | R Documentation |
experimental
parse_airspace_prisme
reads the airspace PRISME format and returns a tibble
where each row describes an airspace.
Each airspace in PRISME format is described by:
Airspace description (one row):
an airspace Unit code
a Elementary Sector code
minimum flight level
maximum flight level
the number of vertices of the polygon of the Elementary Sector
the coordinates of vertices
vertex coordinates (as many rows as the number of vertices)
parse_airspace_prisme(lines)
lines |
text lines of the PRISME airspace representation |
a tibble of airspaces (CRS = 4326)
Other read/export:
export_allft_so6()
,
export_apds()
,
export_event_so6()
,
export_event_trajectory()
,
export_flight_info()
,
export_flights_at_airport_fr24()
,
export_flights_fr24()
,
export_hourly_adsb()
,
export_model_trajectory()
,
export_movements()
,
export_positions_at_airport_fr24()
,
export_positions_fr24()
,
generate_so6()
,
read_cpr()
,
read_flights_fr24()
,
read_positions_fr24()
,
read_so6()
## Not run:
es <- system.file("extdata", "airspace_prisme_462.prisme", package = "trrrj")
sectors <- readr::read_lines(es) %>%
parse_airspace_prisme()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.