From: Scott <sco...@po...> - 2011-05-09 14:11:10
|
James Turner and I had a bit of a e.mail conversation about this some time ago. My (non-existant) C++ skills aren't up to writing anything, but James thought everything was in the underlying code, and shouldn't be too difficult to expose to Nasal. I've had three disk failure since that time, so I've lost the e.mail thread, but we did define quite a few wishlist functions. BTW I didn't know you could get the "closest" airport, that is still quite handy for some scenarios, but getting all airports within a radius of a specified geo-coord is even more useful. Scott. On Monday 09 May 2011 23:45:04 Curtis Olson wrote: > Hi, > > I see that for Nasal scripts we can call airportinfo() to get the name and > runway info for the closest airport. We can also call airportinfo(ID) to > get the details of a specific airport. However, what I don't see is a way > to request a list of the "n" closest airports (or the airports within a > specified radius of my current location.) Is this (or something similar) > possible to do within nasal? > > I'm playing around with an auto-land script and sometimes when you are > flying in an area with several airports near by, the airport that is > technically the closest to you, might not be the one you are interested in. > > Thanks, > > Curt. |