Description Usage Arguments Details Value See Also Examples
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.
1 2 | getOSNtrackByAircraft(icao24 = NULL, time = 0, login = NULL,
password = NULL)
|
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 |
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:
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.
The last point is set right before the aircraft’s expected arrival, or the aircraft left the networks reception range.
There is a waypoint at least every 15 minutes when the aircraft is in-flight.
A waypoint is added if the aircraft changes its track more than 2.5°.
A waypoint is added if the aircraft changes altitude by more than 100m (~330ft).
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.
The response is a JSON array of flights where each flight is an object with properties
https://opensky-network.org/apidoc/rest.html#track-by-aircraft
1 2 3 4 5 6 7 | ## Not run:
getOSNtrackByAircraft(icao24 = "3c666b",
time = "0",
login = "login",
password = "my pasword")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.