1
0
Fork 0

Initial commit for a new ATIS system

This commit is contained in:
Torsten Dreyer 2014-02-28 10:49:33 +01:00
parent 87a960a048
commit 5fb4b6ae38
8 changed files with 391 additions and 0 deletions

33
ATC/atis.xml Normal file
View file

@ -0,0 +1,33 @@
<?xml version="1.0" ?>
<!--
This file is part of FlightGear, the free flight simulator
http://www.flightgear.org/
Copyright (C) 2014 Curtis L. Olson - http://www.flightgear.org/~curt
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
published by the Free Software Foundation; either version 2 of the
License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
-->
<PropertyList>
<!-- special for Hamburg -->
<atis-schema include="atis/eddh.xml"/>
<!-- German style -->
<atis-schema include="atis/ed.xml"/>
<!-- UK style -->
<atis-schema include="atis/eg.xml"/>
<!-- US and Canada style -->
<atis-schema include="atis/us_ca.xml"/>
<!-- rest of the world -->
<atis-schema include="atis/other.xml"/>
</PropertyList>

20
ATC/atis/ed.xml Normal file
View file

@ -0,0 +1,20 @@
<?xml version="1.0" ?>
<!--
This file is part of FlightGear, the free flight simulator
http://www.flightgear.org/
Copyright (C) 2014 Curtis L. Olson - http://www.flightgear.org/~curt
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
published by the Free Software Foundation; either version 2 of the
License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
-->
<PropertyList>
<station-starts-with>ed</station-starts-with>
</PropertyList>

108
ATC/atis/eddh.xml Normal file
View file

@ -0,0 +1,108 @@
<?xml version="1.0" ?>
<!--
This file is part of FlightGear, the free flight simulator
http://www.flightgear.org/
Copyright (C) 2014 Curtis L. Olson - http://www.flightgear.org/~curt
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
published by the Free Software Foundation; either version 2 of the
License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
-->
<PropertyList>
<station-starts-with>eddh</station-starts-with>
<atis>
<text>Hamburg information </text>
<token>id</token>
<text>. MET report time </text>
<token>time</token>
<text>. Expect </text>
<token>approach-type</token>
<text> approach.</text>
<if>
<equals>
<token>rwy-land</token>
<token>rwy-to</token>
</equals>
<then>
<text> take off and landing ruway </text>
<token>rwy-land</token>
</then>
<else>
<text> landing ruway </text>
<token>rwy-land</token>
<text> and take off ruway </text>
<token>rwy-to</token>
</else>
</if>
<text>. Transition level </text>
<token>transition-level</token>
<text>. Wind </text>
<token>wind-dir</token>
<text> degrees </text>
<token>wind-speed-kn</token>
<text> knots </text>
<if>
<not-empty>
<token>gusts</token>
</not-empty>
<then>
<text> gusts up to </text>
<token>gusts</token>
<text> knots </text>
</then>
</if>
<text>. </text>
<if>
<not-empty>
<token>cavok</token>
</not-empty>
<then>
<text>CAVOK</text>
</then>
<else>
<text>Visibility </text>
<token>visibility-metric</token>
<text>. </text>
<if>
<not-empty>
<token>phenomena</token>
</not-empty>
<then>
<token>phenomena</token>
<text>. </text>
</then>
</if>
<if>
<not-empty>
<token>clouds</token>
</not-empty>
<then>
<text>Clouds </text>
<token>clouds</token>
</then>
<else>
<text>No significant clouds</text>
</else>
</if>
</else>
</if>
<text>. Temperature </text>
<token>temperature-deg</token>
<text> dewpoint </text>
<token>dewpoint-deg</token>
<text>. QNH </text>
<token>qnh</token>
<text> hektopascal. Trend </text>
<token>trend</token>
<text> information </text>
<token>id</token>
<text> out.</text>
</atis>
</PropertyList>

20
ATC/atis/eg.xml Normal file
View file

@ -0,0 +1,20 @@
<?xml version="1.0" ?>
<!--
This file is part of FlightGear, the free flight simulator
http://www.flightgear.org/
Copyright (C) 2014 Curtis L. Olson - http://www.flightgear.org/~curt
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
published by the Free Software Foundation; either version 2 of the
License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
-->
<PropertyList>
<station-starts-with>eg</station-starts-with>
</PropertyList>

110
ATC/atis/other.xml Normal file
View file

