findFixes: Find navigational fix(es) by name

Description Usage Arguments Value Examples

Description

This function finds navigational fixes (fixes or navaids) by name (id). If there are many fixes with the same name, they are all returned unless an optional reference point is supplied, in which case only the fix nearest to the reference point is returned.

Usage

1
2
findFixes(x, refPoint = NULL, type = c("airport", "VOR", "TACAN", "NDB",
  "RSBN"))

Arguments

x

Fix id to search for.

refPoint

Optional reference point. A list containing elements lat and lon, holding the latitude and longitude in degrees.

Value

A data.frame (with zero rows if no fix is found) with columns lat, lon, elev, freq, range, id, name, type.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
# Find everything coded "SAM"
findFixes("SAM")

# We got 4 VORs and an airport. Keep only the VORs:
findFixes("SAM", type="VOR")

# Which one is closest to Athens airport (LGAV)?
findFixes("SAM", refPoint=as.list(findApt("LGAV")[,c("lat","lon")]))

# Find navigational fixes
findFixes("GARTA", type="fix")
findFixes("GARTA", type="all")

thlytras/rfgfs documentation built on May 31, 2019, 10:44 a.m.