AircraftList.json

Want to post something that doesn't quite fit into the other forums? This is the place for that.
Post Reply
milano
Posts: 2
Joined: Wed Nov 14, 2018 8:19 am

AircraftList.json

Post by milano » Wed Nov 14, 2018 8:56 am

Hello from Austria,
i've alreday study the AircrafList.json document... but there is one question,
how to get "selAc" to AircraftList.json.
What I mean is,
when click the aircraft on the map I wanna get only the selected aircraft via AircraftList.json as long as this aircraft is selcted.

agw
Posts: 2198
Joined: Fri Feb 17, 2012 3:20 am

Re: AircraftList.json

Post by agw » Sat Dec 29, 2018 2:24 pm

Sorry for the delay in replying. You can add filter parameters to the request to filter the aircraft list to a single aircraft. However, you will need to specify the aircraft ICAO or registration explicitly in the filter, there isn't one that will just use whatever's in the selAC parameter.

That said, you will have needed to explicitly declare an aircraft ID for the request's selAC so it's not difficult to work from that to the aircraft's ICAO. The aircraft ID is just the Base-10 version of the ICAO.

Post Reply