parse_airspace_crco: Parse CRCO Airspace Charging Zone format

View source: R/parse_airspace.R

parse_airspace_crcoR Documentation

Parse CRCO Airspace Charging Zone format

Description

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:

  1. 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

  2. latitude longitude: coordinates (nb_point rows in minutes decimal)

Usage

parse_airspace_crco(lines)

Arguments

lines

text lines of the PRISME airspace representation

Value

a tibble of airspaces (CRS = 4326)

Examples

## Not run: 
bo <- system.file("extdata", "sbm_bz_20200527.txt", package = "pruatlas")
crco <- readr::read_lines(bo) %>%
  parse_airspace_crco()

## End(Not run)

euctrl-pru/pruatlas documentation built on April 17, 2024, 1:33 p.m.