On Wed, 2009-12-09 at 13:54 +0000, James Turner wrote:

> >  Off-topic is there anyway in Nasal to find the ILS frequencies and 
> > optionally the name, for a particular airport and runway?
> 
> Yes, the airportinfo function returns you a Nasal hash with all this and more.


    I can't seem to find it in airportinfo(), this is what debug.dump
shows;

{ id: 'YMML', elevation: 131.9783999999999, lat: -37.66986124, name:
'Melbourne Intl', has_metar: 1, lon: 144.8428319066667, runways: { 
16: { id: 16, stopway: 60.04559999999999, heading: 171.6, lat:
-37.669491, width: 45.1104, lon: 144.8379529999999, length: 3661.5624,
threshold: 0 }, 
H2: { id: 'H2', stopway: 0, heading: 260.5799999999999, lat:
-37.68421599999999, width: 34.13759999999999, lon: 144.856781, length:
34.13759999999999, threshold: 0 }, 
H3: { id: 'H3', stopway: 0, heading: 206.9599999999999, lat:
-37.66493599999999, width: 34.13759999999999, lon: 144.850311, length:
34.13759999999999, threshold: 0 }, 
09: { id: 09, stopway: 60.04559999999999, heading: 94.20999999999999,
lat: -37.66151399999999, width: 45.1104, lon: 144.83517, length:
2278.989600000001, threshold: 0 }, 
34: { id: 34, stopway: 60.04559999999999, heading: 351.6, lat:
-37.669491, width: 45.1104, lon: 144.8379529999999, length: 3661.5624,
threshold: 0 }, 
27: { id: 27, stopway: 60.04559999999999, heading: 274.2099999999999,
lat: -37.66151399999999, width: 45.1104, lon: 144.83517, length:
2278.989600000001, threshold: 0 }, 
H1: { id: 'H1', stopway: 0, heading: 260.5799999999999, lat: -37.675007,
width: 34.13759999999999, lon: 144.8443909999999, length:
34.13759999999999, threshold: 0 } 
} }

    I'll try out GPS nearest scratch area next...

    S.

------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to