Flightplan XML formats

From FlightGear wiki
Revision as of 22:54, 30 May 2013 by Johan G (talk | contribs) (Created page with "FlightGear can use '''flightplans''' stored in property-list xml files. == Property-list format == <syntaxhighlight lang="xml"> <?xml version="1.0"?> <PropertyList> <flight...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

FlightGear can use flightplans stored in property-list xml files.

Property-list format

<?xml version="1.0"?>
<PropertyList>
  <flightplan>
    ...
  </flightplan>
</PropertyList>

AI Flightplans

Each waypoint can contain the following tags:

  • <name> - Waypoint name, if END AI model is deleted
  • <lat> - Latitude, decimal degrees
  • <lon> - Longitude, decimal degrees
  • <alt> - Altitude above mean sea level, feet
  • <crossat> - Crossing altitude, feet
  • <ktas> - Knots true air speed
  • <on-ground> - True if on ground, if in air or in a tunnel set to false
  • <gear-down> - True for gear down, false for gear up
  • <flaps-down> - True for flaps down, false for flaps up
    <wpt>
      <name>1</name>
      <lat>53.6762</lat>
      <lon>-1.39984</lon>
      <alt>51.9773</alt>
      <ktas>10</ktas>
      <on-ground>true</on-ground>
    </wpt>
    <wpt>
      <name>2</name>
      <lat>53.6761</lat>
      <lon>-1.40056</lon>
       <alt>52.199</alt>
       <ktas>20</ktas>
       <on-ground>false</on-ground>
     </wpt>
    <wpt>
      <name>END</name>
    </wpt>

Using the flightplans in FlightGear

Through the route manager

For AI models

1rightarrow.png See AI Systems#AI Models for the main article about this subject.

Related pages