getOSNtrackByAircraft: getOSNtrackByAircraft

Description Usage Arguments Details Value See Also Examples

Description

Documentation from OpenSky Network API Retrieve the trajectory for a certain aircraft at a given time. The trajectory is a list of waypoints containing position, barometric altitude, true track and an on-ground flag.

Usage

1
2
getOSNtrackByAircraft(icao24 = NULL, time = 0, login = NULL,
  password = NULL)

Arguments

icao24

Unique ICAO 24-bit address of the transponder in hex string representation. All letters need to be lower case

time

as "YYYY-MM-DD HH:MM:SS", It can be any time betwee start and end of a known flight. If time = 0, get the live track if there is any flight ongoing for the given aircraft.

login

osn valid login

password

osn valid password

Details

In contrast to state vectors, trajectories do not contain all information we have about the flight, but rather show the aircraft’s general movement pattern. For this reason, waypoints are selected among available state vectors given the following set of rules:

  1. The first point is set immediately after the the aircraft’s expected departure, or after the network received the first poisition when the aircraft entered its reception range.

  2. The last point is set right before the aircraft’s expected arrival, or the aircraft left the networks reception range.

  3. There is a waypoint at least every 15 minutes when the aircraft is in-flight.

  4. A waypoint is added if the aircraft changes its track more than 2.5°.

  5. A waypoint is added if the aircraft changes altitude by more than 100m (~330ft).

  6. A waypoint is added if the on-ground state changes.

Tracks are strongly related to flights. Internally, we compute flights and tracks within the same processing step. As such, it may be benificial to retrieve a list of flights with the API methods from above, and use these results with the given time stamps to retrieve detailed track information.

Value

The response is a JSON array of flights where each flight is an object with properties

See Also

https://opensky-network.org/apidoc/rest.html#track-by-aircraft

Examples

1
2
3
4
5
6
7
## Not run: 
getOSNtrackByAircraft(icao24 = "3c666b",
                       time = "0",
                       login = "login",
                       password = "my pasword")

## End(Not run)

longwei66/flightR documentation built on May 18, 2019, 2:35 a.m.