View source: R/parse_airspace.R
| parse_airspace_crco | R Documentation |
parse_airspace_crco reads the airspace CRCO format and returns a tibble
where each row describes an airspace.
The airspace file can be found on EUROCONTROL website.
Each airspace in CRCO format is described by:
Airspace description (one row):
nb_point the number of points
latitude the latitude (of the label)
longitude the longitude (of the label)
flights
bottom_level low level of the volume (flight level)
top_level high level of the volume (flight level)
surface
sector_num
flight time
traffic density
x mileage
rte extens.
value 1
value 2
name airspace name/code
latitude longitude: coordinates (nb_point rows in minutes decimal)
parse_airspace_crco(lines)
lines |
text lines of the PRISME airspace representation |
a tibble of airspaces (CRS = 4326)
## Not run:
bo <- system.file("extdata", "sbm_bz_20200527.txt", package = "pruatlas")
crco <- readr::read_lines(bo) %>%
parse_airspace_crco()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.