Skip to contents

Prepare Airspaces for Repeated Intersections

Usage

init_airspaces(
  are_file,
  sls_file,
  spc_file,
  airspace_type = "AUAG",
  airspace_ids = NULL,
  progress = FALSE
)

Arguments

are_file, sls_file, spc_file

Paths to matching ARE, SLS and SPC files.

airspace_type

One of AREA, NAS, AUA, AUAG, REG, CRAS, CLUS, CS, CRSA, or ES. Defaults to AUAG.

airspace_ids

Character vector of IDs to select, or NULL for all IDs of the selected type. No geographical ID filter is applied implicitly.

progress

If TRUE, print start and completion messages. Default FALSE.

Value

An external-pointer object with airspace_ids, airspace_type, and block_count attributes. Recreate it in each R session; do not save it to RDS or send it to another R process.