13,252
edits
m (Heading levels; templ: note) |
(+ First section first section describing the purpose of this; + Links to related content; + How to add them. *Caveat* I have not tested this myself !) |
||
Line 1: | Line 1: | ||
Tags with '''catalog metadata''' can be added to aircraft to help searching and filtering them, for example in future versions of the [[Aircraft Center|aircraft center]], so that a user can quicker find the aircraft of interest. | |||
== Supported Tags == | == Supported Tags == | ||
Line 9: | Line 9: | ||
=== Aircraft types === | === Aircraft types === | ||
* ga | * ga | ||
* helicopter | * helicopter | ||
Line 27: | Line 26: | ||
=== Manufacturers === | === Manufacturers === | ||
Intention here is to provide logical groupings, not to track corporate history - so the MD-80 and MD-11 would get the 'douglas' tag, which will likely translate to 'Douglas / McDonell-Douglas' in the UI. The 717 could get the boeing and douglas tags. Also not supposed to be an exhaustive list, this is so we can search on 'all glass-cockpit Boeing and Airbus aircraft'. It might be worth actively lying in the tags, i.e group all Hawker-Siddley / BAC / Avro aircraft under the Vickers tag. | Intention here is to provide logical groupings, not to track corporate history - so the MD-80 and MD-11 would get the 'douglas' tag, which will likely translate to 'Douglas / McDonell-Douglas' in the UI. The 717 could get the boeing and douglas tags. Also not supposed to be an exhaustive list, this is so we can search on 'all glass-cockpit Boeing and Airbus aircraft'. It might be worth actively lying in the tags, i.e group all Hawker-Siddley / BAC / Avro aircraft under the Vickers tag. | ||
Line 48: | Line 46: | ||
=== Eras === | === Eras === | ||
Logical groupings, not historical accuracy - some aircraft are going to have a lot of these, e.g. the B-52. Again the goal is intelligent searches: 'show me all WW2 fighters'. Would like to avoid this getting political too, comments on that are welcome | Logical groupings, not historical accuracy - some aircraft are going to have a lot of these, e.g. the B-52. Again the goal is intelligent searches: 'show me all WW2 fighters'. Would like to avoid this getting political too, comments on that are welcome | ||
Line 69: | Line 66: | ||
=== Aircraft Features === | === Aircraft Features === | ||
This could get long, as always trying to focus on tags people might search on - 'show me all the VTOL aircraft' or 'show me all the biplanes'. Some will be very useful in improving the user-experience, if the plane is tagged with seaplane we might be able to force a water start (not for amphibious obviously). | This could get long, as always trying to focus on tags people might search on - 'show me all the VTOL aircraft' or 'show me all the biplanes'. Some will be very useful in improving the user-experience, if the plane is tagged with seaplane we might be able to force a water start (not for amphibious obviously). | ||
Line 119: | Line 115: | ||
== Examples == | == Examples == | ||
* B-52 would have: bomber, jet. boeing, coldwar, 1960s, vietnam, 1970s, 1980s, gulfwar1, nato, refuel, retractable-gear, ifr | * B-52 would have: bomber, jet. boeing, coldwar, 1960s, vietnam, 1970s, 1980s, gulfwar1, nato, refuel, retractable-gear, ifr | ||
* Citation would have: cessna | * Citation would have: cessna, bizjet, jet, 2-engine, glass-cockpit, ifr, retractable-gear | ||
* Cub would have: piper, piston, 1-engine, ga, trainer, fixed-gear, 1930s, ww2, tail-dragger | * Cub would have: piper, piston, 1-engine, ga, trainer, fixed-gear, 1930s, ww2, tail-dragger | ||
== Adding tags to an aircraft == | |||
The tags are added to or included into the sim section of the -set.xml file(s) like for example below: | |||
<syntaxhighlight lang="xml"> | |||
<?xml version="1.0" encoding="UTF-8" ?> | |||
<PropertyList> | |||
<sim> | |||
<tags> | |||
<tag>passenger</tag> | |||
<tag>boeing</tag> | |||
<tag>jet</tag> | |||
<tag>twin-engine</tag> | |||
<tag>retractable-gear</tag> | |||
<tag>etops</tag> | |||
<tag>glass-cockpit</tag> | |||
<tag>ifr</tag> | |||
</tags> | |||
</sim> | |||
</PropertyList> | |||
</syntaxhighlight> | |||
== Related content == | |||
* [[Simplifying Aircraft Deployment]] | |||
* {{cite web |url=http://sourceforge.net/p/flightgear/mailman/flightgear-devel/thread/D4E91618-5AE0-4073-98B3-43711E70871A%40mac.com/#msg32375981 |title=<nowiki>[</nowiki>Flightgear-devel<nowiki>]</nowiki> 24 days from freeze: what happened to...}} | |||
[[Category:Core development projects]] | [[Category:Core development projects]] |