Hi fellow wiki editors!

To help newly registered users get more familiar with the wiki (and maybe older users too) there is now a {{Welcome to the wiki}} template. Have a look at it and feel free to add it to new users discussion pages (and perhaps your own).

I have tried to keep the template short, but meaningful. /Johan G

Changes

Jump to: navigation, search

Flightplan XML formats

643 bytes added, 23:06, 3 September 2013
Extending
FlightGear can use a few different '''flightplansflightplan xml formats''' stored in property-list xml files. Due to having different needs the flightplans used in the route manager and the ones used in AI scenarios and have different formats.
== AI flightplans ==
:''See also [[AI Scenarios#Flightplans and Their Waypoints]].''
These flightplans contain only waypoints. By tying an AI flightplan to an AI model in a scenario xml file, an AI scenario will be created.
=== Waypoint tags ===
Each waypoint can contain the following tags:
* <tt>'''<name>'''</tt> - Waypoint name, if it is the last waypoint use <tt>'''EOF '''</tt> or, if you want the AI model deleted, use <tt>'''END'''</tt>.
* <tt>'''<lat>'''</tt> - Latitude, decimal degrees
* <tt>'''<lon>'''</tt> - Longitude, decimal degrees
* <tt>'''<crossat>'''</tt> - Crossing altitude, feet
* <tt>'''<ktas>'''</tt> - Knots true air speed
* <tt>'''<on-ground>'''</tt> - True Set to <tt>'''true'''</tt> or <tt>1 </tt> if on ground, if in air or in a tunnel set to <tt>'''false '''</tt> or <tt>'''0'''</tt>* <tt>'''<gear-down>'''</tt> - True <tt>'''true'''</tt> for gear down, <tt>'''false '''</tt> for gear up, or any number between 0 to and 1* <tt>'''<flaps-down>'''</tt> - True <tt>'''true'''</tt> for flaps down, <tt>'''false '''</tt> for flaps up, or any number between 0 to and 1
=== Example ===
:''See also [[Route manager#Defining a Route]].''
Rout Route manager waypoints are a bit more complex, for starters they contain departure and destination information and not just one type of waypoint.
Note that the first and last waypoint are the departure and destination airports.
There are in FlightGear is also support for Level-D 767 SIDs SID:s and STARsSTAR:s in FlightGear.
=== Departure and destination tags ===
=== Waypoint types and tags ===
* <tt>'''<type type="string">'''</tt> - Either of:** <tt>'''runway'''</tt> - The runway end on number of the departure and or destination airportsairport's runway. Accompanied in the waypoint by the <icao> tag.** <tt>'''navaid'''</tt> - Any significant point along the route. Both airports, navaids and fixes.** <tt>'''offset-navaid'''</tt> - An point offset from a navaid by a bearing and distance. Note that true bearings are used here. * <tt>'''<type type="string">'''</tt> - * <tt>'''<alt-restrict type="string">'''</tt> - ? #FIXME* <tt>'''<altitude-ft type="double">'''</tt> - Altitude in feet* <tt>'''<ident type="string">'''</tt> - Identity of an airport, navaid or fixe* <tt>'''<icao type="string">'''</tt> - ICAO code of an airport* <tt>'''<lon type="double">'''</tt> - Longitude of the waypoint in decimal degrees* <tt>'''<lat type="double">'''</tt> - Latitude of the waypoint in decimal degrees* <tt>'''<radial-deg type="double">'''</tt> - True bearing from a navaid, fix or airport ''Do note that radials on charts are magnetic!''* <tt>'''<distance-nm type="double">'''</tt> - Distance from a navaid, fix or airport
=== Example ===
</route>
</PropertyList>
 
</syntaxhighlight>

Navigation menu