@ -0,0 +1,110 @@
<?xml version="1.0" ?>
<!--
This file is part of FlightGear, the free flight simulator
http://www.flightgear.org/
Copyright (C) 2014 Curtis L. Olson - http://www.flightgear.org/~curt
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
published by the Free Software Foundation; either version 2 of the
License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
-->
<PropertyList>
<!--station-starts-with></station-starts-with-->
<atis>
<text>This is </text>
<token>airport-name</token>
<text> airport information </text>
<token>id</token>
<text>. Time </text>
<token>time</token>
<text> Zulu. Expect </text>
<token>approach-type</token>
<text> approach.</text>
<if>
<equals>
<token>rwy-land</token>
<token>rwy-to</token>
</equals>
<then>
<text> landing and departing ruway </text>
<token>rwy-land</token>
</then>
<else>
<text> landing ruway </text>
<token>rwy-land</token>
<text> and departing ruway </text>
<token>rwy-to</token>
</else>
</if>
<text>. Weather </text>
<text>. Wind: </text>
<token>wind-dir</token>
<text> degrees at </text>
<token>wind-speed-kn</token>
<text> knots </text>
<if>
<not-empty>
<token>gusts</token>
</not-empty>
<then>
<text> gusts up to </text>
<token>gusts</token>
<text> knots </text>
</then>
</if>
<text>. </text>
<if>
<not-empty>
<token>cavok</token>
</not-empty>
<then>
<text>CAVOK</text>
</then>
<else>
<text>Visibility </text>
<token>visibility-metric</token>
<text>. </text>
<if>
<not-empty>
<token>phenomena</token>
</not-empty>
<then>
<token>phenomena</token>
<text>. </text>
</then>
</if>
<if>
<not-empty>
<token>clouds</token>
</not-empty>
<then>
<text>Clouds </text>
<token>clouds</token>
</then>
<else>
<text>No significant clouds</text>
</else>
</if>
</else>
</if>
<text>. Temperature </text>
<token>temperature-deg</token>
<text> dewpoint </text>
<token>dewpoint-deg</token>
<text>. QNH </text>
<token>qnh</token>
<text> hektopascal or </text>
<token>inhg</token>
<text> inches. </text>
<token>trend</token>
<text>. Advise on initial contact you have information </text>
<token>id</token>
</atis>
</PropertyList>

21
ATC/atis/us_ca.xml Normal file
View file

@ -0,0 +1,21 @@
<?xml version="1.0" ?>
<!--
This file is part of FlightGear, the free flight simulator
http://www.flightgear.org/
Copyright (C) 2014 Curtis L. Olson - http://www.flightgear.org/~curt
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
published by the Free Software Foundation; either version 2 of the
License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
-->
<PropertyList>
<station-starts-with>k</station-starts-with>
<station-starts-with>cy</station-starts-with>
</PropertyList>

69
Translations/en/atc.xml Normal file
View file

