2,732
edits
m (→airportinfo()) |
Red Leader (talk | contribs) (→airportinfo(): Apparently I missed a lot of returned info.) |
||
Line 900: | Line 900: | ||
|source = {{flightgear file|src/Scripting/NasalPositioned.cxx|l=1024|t=Source}} | |source = {{flightgear file|src/Scripting/NasalPositioned.cxx|l=1024|t=Source}} | ||
|text = Function for retrieval of airport, heliport, or seaplane base information. It returns a Nasal ghost; however, its structure is like that of a Nasal hash. The following information is returned: | |text = Function for retrieval of airport, heliport, or seaplane base information. It returns a Nasal ghost; however, its structure is like that of a Nasal hash. The following information is returned: | ||
* '''parents''': . | |||
* '''lon''': Longitude of the location. | * '''lon''': Longitude of the location. | ||
* '''lat''': Latitude of the location. | * '''lat''': Latitude of the location. | ||
Line 909: | Line 910: | ||
** '''<runway name>''' | ** '''<runway name>''' | ||
*** '''id''': Name of runway. | *** '''id''': Name of runway. | ||
*** '''lat''': Latitude of the runway. | *** '''lat''': Latitude of the runway. | ||
*** '''lon''': Longitude of the runway. | *** '''lon''': Longitude of the runway. | ||
*** '''heading''': Heading of the runway. | *** '''heading''': Heading of the runway. | ||
*** '''length''': Length of the runway in metres. | *** '''length''': Length of the runway in metres. | ||
*** '''width''': Width of the runway in metres. | |||
*** '''surface''': Runway surface type. | |||
*** '''threshold''': Length of the runway's {{wikipedia|displaced threshold}} in metres. Will return 0 if there is none. | |||
*** '''stopway''': Length of the runway's stopway (the area before the threshold) in metres. Will return 0 if there is none. | |||
*** '''reciprocal''': <code>runway</code> ghost of the reciprocal runway. | |||
*** '''ils_frequency_mhz''': ILS frequency in megahertz. | |||
*** '''ils''': <code>navaid</code> ghost of the ILS transmitter. | |||
* '''helipads''' | |||
** '''<helipad name>''' | |||
*** '''id''': Name of helipad. | |||
*** '''lat''': Latitude of the helipad. | |||
*** '''lon''': Longitude of the helipad. | |||
*** '''heading''': Heading of the helipad. | |||
*** '''length''': Length of the helipad in metres. | |||
*** '''width''': Width of the helipad in metres. | |||
*** '''surface''': Helipad surface type. | |||
* '''taxiways''' | |||
** '''<taxiway name>''' | |||
*** '''id''': Name of taxiway. | |||
*** '''lat''': Latitude of the taxiway. | |||
*** '''lon''': Longitude of the taxiway. | |||
*** '''heading''': Heading of the taxiway. | |||
*** '''length''': Length of the taxiway in metres. | |||
*** '''width''': Width of the taxiway in metres. | |||
*** '''surface''': Taxiway surface type. | |||
Information is extracted in the same way as accessing members of a Nasal hash. For example: | Information is extracted in the same way as accessing members of a Nasal hash. For example: |