@ -0,0 +1,69 @@
<?xml version="1.0"?>
<!-- FlightGear atc messages: English (=default) language resource -->
<PropertyList>
<!-- tag names must not start with a digit :-( -->
<!-- spoken numbers -->
<n0>zero</n0>
<n1>one</n1>
<n2>two</n2>
<n3>three</n3>
<n4>four</n4>
<n5>five</n5>
<n6>six</n6>
<n7>seven</n7>
<n8>eight</n8>
<n9>niner</n9>
<n100>hundret</n100>
<n1000>thousand</n1000>
<!-- spoken letters -->
<a>alpha</a>
<b>bravo</b>
<c>charlie</c>
<d>delta</d>
<e>echo</e>
<f>foxtrot</f>
<g>golf</g>
<h>hotel</h>
<i>india</i>
<j>juliet</j>
<k>kilo</k>
<l>lima</l>
<m>mike</m>
<n>november</n>
<o>oscar</o>
<p>papa</p>
<q>quebec</q>
<r>romeo</r>
<s>sierra</s>
<t>tango</t>
<u>uniform</u>
<v>victor</v>
<w>whiskey</w>
<x>xray</x>
<y>yankee</y>
<z>zulu</z>
<cavok>cavok</cavok>
<meters>meters</meters>
<kilometers>kilometers</kilometers>
<miles>miles</miles>
<ormore>or more</ormore>
<feet>feet</feet>
<dp>decimal</dp> <!-- the decimal point, sometimes 'point' -->
<approach>approach</approach>
<ils>i l s </ils>
<localizer>localizer</localizer>
<glidepath>glidepath</glidepath>
<vor>v o r</vor>
<dme>d m e</dme>
<ndb>n d b</ndb>
<visual>visual</visual>
</PropertyList>

View file

@ -16,6 +16,7 @@
<options>Translations/en/options.xml</options> <options>Translations/en/options.xml</options>
<menu>Translations/en/menu.xml</menu> <menu>Translations/en/menu.xml</menu>
<sys>Translations/en/sys.xml</sys> <sys>Translations/en/sys.xml</sys>
<atc>Translations/en/atc.xml</atc>
</strings> </strings>
</locale> </locale>
@ -29,6 +30,7 @@
<options>Translations/es/options.xml</options> <options>Translations/es/options.xml</options>
<menu>Translations/es/menu.xml</menu> <menu>Translations/es/menu.xml</menu>
<sys>Translations/es/sys.xml</sys> <sys>Translations/es/sys.xml</sys>
<atc>Translations/en/atc.xml</atc>
</strings> </strings>
</locale> </locale>
@ -42,6 +44,7 @@
<options>Translations/de/options.xml</options> <options>Translations/de/options.xml</options>
<menu>Translations/de/menu.xml</menu> <menu>Translations/de/menu.xml</menu>
<sys>Translations/de/sys.xml</sys> <sys>Translations/de/sys.xml</sys>
<atc>Translations/en/atc.xml</atc>
</strings> </strings>
</locale> </locale>
@ -56,6 +59,7 @@
<options>Translations/fr/options.xml</options> <options>Translations/fr/options.xml</options>
<menu>Translations/fr/menu.xml</menu> <menu>Translations/fr/menu.xml</menu>
<sys>Translations/fr/sys.xml</sys> <sys>Translations/fr/sys.xml</sys>
<atc>Translations/en/atc.xml</atc>
</strings> </strings>
</locale> </locale>
@ -69,6 +73,7 @@
<options>Translations/it/options.xml</options> <options>Translations/it/options.xml</options>
<menu>Translations/it/menu.xml</menu> <menu>Translations/it/menu.xml</menu>
<sys>Translations/it/sys.xml</sys> <sys>Translations/it/sys.xml</sys>
<atc>Translations/en/atc.xml</atc>
</strings> </strings>
</locale> </locale>
@ -81,6 +86,7 @@
<options>Translations/nl/options.xml</options> <options>Translations/nl/options.xml</options>
<menu>Translations/nl/menu.xml</menu> <menu>Translations/nl/menu.xml</menu>
<sys>Translations/nl/sys.xml</sys> <sys>Translations/nl/sys.xml</sys>
<atc>Translations/en/atc.xml</atc>
</strings> </strings>
</locale> </locale>
@ -92,6 +98,7 @@
<options>Translations/pl/options.xml</options> <options>Translations/pl/options.xml</options>
<menu>Translations/pl/menu.xml</menu> <menu>Translations/pl/menu.xml</menu>
<sys>Translations/pl/sys.xml</sys> <sys>Translations/pl/sys.xml</sys>
<atc>Translations/en/atc.xml</atc>
</strings> </strings>
</locale> </locale>
@ -112,6 +119,7 @@
<options>Translations/cs/options.xml</options> <options>Translations/cs/options.xml</options>
<menu>Translations/cs/menu.xml</menu> <menu>Translations/cs/menu.xml</menu>
<sys>Translations/cs/sys.xml</sys> <sys>Translations/cs/sys.xml</sys>
<atc>Translations/en/atc.xml</atc>
</strings> </strings>
</locale> </locale>
@ -122,6 +130,7 @@
<options>Translations/da/options.xml</options> <options>Translations/da/options.xml</options>
<menu>Translations/da/menu.xml</menu> <menu>Translations/da/menu.xml</menu>
<sys>Translations/da/sys.xml</sys> <sys>Translations/da/sys.xml</sys>
<atc>Translations/en/atc.xml</atc>
</strings> </strings>
</locale> </locale>
@ -161,6 +170,7 @@
<options>Translations/pt/options.xml</options> <options>Translations/pt/options.xml</options>
<menu>Translations/pt/menu.xml</menu> <menu>Translations/pt/menu.xml</menu>
<sys>Translations/pt/sys.xml</sys> <sys>Translations/pt/sys.xml</sys>
<atc>Translations/en/atc.xml</atc>
</strings> </strings>
</locale> </locale>
<!-- <!--